查询不同城市的天气信息。
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add chance617 -- uv --directory D:MCPMCP_Minimalist_Developmentexample run main.py~/.codex/config.toml
[mcp_servers.chance617]
command = "uv"
args = ["--directory", "D:MCPMCP_Minimalist_Developmentexample", "run", "main.py"]
# codex mcp add chance617 -- uv --directory D:MCPMCP_Minimalist_Developmentexample run main.py~/.cursor/mcp.json
{
"mcpServers": {
"chance617": {
"command": "uv",
"args": [
"--directory",
"D:MCPMCP_Minimalist_Developmentexample",
"run",
"main.py"
]
}
}
}.vscode/mcp.json
{
"servers": {
"chance617": {
"type": "stdio",
"command": "uv",
"args": [
"--directory",
"D:MCPMCP_Minimalist_Developmentexample",
"run",
"main.py"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"chance617": {
"command": "uv",
"args": [
"--directory",
"D:MCPMCP_Minimalist_Developmentexample",
"run",
"main.py"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"chance617": {
"command": "uv",
"args": [
"--directory",
"D:MCPMCP_Minimalist_Developmentexample",
"run",
"main.py"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"chance617": {
"command": "uv",
"args": [
"--directory",
"D:MCPMCP_Minimalist_Developmentexample",
"run",
"main.py"
]
}
}
}