Skip to content

Add MCP Server - #1825

Draft
miles-p wants to merge 29 commits into
mainfrom
punch/mcp_server
Draft

Add MCP Server#1825
miles-p wants to merge 29 commits into
mainfrom
punch/mcp_server

Conversation

@miles-p

@miles-p miles-p commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

For the uninitiated, MCP, Model-Context protocol, gives AI agents a toolbox you define for skills you want them to possess. This PR adds an MCP server and role to our system - giving Claude direct skills with our system.

Current skills:

  1. Print to the terminal
  2. Check the robot is online
  3. Look at the camera

Roadmap:

  1. Walking around the field
  2. Move the head
  3. Have some way to tune config files probably

This is a draft PR because it's currently pretty bad and has gaping holes.
Also no-one really wants this.

miles-p and others added 24 commits July 9, 2026 15:56
this was easily the worst code Claude ever wrote

This reverts commit cfe2ed4.
- Deleted the `server.hpp` file, which contained the high-level MCP server façade and its associated functionalities.
- Removed the `stdio_transport.cpp` and `stdio_transport.hpp` files, which provided the POSIX-flavored stdio transport for MCP, including the handling of JSON-RPC frames.
- Eliminated the abstract `transport.hpp` interface that defined the transport layer for MCP, along with its associated methods and callbacks.
- Implemented `get_localisation` tool to return the robot's pose in field space.
- Cached latest sensor and field localisation data.
- Updated MCPServer roles to include field description and localisation dependencies.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant