home/productivity/mcp-prompt-agent-doc

Mcp Prompt Agent.doc

GPTClaudeDeepSeek··110 copies·updated 2026-07-14
mcp-prompt-agent-doc.prompt
# `Mcp_prompt_agent` – wrap a *ChatMD* file as an MCP **tool** and **prompt**

> Phase-1 / Phase-2 server helper – requires the *server-core* registry to be
> available.

`Mcp_prompt_agent` is a tiny bridge between a *static* `*.chatmd` document and
the runtime entities understood by an MCP server:

| Artefact | Where it is used | Value returned by [`of_chatmd_file`](#val-of_chatmd_file) |
|----------|-----------------|----------------------------------------|
| **Tool metadata** (`Mcp_types.Tool.t`) | advertised by `"tools/list"`; invoked through `"tools/call"` | *1st component* |
| **Tool handler** (`Mcp_server_core.tool_handler`) | executes on every `"tools/call"` | *2nd component* |
| **Prompt** (`Mcp_server_core.prompt`) | listed by `"prompts/list"`, fetched via `"prompts/get"` | *3rd component* |

All three objects are derived from the file name and contents of the
`*.chatmd` document – no extra annotations are required inside the file.

---

## High-level workflow

when to use it

Community prompt sourced from the open-source GitHub repo dakotamurphyucf/ochat (MIT). A "Mcp Prompt Agent.doc" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

productivitycommunitydeveloper

source

dakotamurphyucf/ochat · MIT