Skip to content

MCP server - #3567

Draft
mspraggs wants to merge 4 commits into
thought-machine:masterfrom
mspraggs:mcp-server
Draft

MCP server#3567
mspraggs wants to merge 4 commits into
thought-machine:masterfrom
mspraggs:mcp-server

Conversation

@mspraggs

@mspraggs mspraggs commented Aug 5, 2026

Copy link
Copy Markdown

Implements an MCP server for various plz query commands. This is useful for large repositories where generating the build graph would benefit from caching.

Currently the MCP server only generates the build graph once at start-up. A strategy for regenerating the build graph in the wake of BUILD file changes needs some consideration - perhaps via listening to ionotify/fsnotify events.

As part of this change I've refactored the interface to some of the existing query commands so that they can accept an io.Writer object, which simplfies unit testing the new component.

@mspraggs mspraggs changed the title Mcp server MCP server Aug 5, 2026
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