nt-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., "@nt-mcp-serverRead the current value of /SmartDashboard/robotPosition"
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.
nt-mcp-server
A standalone MCP server for reading, writing, and monitoring FRC NetworkTables data. It lets an AI agent talk to a robot's network tables over the NetworkTables protocol. The primary target is the local RobotPy sim (python -m robotpy sim on 127.0.0.1:5810).
pinned dependencies (fastmcp==3.4.7, pyntcore==2026.2.2).
Run the server
uv run nt-mcp-serverOr, equivalently, from a checkout without uv's shim:
python -m nt_mcp_serverThe server runs on stdio, which is how MCP clients (like opencode) talk to it.
Related MCP server: agent-comm
Connect to RobotPy sim NetworkTables
The sim must be running before the server can read or write anything useful. Start it from its own project and venv:
cd <path-to-try-robotpy> && .venv\Scripts\activate && python -m robotpy simThe server connects to 127.0.0.1:5810 by default, which is where the sim listens.
Connect to Real Robot NetworkTables
For most cases, just record NetworkTables and use the mcp to analyze the recordings.
If you want to connect to a real robot's NetworkTables in real time, you need to have 2 network adapters on you device: one for Internet and the other for robot communication. One approach is to use your wireless adapter to connect to the wifi and use a ethernet cable to connect to the robot. Alternatively, you get a USB Network Adapter as the second adapter. In ethier cases, you may need to configure your device's network routing.
Record NetworkTables to NDJSON (offline)
The nt-recorder CLI connects to a live NT4 server and writes value events to a timestamped .ndjson file. It runs on the dev laptop and reads NT from the sim or robot; no robot-side changes are needed.
uv run nt-recorder --prefixes /SmartDashboard/ --output-dir recordingsOptions:
--prefixes— topic prefixes to subscribe to (default:/)--output-dir— directory for output files (default:./recordings)--duration— record for N seconds, then exit (default: run until Ctrl+C)--team— connect via team number instead of server IP/port--server-ip/--server-port— NT4 server address (default:127.0.0.1:5810)--identity— client identity string (default:nt-recorder)--quiet— suppress status output to stderr
Output files are named nt-record-<YYYY-MM-DDTHHMMSSZ>.ndjson (no colons, Windows-safe). Each line is {"time": float, "topic": str, "value": jsonable}. Exit codes: 0 clean, 1 connection failure, 2 disk/IO error.
Tools
The server exposes 17 tools (13 live + 4 offline). Every live tool response includes a connected flag.
Live tools
Tool | Description |
| Start the NT4 client and wait for a live connection. Returns |
| Stop the NT4 client and tear down persistent subscriptions. Returns |
| Return connection state: |
| Return the JSON-normalized value of one topic. Response: |
| Return every requested topic. Response: |
| Return topic metadata. Response: |
| Publish a value. Response: |
| Write every |
| List topic names, filtered by |
| Sample updates under prefixes for |
| Open a persistent subscription. Response: |
| Read buffered samples from a persistent subscription. Response: |
| Stop a persistent subscription. Response: |
Offline recording tools
Tool | Description |
| List recordings. Each entry includes |
| Return duration, total sample count, topic count, and file metadata for a recording. |
| Return event history for one topic. Supports |
| List unique topic names in a recording, filtered by |
| Return events for every topic under prefixes. Supports |
The offline tools read from the directory set by the NT_RECORDINGS_DIR environment variable (defaults to ./recordings). Recordings are local-only — the recorder runs on the dev laptop and reads NT from the sim/robot; no robot-side changes are needed.
Register in any agent
The server is a uvx-runnable package from git, so any MCP client can launch it without a local checkout or a pre-built venv. Run it on demand:
uvx --from git+https://github.com/Mzzj114/nt-mcp-server.git nt-mcp-serverOr install the console script once and run it anywhere:
uv tool install "git+https://github.com/Mzzj114/nt-mcp-server.git"
uvx nt-mcp-serverAdd this entry to your agent's MCP config (shown here as opencode's project-level opencode.jsonc):
{
"mcp": {
"nt": {
"type": "local",
"command": [
"uvx",
"--from",
"git+https://github.com/Mzzj114/nt-mcp-server.git",
"nt-mcp-server"
],
"enabled": true
}
}
}Verify with opencode mcp list from the project root: the nt server should show as connected.
Development
Python 3.14.0 venv in
.venv; deps installed fromrequirements.txt(fastmcp==3.4.7,pyntcore==2026.2.2).Tests:
uv run pytest tests/ -v
License
This project is under MIT License.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI agents to interact with the SpaceTraders API, managing agents, fleets, contracts, and trading operations in the SpaceTraders universe.MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that enables AI coding agents to communicate, share state, and coordinate work in real time via MCP tools or REST API.1305MIT
- AlicenseAqualityDmaintenanceMCP server that injects verified FTC documentation and code examples into AI assistants, enabling teams to write correct, competition-ready Java robot code through natural language.3162MIT
- AlicenseCqualityCmaintenanceMCP server for Inductive Automation Ignition, enabling AI assistants to browse and write tags, query history and alarms, manage projects, and deploy Perspective views through natural language.431MIT
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Person-owned, portable AI memory as a remote MCP server, readable and writable by any MCP client.
Remote MCP server for The Colony — a social network for AI agents (posts, DMs, search, marketplace).
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/Mzzj114/nt-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server