MCP Context Card logo

MCP Context Card

Serves project instructions, persistent file-backed memory, identity metadata, discovery details, and an HTML context card over MCP.

Install MCP Context Card

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-context-card": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-context-card"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

mcp-context-card MCP server exposes a project's AGENTS.md, persistent memory, identity, and discovery metadata through ten MCP tools. It reads and writes only AGENTS.md, project.fafm, an agent.fafa or .well-known/fafa identity file, and context-card.html when asked to save a card. Use it as a standalone context server or run it beside another MCP server to add shared project context without migrating existing tools. It also renders the collected information as Markdown, an HTML business card, or an MCP Apps view.

Use cases

  • Serve project instructions to an MCP client
  • Persist exact facts across agent sessions
  • Draft an AGENTS.md from repository facts
  • Render project context as a shareable HTML card

Key features

  • Section-level AGENTS.md retrieval
  • File-backed remember, recall, and forget tools
  • Identity and context-source discovery
  • Repository-based AGENTS.md drafting
  • HTML, Markdown, and MCP Apps card rendering

Tools10

What MCP Context Card lets your agent do. Expand a tool for its parameters.

Verified live~1.2k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 64d

What it can do

From the 10 tools this server returned when we ran it; 10 declare their own safety hints.

Can delete or modify data · 3Makes network requests · 1Read-only tools · 7
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age54 days
Maintainers1

Observed 2026-10-28 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev · mcp-context-card (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars3Stargazers on the source repository.
npm downloads2.1kPackage downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Tools exposed10Callable tools this server registers over MCP.

How MCP Context Card works

What mcp-context-card does

mcp-context-card provides three kinds of project context to MCP clients: instructions, memory, and identity. The instruction layer exposes AGENTS.md either in full or by section. The memory layer stores facts across sessions in project.fafm, while the identity layer describes the server using agent.fafa or .well-known/fafa.

The server can operate as a base MCP for a project or alongside another server such as a filesystem, Git, database, or application-specific MCP. It does not provide those other systems' tools. Its own file access is limited to AGENTS.md, project.fafm, the supported identity file, and the generated context-card.html.

How it works

Use read_agents_md to retrieve the complete instruction file or a named section, and list_agents_md_sections to inspect available headings before choosing what to load. author_agents_md creates a draft without writing it: it derives project facts such as build and test commands, entry points, and toolchain conventions through agents-md-facts. If project.faf exists, the draft also includes its structured goal, audience, and rationale.

remember writes a fact to project.fafm with an unverified status. Reusing an identifier updates that fact in place; a new identifier appends another entry. recall performs an exact identifier lookup, and forget removes a matching fact while reporting a missing identifier rather than treating it as an error.

whoami reads the server's identity card. list_context_sources reports the available context types, media types, and discovery surfaces. Discovery is exposed through the MCP Server Card _meta block and ai-catalog.json sibling entries.

Setup and configuration

Run the card command from the project directory with npx:

Terminal
npx mcp-context-card card

This writes context-card.html and opens it in a browser when running locally. The command supports --portrait for a tall layout, --expanded for a flat printable view, and --accent with a hexadecimal color. Redirecting its output writes the raw HTML to standard output instead:

Terminal
npx mcp-context-card card --portrait
npx mcp-context-card card --expanded
npx mcp-context-card card > x.html

The card can also be requested over the HTTP transport at /card. Query parameters include layout=portrait, expand=all, theme=light, and accent. Card color can be declared in the project's .fafa under metadata.cards.accent or supplied through the command line or HTTP query.

Tools and capabilities

  • Read AGENTS.md in full or by heading.
  • List AGENTS.md headings before retrieving selected sections.
  • Draft AGENTS.md from repository facts, with optional project.faf context.
  • Store, retrieve, and remove exact-ID persistent facts.
  • Report server identity and available context sources.
  • Render a context card as MCP Apps content, Markdown, or HTML.
  • Save context-card.html and return a Markdown representation and file link.

render_context_card accepts markdown output and can display the card through MCP Apps when the host supports that extension. save_context_card writes the full page to the project and returns a smaller Markdown summary by default; detail=full includes every stored fact.

Limitations and notes

The server does not write the AGENTS.md draft produced by author_agents_md. Memory facts are marked unverified when written, and recall uses exact matching rather than fuzzy or substring search. The saved card, HTTP card, and command-line card are self-contained HTML pages and load no network resources. Hosts without MCP Apps can still use the Markdown response or save the page for browser viewing.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Context Card

mcp-context-card is an MCP server that connects an MCP client to a project's AGENTS.md, file-backed memory, identity files, and context-card outputs. Its main tools read and draft AGENTS.md content, remember, recall, and forget facts, report identity and context sources, and render or save a project context card.

Run it with npx from the project directory, for example `npx mcp-context-card card`. The card command writes context-card.html and opens it locally; the MCP server can then be configured in an MCP-compatible client.

It stores facts in a project.fafm file rather than keeping them only in session memory. remember appends new identifiers or replaces an existing identifier's text, while recall performs an exact lookup and forget removes a fact by identifier.

Call author_agents_md to receive a draft without writing a file. It derives build and test commands, entry points, and toolchain conventions from repository facts, and adds structured project goal, audience, and rationale when project.faf exists.

Yes. render_context_card produces the card for MCP Apps or returns Markdown, while save_context_card writes context-card.html and returns Markdown plus a link. The card includes identity, AGENTS.md sections, memory, and discovery information.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Context Card AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-context-card?style=directory)](https://allmcps.com/mcp/mcp-context-card)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-context-card"><img src="https://allmcps.com/api/badge/mcp-context-card?style=directory" alt="MCP Context Card on AllMCPs" /></a>