Guidelines for hosts to support Command Line (CLI) MCP Apps
@liady is already working on this.
Since Jun 17, 2026.
Assessment
This issue has not been assessed yet.
Description
Motivation
- A MCP app will work out of the box in many browser-based hosts (Claude, ChatGPT, Goose, Cursor), but in very few command-line hosts (Pi MCP Adapter) is the only general purpose one I've seen) . Many dev working primarily in the CLI, so we end up having to write custom integrations for each CLI host.
- For Datadog's [MCP apps](https://www.datadoghq.com/blog/datadog-mcp-apps/, we had to ship a separate UI host in Claude Code launched via session hook. Due to the nature of the hooks API, communication is one-way, so apis like callServerTool do not work. Codex faces similar challenges.
Proposal
We could provide guidelines for how CLIs (Claude Code, Codex, Goose, Antigravity, etc) could support MCP app so MCP apps written for the desktop/web/mobile hosts can be used by devs without requiring MCPs to be used alongside custom hook/script combos to ship custom host-specific glue code. .
Alternatives
Users adopt CLI tools that offer a plugins API which allows for bidirectional communication and/or native MCP apps integration, like OpenCode and Pi . (Note OpenCode doesn't support it natively https://github.com/anomalyco/opencode/issues/14663 , though the plugin system probably allows for it)
Additional Context
Here's a GIF of an MCP app working with Claude Code CLI using a custom glue program. Ideally we could remove the glue program, and rely on a host that ships with Claude Code itself.
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 387
- Avg merge
- 2h 54m
- Merged PRs (30d)
- 7
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from modelcontextprotocol/ext-apps
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
modelcontextprotocol/ext-apps#786 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
modelcontextprotocol/ext-apps#767 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
modelcontextprotocol/ext-apps#742 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
modelcontextprotocol/ext-apps#711 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
modelcontextprotocol/ext-apps#706 ·
All issues in modelcontextprotocol/ext-apps
Similar issues
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Mend: dependency security vulnerability untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 70/100