Turns ServiceStack API metadata into an MCP server so Claude can discover the APIs, read their schemas and call them.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add servicestack -- npx mcp-apis https://your-api.com~/.codex/config.toml
[mcp_servers.servicestack]
command = "npx"
args = ["mcp-apis", "https://your-api.com"]
# codex mcp add servicestack -- npx mcp-apis https://your-api.com~/.cursor/mcp.json
{
"mcpServers": {
"servicestack": {
"command": "npx",
"args": [
"mcp-apis",
"https://your-api.com"
]
}
}
}.vscode/mcp.json
{
"servers": {
"servicestack": {
"type": "stdio",
"command": "npx",
"args": [
"mcp-apis",
"https://your-api.com"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"servicestack": {
"command": "npx",
"args": [
"mcp-apis",
"https://your-api.com"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"servicestack": {
"command": "npx",
"args": [
"mcp-apis",
"https://your-api.com"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"servicestack": {
"command": "npx",
"args": [
"mcp-apis",
"https://your-api.com"
]
}
}
}