Lets agents manipulate mathematical expressions symbolically with SymPy instead of computing them by hand.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add sympy -- uv run --with einsteinpy --with 'mcp[cli]' --with pydantic --with sympy mcp run server.py~/.codex/config.toml
[mcp_servers.sympy]
command = "uv"
args = ["run", "--with", "einsteinpy", "--with", "mcp[cli]", "--with", "pydantic", "--with", "sympy", "mcp", "run", "server.py"]
# codex mcp add sympy -- uv run --with einsteinpy --with 'mcp[cli]' --with pydantic --with sympy mcp run server.py~/.cursor/mcp.json
{
"mcpServers": {
"sympy": {
"command": "uv",
"args": [
"run",
"--with",
"einsteinpy",
"--with",
"mcp[cli]",
"--with",
"pydantic",
"--with",
"sympy",
"mcp",
"run",
"server.py"
]
}
}
}.vscode/mcp.json
{
"servers": {
"sympy": {
"type": "stdio",
"command": "uv",
"args": [
"run",
"--with",
"einsteinpy",
"--with",
"mcp[cli]",
"--with",
"pydantic",
"--with",
"sympy",
"mcp",
"run",
"server.py"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"sympy": {
"command": "uv",
"args": [
"run",
"--with",
"einsteinpy",
"--with",
"mcp[cli]",
"--with",
"pydantic",
"--with",
"sympy",
"mcp",
"run",
"server.py"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"sympy": {
"command": "uv",
"args": [
"run",
"--with",
"einsteinpy",
"--with",
"mcp[cli]",
"--with",
"pydantic",
"--with",
"sympy",
"mcp",
"run",
"server.py"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"sympy": {
"command": "uv",
"args": [
"run",
"--with",
"einsteinpy",
"--with",
"mcp[cli]",
"--with",
"pydantic",
"--with",
"sympy",
"mcp",
"run",
"server.py"
]
}
}
}