mcp

v73.3.0
@avallon-labs/mcp Checked 2 days ago Published 23 hours ago

Avallon API MCP server - generated from OpenAPI

Avallon MCP (Model Context Protocol) server — auto-generated from the same OpenAPI spec as @avallon-labs/sdk. \*One of AVALLON_API_KEY or AVALLON_ACCESS_TOKEN is required. Bearer token takes precedence when both are set. Add to your MCP client config (e.g., Claude Desktop claude_desktop_config.json):

Summary extracted from the README.

@avallon-labs/mcp

Avallon MCP (Model Context Protocol) server — auto-generated from the same OpenAPI spec as @avallon-labs/sdk.

Usage

Environment variables

Variable Required Default Description
AVALLON_API_KEY Yes* — API key (x-api-key header)
AVALLON_ACCESS_TOKEN Yes* — Bearer token (Authorization)
AVALLON_BASE_URL No https://api.avallon.ai Override the API base URL

*One of AVALLON_API_KEY or AVALLON_ACCESS_TOKEN is required. Bearer token takes precedence when both are set.

Via npx

AVALLON_API_KEY=your-api-key npx @avallon-labs/mcp

MCP client configuration

Add to your MCP client config (e.g., Claude Desktop claude_desktop_config.json):

{
  "mcpServers": {
    "avallon": {
      "command": "npx",
      "args": ["@avallon-labs/mcp"],
      "env": {
        "AVALLON_API_KEY": "your-api-key"
      }
    }
  }
}

Development

Regenerate from OpenAPI spec

# From the repo root:
npm run mcp:gen

# Or from packages/mcp (docs must already be generated):
npm run generate

Build

npm run build

Test

npm run test