Create new MCP component for pogly-cli#1
Open
DingosGotMyBaby wants to merge 1 commit into
Open
Conversation
I used gemini to make this like the lazy cunt I am. Adds a lightweight, stdio-based MCP server subcommand to the pogly-cli. This enables AI assistants (like Claude Desktop or Antigravity) to view, build, and manage overlay layouts and elements directly. Key changes: - Created a custom JSON-RPC 2.0 stdio message handler in commands/mcp.rs with zero external async dependencies (tokio, rmcp, etc.). - Registered the new `mcp` subcommand in cli.rs and commands/mod.rs. - Exposed 23 MCP tools mapping to elements, elementdata, layouts, folders, and status commands (each accepting an optional 'overlay' nickname flag). - Handled automatic overlay resolution and API client forwarding. - Added Claude Desktop and source-based configuration instructions to the README.
DingosGotMyBaby
marked this pull request as ready for review
July 16, 2026 14:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I used Gemini to make this like the lazy dumbcunt I am.
Adds a lightweight, stdio-based MCP server subcommand to the pogly-cli. This enables AI assistants (like Claude Desktop or Antigravity) to view, build, and manage overlay layouts and elements directly.
Key changes:
mcpsubcommand in cli.rs and commands/mod.rs.