Buddy MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Buddy MCP ServerConnect to COM3 and spin motor forward at 50%"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Buddy MCP Server
English | 한국어
MCP server for compatible board over Bluetooth serial (DC motors, servos, IO, sensors).
Requires Python 3.10+, compatible board + Bluetooth dongle.
Run from a git clone using the project’s virtual environment. Clone this repo and run via run.py (uses .venv, created automatically if missing). Do not use global Python or other envs. This server is intended for local use only (config file + stdio).
Local setup (step-by-step) — Windows, macOS, Linux
Use the same steps on all platforms. Only the config file path and, on Windows, the Python command differ.
Step 1 — Clone and enter the project
git clone https://github.com/johnsnow-nam/buddy-mcp.git buddy-mcp
cd buddy-mcpOn Windows you can use Command Prompt, PowerShell, or Git Bash.
Step 2 — Print MCP config JSON
Run this in the project directory. The output is the JSON to add to your config file.
OS | Command |
macOS / Linux |
|
Windows |
|
Copy the entire JSON output (it includes the correct path to run.py for your machine). Example shape:
{
"mcpServers": {
"buddy": {
"command": "python3",
"args": ["/absolute/path/to/buddy-mcp/run.py"]
}
}
}Step 3 — Config file location
Open (or create) the config file at the path for your OS:
OS | Config file path |
macOS |
|
Windows |
|
Linux |
|
To open on macOS:
open "$HOME/Library/Application Support/Claude/claude_desktop_config.json"(quote the path because of the space).To open on Windows: run
%APPDATA%\Claude\claude_desktop_config.jsonin Explorer address bar or use Notepad/VS Code.To open on Linux: e.g.
xdg-open ~/.config/Claude/claude_desktop_config.jsonor edit with your editor.
Step 4 — Add Buddy MCP to the config file
If the file is empty or does not exist: paste the full JSON from Step 2 as the file content.
If the file already has an
mcpServerssection: merge the"buddy"block from Step 2 into that section. Keep valid JSON (no trailing commas). Example with another server:
{
"mcpServers": {
"other-server": { ... },
"buddy": {
"command": "python3",
"args": ["/path/to/buddy-mcp/run.py"]
}
}
}Save the file.
Step 5 — Restart the client
Restart Claude Desktop (or Cursor, if you use .cursor/mcp.json in the project instead). The client will start the Buddy MCP server locally via run.py.
Step 6 — Use the tools
In chat:
Run buddy_list_ports to see serial ports.
Run buddy_connect(port) with the port you want (e.g. the nRF or COM port). If you leave the port empty or use
"auto", a port whose description starts with “nRF” is chosen automatically when available.Then use buddy_send_dc, buddy_send_servo, buddy_send_io, buddy_sensor_config, buddy_disconnect as needed.
No BUDDY_PORT environment variable is required when using buddy_connect.
Related MCP server: openbci-mcp
Connection mode (local)
The server runs in stdio mode: the client (Claude Desktop, Cursor, etc.) starts run.py as a subprocess and talks over stdin/stdout. Do not redirect stdout (e.g. 2>&1)—the client expects only JSON-RPC on stdout.
MCP setup — stdio (Cursor, etc.)
Clone the repo:
git clone https://github.com/johnsnow-nam/buddy-mcp.git buddy-mcp cd buddy-mcpPrint MCP config (uses project
.venv; creates it if missing). The output contains the correct path torun.pyfor your machine:python3 run.py --print-mcp-configIf
./run.pygives "permission denied", usepython3 run.pyinstead (or runchmod +x run.pyonce).Paste the printed JSON into your MCP config (e.g. Cursor
.cursor/mcp.json, or your client’smcpServers). Use the output of step 2 as-is; do not use the example path below. Do not add2>&1or other stdout redirection—the client expects only JSON-RPC on stdout.
MCP config example (for reference only; use the JSON from step 2):
{
"mcpServers": {
"buddy": {
"command": "python3",
"args": ["/path/to/buddy-mcp/run.py"]
}
}
}MCP starts the server via run.py; run.py ensures the server runs inside the project’s .venv only (no global Python).
Tools
Tool | Purpose |
| List COM/serial ports |
| Connect to board (pick port from list) |
| Disconnect |
| Control motors, IO, sensors |
No BUDDY_PORT needed: in chat, run buddy_list_ports → buddy_connect(port).
한국어: README.ko.md
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/johnsnow-nam/buddy-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server