Skip to content

Create new MCP component for pogly-cli#1

Open
DingosGotMyBaby wants to merge 1 commit into
PoglyApp:mainfrom
DingosGotMyBaby:main
Open

Create new MCP component for pogly-cli#1
DingosGotMyBaby wants to merge 1 commit into
PoglyApp:mainfrom
DingosGotMyBaby:main

Conversation

@DingosGotMyBaby

Copy link
Copy Markdown

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:

  • 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.

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
DingosGotMyBaby marked this pull request as ready for review July 16, 2026 14:35
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