Anvil — local physics/chemistry bench as an MCP server: plain words in, 12-domain simulations out. No cloud, no Bridge, no API key.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add anvil -- npx -y anvil-mcp~/.codex/config.toml
[mcp_servers.anvil]
command = "npx"
args = ["-y", "anvil-mcp"]
# codex mcp add anvil -- npx -y anvil-mcp~/.cursor/mcp.json
{
"mcpServers": {
"anvil": {
"command": "npx",
"args": [
"-y",
"anvil-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"anvil": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"anvil-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"anvil": {
"command": "npx",
"args": [
"-y",
"anvil-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"anvil": {
"command": "npx",
"args": [
"-y",
"anvil-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"anvil": {
"command": "npx",
"args": [
"-y",
"anvil-mcp"
]
}
}
}