通过 MCP 直接调用 ALAPI 平台提供的数百个数据接口。
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add alapi -- npx -y @smithery/cli install @ALAPI-SDK/mcp-alapi-cn --client claude~/.codex/config.toml
[mcp_servers.alapi]
command = "npx"
args = ["-y", "@smithery/cli", "install", "@ALAPI-SDK/mcp-alapi-cn", "--client", "claude"]
# codex mcp add alapi -- npx -y @smithery/cli install @ALAPI-SDK/mcp-alapi-cn --client claude~/.cursor/mcp.json
{
"mcpServers": {
"alapi": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@ALAPI-SDK/mcp-alapi-cn",
"--client",
"claude"
]
}
}
}.vscode/mcp.json
{
"servers": {
"alapi": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@ALAPI-SDK/mcp-alapi-cn",
"--client",
"claude"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"alapi": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@ALAPI-SDK/mcp-alapi-cn",
"--client",
"claude"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"alapi": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@ALAPI-SDK/mcp-alapi-cn",
"--client",
"claude"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"alapi": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@ALAPI-SDK/mcp-alapi-cn",
"--client",
"claude"
]
}
}
}