Skip to content

MCP client: surface server prompts (+resources read) as quick commands #213

Closed

Description

@ajianaz

Summary

Feature-research ring 2 (2026-10-06, validated: tole's MCP client registers TOOLS only — no prompts/list or resources/read client support). MCP servers can expose prompt templates and resources; Gemini CLI turns server prompts into slash-commands. When an ecosystem server (cora, uteke, third-party) ships prompts, tole can list and invoke them without new tools.

Why

Cheap ecosystem surface: every MCP server's curated workflows become available to tole users for the price of a client capability. Fits probe-first: servers without prompts contribute nothing (no phantom entries).

Design sketch

  • Client: prompts/list at registration; surfaced as /mcp:<server>:<prompt> [args] in chat (or tole prompt run), rendered server-side, injected as the next user message.
  • Resources: resources/read as a ReadOnly registry tool (mcp_read) — content enters context like a read_file; jail rules do not apply (server-side paths), but the approval gate for Write stays untouched.
  • Trust: prompts are server-controlled content = same trust tier as tool descriptions (prompt-injection row already in the threat model).

Acceptance

  • prompts/list + invoke; resources/read as ReadOnly tool; probe-first (no prompts → silent skip)
  • Threat-model note (server-controlled prompt content); docs + CHANGELOG same-PR

Activity

  1. added
    enhancement
    on Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions