# MCP Context Card

> MCP Context Card is an open-source MCP server for knowledge and memory. Give a project context, memory and identity over MCP, and render it as a card. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI
- **Repository:** https://github.com/wolfe-jam/mcp-context-card
- **MCP Registry name:** io.github.Wolfe-Jam/mcp-context-card
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
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.

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

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

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

### Cursor (~/.cursor/mcp.json)

```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.

### VS Code (~/.copilot/mcp-config.json)

```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.

### Codex: Add with the CLI (Terminal)

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

### Codex: Or add to config.toml (~/.codex/config.toml)

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

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

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

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

### Devin Desktop (~/.config/devin/mcp_config.json)

```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.

### Cline (cline_mcp_settings.json)

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

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

### Zed (Zed settings.json)

```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.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

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

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

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

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

### Kiro (~/.kiro/settings/mcp.json)

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

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

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.

## 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.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/mcp-context-card
