计算器MCP服务器

这是一个基于MCP协议的计算器服务,提供基本的计算功能,可用于Cursor等AI编辑器中的工具调用。

  • by benleedoesthings
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 Bongs237/goofymcp

使用说明

goofymcp

This my first mcp server

It's not good

But the point is

I'm now officially a cool kid for doing this 😎

To put this thing in Cursor:

Make a .cursor directory in the root of this repo

mkdir .cursor

Add a file called mcp.json in it:

{
    "mcpServers": {
        "calculator": {
            "command": "(whatever ur absolute path to this repo is e.g. /home/benjamin)/goofymcp/.venv/bin/python",
            "args": ["(whatever ur absolute path to this repo is)/goofymcp/main.py"]
        }
    }
}

Then go into Cursor settings -> "Tools and MCP". You should see this server, and you should be able to flip the switch to enable it. woohoo