Provides basic math and statistics functions so LLMs can perform accurate numerical calculations.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
本地运行
claude mcp add math -- node PATHTOPROJECTmath-mcpbuildindex.js~/.codex/config.toml
[mcp_servers.math]
command = "node"
args = ["PATHTOPROJECTmath-mcpbuildindex.js"]
# codex mcp add math -- node PATHTOPROJECTmath-mcpbuildindex.js~/.cursor/mcp.json
{
"mcpServers": {
"math": {
"command": "node",
"args": [
"PATHTOPROJECTmath-mcpbuildindex.js"
]
}
}
}.vscode/mcp.json
{
"servers": {
"math": {
"type": "stdio",
"command": "node",
"args": [
"PATHTOPROJECTmath-mcpbuildindex.js"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"math": {
"command": "node",
"args": [
"PATHTOPROJECTmath-mcpbuildindex.js"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"math": {
"command": "node",
"args": [
"PATHTOPROJECTmath-mcpbuildindex.js"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"math": {
"command": "node",
"args": [
"PATHTOPROJECTmath-mcpbuildindex.js"
]
}
}
}远程托管
claude mcp add --transport http math https://math-mcp--ethanhenrickson.run.tools~/.codex/config.toml
[mcp_servers.math]
url = "https://math-mcp--ethanhenrickson.run.tools"
# codex mcp add math --url https://math-mcp--ethanhenrickson.run.tools~/.cursor/mcp.json
{
"mcpServers": {
"math": {
"url": "https://math-mcp--ethanhenrickson.run.tools"
}
}
}.vscode/mcp.json
{
"servers": {
"math": {
"type": "http",
"url": "https://math-mcp--ethanhenrickson.run.tools"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"math": {
"httpUrl": "https://math-mcp--ethanhenrickson.run.tools"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"math": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://math-mcp--ethanhenrickson.run.tools"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"math": {
"url": "https://math-mcp--ethanhenrickson.run.tools"
}
}
}