Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Generated by https://smithery.ai. See: https://smithery.ai/docs/build/project-config
# Use Node.js 18 Alpine for smaller image size
FROM node:18-alpine

Expand Down Expand Up @@ -31,4 +32,4 @@ EXPOSE 3000
ENTRYPOINT ["node", "build/src/cli.js"]

# Default to showing help if no args provided
CMD ["--help"]
CMD ["--help"]
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ The Token Metrics Model Context Protocol (MCP) server provides comprehensive cry

## Quick Start

### Installing via Smithery

To install Token Metrics MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@token-metrics/mcp):

```bash
npx -y @smithery/cli install @token-metrics/mcp --client claude
```

### Using npx (Recommended)

The easiest way to get started is using npx:
Expand Down
19 changes: 19 additions & 0 deletions smithery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Smithery configuration file: https://smithery.ai/docs/build/project-config

startCommand:
type: stdio
commandFunction:
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
|-
(config) => ({ command: 'node', args: ['build/src/cli.js', '--api-key', config.apiKey] })
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
required:
- apiKey
properties:
apiKey:
type: string
description: Your Token Metrics API key
exampleConfig:
apiKey: YOUR_TOKEN_METRICS_API_KEY