mcp-context-card
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes a project's context (AGENTS.md), memory (project.fafm) and identity (.well-known/fafa). Read them with read_agents_md, recall and whoami; list_context_sources says what is published and where. To show the user the context card, call render_context_card. In a client that displays MCP Apps the card appears in the chat, so add nothing or one line. Anywhere else it returns the card as Markdown: show it as returned. When the user names where they want it, follow that: as Markdown or as text, pass format: "markdown"; in the browser or as a file, call save_context_card, which writes context-card.html into the project, opens it when this server runs locally, and returns a link. Never paste the card's HTML into the chat.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| read_agents_mdA | Return this project's AGENTS.md — the whole file, or one section by heading. The instructions a client would otherwise have to know to look for and read wholesale. |
| author_agents_mdA | Author an AGENTS.md for this project and return the draft — BETTER from repo facts alone (via agents-md-facts: real build/test commands, entry points, toolchain conventions, nothing invented), or BEST when a project.faf exists (facts plus its structured goal/who/why as a second managed block ahead of them). Does not write a file. |
| list_agents_md_sectionsA | List the headings in this project's AGENTS.md, with their levels, so a client can pull one section instead of spending context on the whole file. Level 1 is the file's title; the context card counts level 2 and below as its sections, so this list can be one longer than the card's count. |
| rememberA | Persist a fact past the session boundary — written to a .fafm file, not held in memory. Reusing an existing id replaces that fact's text in place (no duplicate); a new id appends. Facts are written verification_status: unverified. |
| recallA | Retrieve a fact stored in a previous session by id. Exact lookup — not fuzzy or substring. |
| forgetA | Remove a fact by id — to correct or drop something stale. A missing id is reported, not an error. |
| whoamiA | This server's own identity — name, vendor, version, status, license — from its .fafa card. |
| list_context_sourcesA | What context does this project publish (AGENTS.md, memory, identity), in what media types, and through which discovery surface. For a client connecting cold. |
| render_context_cardA | Show the project's context card. In a client that displays MCP Apps, the host draws it in the chat (a mini card in a chat panel). Anywhere else the reply is the card as Markdown: identity, AGENTS.md sections, memory, discovery. format: "markdown" returns the Markdown card in any client, for a user who asks for the card as text. For the original card in a browser, use save_context_card (also GET /card over HTTP). |
| save_context_cardA | Write the context card to context-card.html in the project and, when this server runs locally, open it in the person's browser. Returns the card as Markdown (identity, AGENTS.md sections, memory, discovery) plus a clickable link to the saved file. Use this when the user wants the full card in a browser. Replaces any earlier context-card.html. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| show | Show this project's context card in the chat. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Server Card | This server's identity + the _meta context block. |
| Context Card | The context card as an MCP App: identity, AGENTS.md, memory and discovery, rendered inline by hosts that support MCP Apps. |
TDQS
Scored across 10 tools
Most tools target clearly distinct resources/actions: AGENTS.md reading (read/list sections), memory ops (remember/recall/forget), and card publishing (render/save). The main overlap is render_context_card vs save_context_card, which both return the card as Markdown and differ only by side effect; the descriptions disambiguate this explicitly, but it still invites misselection when a user just asks for 'the card'. list_context_sources versus render_context_card is a secondary soft overlap.
The dominant pattern is verb_noun (read_agents_md, list_context_sources, render_context_card, author_agents_md), followed across the majority of tools. The deviations are the memory trio (remember/recall/forget) and whoami, which are bare verbs — internally consistent as a group and readable, so only a minor deviation from the pattern.
Ten tools is well-scoped for a context-card server, with each tool mapping to a distinct surface: AGENTS.md access, memory persistence, card rendering, and self-identity. Nothing appears redundant or padded.
Memory has remember/recall/forget but no enumeration tool, so an agent cannot discover ids to recall or forget — recall is exact-match only, creating a real dead end. AGENTS.md coverage also stops at authoring a draft with no write/save path, though that may be intentional given the server's read-oriented scope.