Add the following to ~/Library/Application\ Support/Claude/claude_desktop_config.json
:
{
"mcpServers": {
"totoy-mcp": {
"command": "npx",
"args": ["-y", "@totoy/totoy-mcp"],
"env": {
"API_KEY": "..."
}
}
}
}
Set the environment variable OPEN_MCP_BASE_URL
to override each tool's base URL. This is useful if your OpenAPI spec defines a relative server URL.
API_KEY
Needs access to port 3000 for running a proxy server, will fail if http://localhost:3000 is already busy.
npx -y @modelcontextprotocol/inspector npx -y @totoy/totoy-mcp
- Open http://localhost:5173
- Transport type:
STDIO
- Command:
npx
- Arguments:
-y @totoy/totoy-mcp
- Click
Environment Variables
to add - Click
Connect
It should say MCP Server running on stdio in red.
- Click
List Tools