{"at":"2026-11-23T04:51:56.467Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T04:51:56.849Z","dir":"received","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"io.github.Wolfe-Jam/mcp-context-card","title":"MCP Context Card","version":"1.9.6"}},"cacheScope":"private","capabilities":{"prompts":{},"resources":{},"tools":{}},"instructions":"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.","resultType":"complete","supportedVersions":["2026-07-28"],"ttlMs":0}}}
{"at":"2026-11-23T04:51:56.849Z","dir":"sent","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T04:51:56.850Z","dir":"received","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"io.github.Wolfe-Jam/mcp-context-card","title":"MCP Context Card","version":"1.9.6"}},"cacheScope":"private","resultType":"complete","tools":[{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Read AGENTS.md"},"description":"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.","inputSchema":{"properties":{"section":{"description":"A heading to return just that section (case-insensitive, prefix match). Omit for the whole file.","type":"string"}},"type":"object"},"name":"read_agents_md","title":"Read AGENTS.md"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Draft an AGENTS.md"},"description":"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.","inputSchema":{"properties":{},"type":"object"},"name":"author_agents_md","title":"Draft an AGENTS.md"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"List AGENTS.md Sections"},"description":"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.","inputSchema":{"properties":{},"type":"object"},"name":"list_agents_md_sections","title":"List AGENTS.md Sections"},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Remember a Fact"},"description":"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.","inputSchema":{"properties":{"id":{"description":"A stable key you choose for this fact — pass the same id later to recall or forget it. Exact match, case-sensitive, any string; keep it short and meaningful (e.g. \"deploy-target\", \"db-url\"). Reusing an id updates that fact rather than adding a second one.","type":"string"},"text":{"description":"The fact itself, as plain prose. Stored verbatim and returned as-is by recall.","type":"string"}},"required":["id","text"],"type":"object"},"name":"remember","title":"Remember a Fact"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Recall a Fact"},"description":"Retrieve a fact stored in a previous session by id. Exact lookup — not fuzzy or substring.","inputSchema":{"properties":{"id":{"description":"The exact id a previous remember call used. Returns the stored text, or a \"no memory for <id>\" message if nothing matches.","type":"string"}},"required":["id"],"type":"object"},"name":"recall","title":"Recall a Fact"},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Forget a Fact"},"description":"Remove a fact by id — to correct or drop something stale. A missing id is reported, not an error.","inputSchema":{"properties":{"id":{"description":"The exact id of the fact to remove. Reports whether a fact was actually removed.","type":"string"}},"required":["id"],"type":"object"},"name":"forget","title":"Forget a Fact"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Who Am I"},"description":"This server's own identity — name, vendor, version, status, license — from its .fafa card.","inputSchema":{"properties":{},"type":"object"},"name":"whoami","title":"Who Am I"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"List Context Sources"},"description":"What context does this project publish (AGENTS.md, memory, identity), in what media types, and through which discovery surface. For a client connecting cold.","inputSchema":{"properties":{},"type":"object"},"name":"list_context_sources","title":"List Context Sources"},{"_meta":{"ui":{"resourceUri":"ui://mcp-context-card/card.html"},"ui/resourceUri":"ui://mcp-context-card/card.html"},"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Render Context Card"},"description":"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).","inputSchema":{"properties":{"detail":{"description":"the Markdown card: tldr (default) shows five facts, each cut short; full shows every fact whole","enum":["tldr","full"],"type":"string"},"format":{"description":"auto (default): the host draws the card if it displays MCP Apps, else the Markdown card; markdown: the Markdown card in any client","enum":["auto","markdown"],"type":"string"}},"type":"object"},"name":"render_context_card","title":"Render Context Card"},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Save Context Card"},"description":"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.","inputSchema":{"properties":{"accent":{"description":"CSS hex colour, e.g. #0066cc (default: the .fafa metadata.cards.accent, else black/white ink)","type":"string"},"detail":{"description":"the Markdown reply: tldr (default) shows five facts, each cut short; full shows every fact whole. The saved file always has everything.","enum":["tldr","full"],"type":"string"},"expanded":{"description":"render every AGENTS.md section open (default: collapsed)","type":"boolean"},"layout":{"description":"business-card view (default: landscape)","enum":["landscape","portrait"],"type":"string"},"open":{"description":"open the saved card in the person's browser when the server runs locally (default: true)","type":"boolean"},"theme":{"description":"default: auto","enum":["light","dark","auto"],"type":"string"}},"type":"object"},"name":"save_context_card","title":"Save Context Card"}],"ttlMs":0}}}
{"at":"2026-11-23T04:51:56.951Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T04:51:57.370Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"prompts":{},"resources":{},"tools":{}},"instructions":"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.","protocolVersion":"2025-11-25","serverInfo":{"name":"io.github.Wolfe-Jam/mcp-context-card","title":"MCP Context Card","version":"1.9.6"}}}}
{"at":"2026-11-23T04:51:57.370Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T04:51:57.370Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T04:51:57.374Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Read AGENTS.md"},"description":"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.","inputSchema":{"properties":{"section":{"description":"A heading to return just that section (case-insensitive, prefix match). Omit for the whole file.","type":"string"}},"type":"object"},"name":"read_agents_md","title":"Read AGENTS.md"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Draft an AGENTS.md"},"description":"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.","inputSchema":{"properties":{},"type":"object"},"name":"author_agents_md","title":"Draft an AGENTS.md"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"List AGENTS.md Sections"},"description":"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.","inputSchema":{"properties":{},"type":"object"},"name":"list_agents_md_sections","title":"List AGENTS.md Sections"},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Remember a Fact"},"description":"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.","inputSchema":{"properties":{"id":{"description":"A stable key you choose for this fact — pass the same id later to recall or forget it. Exact match, case-sensitive, any string; keep it short and meaningful (e.g. \"deploy-target\", \"db-url\"). Reusing an id updates that fact rather than adding a second one.","type":"string"},"text":{"description":"The fact itself, as plain prose. Stored verbatim and returned as-is by recall.","type":"string"}},"required":["id","text"],"type":"object"},"name":"remember","title":"Remember a Fact"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Recall a Fact"},"description":"Retrieve a fact stored in a previous session by id. Exact lookup — not fuzzy or substring.","inputSchema":{"properties":{"id":{"description":"The exact id a previous remember call used. Returns the stored text, or a \"no memory for <id>\" message if nothing matches.","type":"string"}},"required":["id"],"type":"object"},"name":"recall","title":"Recall a Fact"},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Forget a Fact"},"description":"Remove a fact by id — to correct or drop something stale. A missing id is reported, not an error.","inputSchema":{"properties":{"id":{"description":"The exact id of the fact to remove. Reports whether a fact was actually removed.","type":"string"}},"required":["id"],"type":"object"},"name":"forget","title":"Forget a Fact"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Who Am I"},"description":"This server's own identity — name, vendor, version, status, license — from its .fafa card.","inputSchema":{"properties":{},"type":"object"},"name":"whoami","title":"Who Am I"},{"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"List Context Sources"},"description":"What context does this project publish (AGENTS.md, memory, identity), in what media types, and through which discovery surface. For a client connecting cold.","inputSchema":{"properties":{},"type":"object"},"name":"list_context_sources","title":"List Context Sources"},{"_meta":{"ui":{"resourceUri":"ui://mcp-context-card/card.html"},"ui/resourceUri":"ui://mcp-context-card/card.html"},"annotations":{"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Render Context Card"},"description":"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).","inputSchema":{"properties":{"detail":{"description":"the Markdown card: tldr (default) shows five facts, each cut short; full shows every fact whole","enum":["tldr","full"],"type":"string"},"format":{"description":"auto (default): the host draws the card if it displays MCP Apps, else the Markdown card; markdown: the Markdown card in any client","enum":["auto","markdown"],"type":"string"}},"type":"object"},"name":"render_context_card","title":"Render Context Card"},{"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Save Context Card"},"description":"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.","inputSchema":{"properties":{"accent":{"description":"CSS hex colour, e.g. #0066cc (default: the .fafa metadata.cards.accent, else black/white ink)","type":"string"},"detail":{"description":"the Markdown reply: tldr (default) shows five facts, each cut short; full shows every fact whole. The saved file always has everything.","enum":["tldr","full"],"type":"string"},"expanded":{"description":"render every AGENTS.md section open (default: collapsed)","type":"boolean"},"layout":{"description":"business-card view (default: landscape)","enum":["landscape","portrait"],"type":"string"},"open":{"description":"open the saved card in the person's browser when the server runs locally (default: true)","type":"boolean"},"theme":{"description":"default: auto","enum":["light","dark","auto"],"type":"string"}},"type":"object"},"name":"save_context_card","title":"Save Context Card"}]}}}
