查询12306火车余票,带会话池管理、UA 轮换和自动维护,降低查询被封禁的概率。
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add 12306-server-maozida880 -- npx 12306-mcp-server~/.codex/config.toml
[mcp_servers.12306-server-maozida880]
command = "npx"
args = ["12306-mcp-server"]
# codex mcp add 12306-server-maozida880 -- npx 12306-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"12306-server-maozida880": {
"command": "npx",
"args": [
"12306-mcp-server"
]
}
}
}.vscode/mcp.json
{
"servers": {
"12306-server-maozida880": {
"type": "stdio",
"command": "npx",
"args": [
"12306-mcp-server"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"12306-server-maozida880": {
"command": "npx",
"args": [
"12306-mcp-server"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"12306-server-maozida880": {
"command": "npx",
"args": [
"12306-mcp-server"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"12306-server-maozida880": {
"command": "npx",
"args": [
"12306-mcp-server"
]
}
}
}