Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"12306train_mcp_serve": {
"command": "uvx",
"args": [
"12306train-mcp-server"
]
}
}
}
Or install with pip: pip install 12306train-mcp-server