Mcp Prompt Agent.doc
# `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 workflowwhen 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
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar