Skip to content
MCP server

MCP Context Card

Give a project context, memory and identity over MCP, and render it as a card

Runs locally

MCP Context Card is an open-source MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI
Runs
Locally
Version
1.10.1
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add mcp-context-card -- npx -y mcp-context-card

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "mcp-context-card": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-context-card"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-context-card": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-context-card"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-context-card": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-context-card"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "mcp-context-card": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-context-card"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add mcp-context-card -- npx -y mcp-context-card

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.mcp-context-card]
command = "npx"
args = ["-y", "mcp-context-card"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-context-card": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-context-card"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "mcp-context-card": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-context-card"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user mcp-context-card npx -- -y mcp-context-card

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "mcp-context-card": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-context-card"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "mcp-context-card": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-context-card"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "mcp-context-card": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-context-card"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "mcp-context-card": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-context-card"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "mcp-context-card": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-context-card"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "mcp-context-card": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-context-card"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "mcp-context-card": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-context-card"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • MCP_CONTEXT_CARD_ROOTPins the project: a directory with AGENTS.md, project.fafm and .well-known/fafa. Unset: the host's MCP roots, then the start directory if it has an AGENTS.md.

About MCP Context Card

The server reads and writes only three files in a project: AGENTS.md, project.fafm and agent.fafa (or .well-known/fafa). It does not touch other files, run a shell or search. That narrow scope is the point: it adds a baseline any MCP host can rely on, either as a standalone base or running alongside another server such as filesystem or git.

Context means the project's AGENTS.md, served whole or section by section. Memory is a file of facts that survive restarts, handled with remember, recall and forget. Identity comes from the .fafa file and is returned by whoami. author_agents_md drafts an AGENTS.md from the repo's real facts, with extra detail when a project.faf exists.

The card is a single self-contained HTML page showing the project's name, title and one-liner on the front, and About, Context, Memory and Discovery on the back. Run npx mcp-context-card card, or say show context card in your client. It is MIT-licensed on npm.

Tools this server provides (7)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 7 names don't say.

From the server's own tool labels and tool names; not verified by us.

author_agents_md
Drafts an AGENTS.md from the repo's real facts.
remember
Stores a fact that persists across sessions.
recall
Reads stored facts.
forget
Removes a stored fact.
whoami
Returns the server's identity.
render_context_card
Shows the context card in the chat, as Markdown elsewhere.
save_context_card
Writes context-card.html to the project.

What it does

Context serving
Serves AGENTS.md whole or one section at a time.
Persistent memory
remember, recall and forget keep facts across sessions in a file.
Identity
whoami reports what the server is from its .fafa file.
AGENTS.md authoring
author_agents_md drafts one from repo facts.
Context card
Renders project context, memory and identity as a flip card.
Narrow file access
Reads and writes only its own three files plus the saved card.

Good for

  • Add an AGENTS.md to a repository that has none
  • Keep project facts across agent sessions
  • Show a project's identity and context as a shareable card
  • Add context and memory to an existing MCP setup

Pricing

Open source

MIT licence

MCP Context Card FAQ

Which files does MCP Context Card touch?

AGENTS.md, project.fafm, agent.fafa or .well-known/fafa, plus context-card.html when you ask to save the card.

How do I see the card?

Run npx mcp-context-card card in the project folder, or ask your client to show context card.

Does MCP Context Card replace my other MCP servers?

No. It can run alongside them.

What licence is MCP Context Card under?

MIT, per the README.

Is MCP Context Card free?

Yes. MCP Context Card is open source, so you can use and self-host it for free.

How do I add MCP Context Card to Claude Code?

Run this command in your terminal: claude mcp add mcp-context-card -- npx -y mcp-context-card

What are the best alternatives to MCP Context Card?

The closest alternatives to MCP Context Card are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers