Back to Browse

Context MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Searchable project memory, investigation evidence, and private preferences for coding agents.

About

Searchable project memory, investigation evidence, and private preferences for coding agents.

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (2 strong, 3 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.

6 files analyzed · No issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

database

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

file_system

Check that this permission is expected for this type of plugin.

How to Install

Install command not verified. See the repository for install instructions.

View repository

Documentation

View on GitHub

From the project's GitHub README.

Context MCP

Latest release CI License MCP Registry

M8ven Score Context MCP on Glama Context MCP on mcprush

View on the MCP Registry

Context MCP is a self-hosted wiki for AI agents. Save pages with decisions, procedures, and notes for the next chat. Search across projects, open the current page by a stable reference, and read earlier revisions when you need the history.

Each project can have its own pages, search a shared space, and include related projects. You can also index local files or capture investigation evidence and export it to Markdown. Page text and revisions live in SQLite on the machine running the server.

Install with an agent

Paste this into a coding agent with terminal access.

Install Context MCP for my MCP client. Ask which client I use if you can't tell.
Detect my OS and CPU. Choose the matching archive from the latest release
that supports the wiki and verify it against SHA256SUMS from that release.
Find releases at https://github.com/arthurhoch/context-mcp/releases/latest.
If the latest release predates the wiki, use a successful CI build from main.
Find the package instructions at
https://github.com/arthurhoch/context-mcp/blob/main/docs/releases.md#use-a-package-from-main.
Extract the archive to a permanent location.

Keep my existing client entries and catalogs. For a fresh install, run
context-mcp demo <new-directory>. Use the catalog and project_id returned by
the command. Run context-mcp --config <catalog.toml> validate and index the
demo project with context-mcp --config <catalog.toml> index <project_id>.
Register context-mcp --config <catalog.toml> serve over stdio with absolute
paths to the executable and catalog.

After reconnecting the client, run list_projects. For a demo installation,
search for the error in the generated investigation report and open the
evidence for the verified fix. If the client needs a restart, give me the
check to run.

Add a project with an agent

Add one project to my Context MCP catalog. Ask which catalog to use, what
stable project ID and description to give it, and which directories to index.
If the catalog is on a VPS, use source paths on that server. For a notebook
without file sources, use a build that includes examples/notebook.

Use the matching example in examples/ as a template and keep all existing
projects and settings. Add the project TOML under projects_dir. Run
context-mcp --config <catalog.toml> validate. If the project has file sources,
run context-mcp --config <catalog.toml> index <project_id>. If I use project
hooks, set project_id in the workspace's .context-mcp.toml. Reload the MCP
server and confirm that list_projects includes the new ID.

The catalog guide covers source filters, shared context and related projects.

Download and run

The release archives include the executable, documentation, and configuration examples. Rust is needed only when building from source.

Systemx64 (Intel/AMD)ARM64 (Apple Silicon/ARM)
macOSDownloadDownload
LinuxDownloadDownload
WindowsDownloadDownload

Choose a platform-specific .mcpb asset if your client supports MCP bundles. The bundle launches the server over stdio and prompts for a catalog TOML. See the download verification guide for checksums and GitHub build attestations.

Start a notebook

For the notebook and browser wiki, use a build from this checkout or download a CI package from main. Release archives come with instructions for their version.

Copy examples/notebook to a permanent directory and point your MCP client at its catalog.toml. The catalog has a notes space with no file sources to configure or index. Use the absolute path to the catalog when connecting your client.

Once connected, ask the agent to save a page titled “Local development” in notes and list recent pages. To update it later, use its stable page reference to open the current revision first. The MCP contract includes the tool calls for this workflow.

Try the demo

After building from source on macOS or Linux, run this from the repository root.

bin="$PWD/target/release/context-mcp"
demo="$(mktemp -d)/context-demo"
"$bin" demo "$demo"
"$bin" --config "$demo/catalog.toml" validate
"$bin" --config "$demo/catalog.toml" index sample-app
"$bin" --config "$demo/catalog.toml" index geral
"$bin" --config "$demo/catalog.toml" index tools

On Windows, use context-mcp.exe and pass a new directory as the demo destination. The demo creates a wiki page in sample-app, sample files, and a Markdown investigation export. Ask your agent for recent pages in sample-app or search for CONFIG-001 to see the evidence workflow.

To export an investigation, use its UUID from the demo output or search_context.

"$bin" --config "$demo/catalog.toml" export sample-app INVESTIGATION_UUID > investigation.md

Connect your MCP client

GitHub Copilot in VS Code

Use the Copilot setup guide for local stdio or for a self-hosted server authenticated with an environment variable.

Codex

Use the absolute path to your catalog and open a new chat after registration.

codex mcp add context-mcp -- /absolute/path/context-mcp --config /absolute/path/notebook/catalog.toml serve
codex mcp list

Cursor

Merge this entry into ~/.cursor/mcp.json for all workspaces or .cursor/mcp.json for one workspace. Use absolute paths to your binary and catalog.

{
  "mcpServers": {
    "context-mcp": {
      "command": "/absolute/path/context-mcp",
      "args": ["--config", "/absolute/path/notebook/catalog.toml", "serve"]
    }
  }
}

Self-host and enable personal memory

Run serve-http on loopback behind your HTTPS reverse proxy. Publish /mcp, /agent-context, and /personal-memory through the proxy and give each computer its own token. Add --wiki to browse and search the same pages at /wiki/ in a browser. The site serves read-only HTML without JavaScript. Use wiki as the Basic Auth username and the device token as the password. See the VPS and client setup guide for the proxy routes.

Create a profile on the server and issue device tokens linked to it. Personal entries stay in a separate SQLite database. A preference or rule can apply everywhere, or be scoped to a language or project. A new profile includes editable readability, architecture, and verification defaults. Use the personal memory guide to install the user-level hooks for Codex and Cursor.

Codex loads personal memory on prompt submission. Cursor loads it asynchronously when a chat opens. With the project hooks enabled, both clients receive instructions to look up project pages before work and save reusable notes with the MCP tools. The personal memory CLI can read or update the profile from either client when the device token is available.

MCP tools

ToolPurpose
list_projectsDiscover project IDs and their available sources.
search_contextFind wiki pages and saved findings. Search indexed files when configured.
open_referenceOpen the current page, a historical revision, or an evidence excerpt.
record_contextCreate or revise a page. Save structured investigations with evidence when needed.

Pass the exact project_id for project operations. See the MCP contract for arguments, search scope, and pagination.

Build from source

From the repository root, use rustup with the pinned toolchain and a C compiler for the bundled SQLite library.

cargo build --release --locked
target/release/context-mcp --version

Documentation · Changelog · Privacy · Security

Reviews

No reviews yet

Be the first to review this server!