Contextforge Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Contextforge Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Give Claude Code, Cursor, and GitHub Copilot persistent memory across sessions via the Model Context Protocol (MCP). Stop re-explaining your project every time.
ContextForge MCP is an open-source MCP server that connects your AI coding assistants to long-term, searchable memory. Decisions, architecture notes, debugging context, and project knowledge stay available across every session — across every tool that supports MCP.
npm install -g contextforge-mcpcf_)#### Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"contextforge": {
"command": "contextforge-mcp",
"env": {
"CONTEXTFORGE_API_KEY": "your-api-key-here"
}
}
}
}Restart Claude Desktop.
#### Claude Code (CLI)
claude mcp add contextforge \
-e CONTEXTFORGE_API_KEY=your-api-key-here \
-- contextforge-mcpRestart Claude Code and run /mcp to verify it's connected.
#### Cursor
Add to your Cursor MCP settings:
{
"mcpServers": {
"contextforge": {
"command": "npx",
"args": ["contextforge-mcp"],
"env": {
"CONTEXTFORGE_API_KEY": "your-api-key-here"
}
}
}
}#### GitHub Copilot (VS Code)
Add to your Copilot MCP config:
{
"servers": {
"contextforge": {
"command": "npx",
"args": ["contextforge-mcp"],
"env": {
"CONTEXTFORGE_API_KEY": "your-api-key-here"
}
}
}
}Set up your project so your AI editor knows to use ContextForge memory:
npx contextforge-mcp initBy default, init auto-detects which editor your project uses and writes:
CLAUDE.md for Claude Code (signals: existing CLAUDE.md or .claude/ directory).cursorrules for Cursor (signals: existing .cursorrules or .cursor/ directory)If no editor is detected, both files are generated.
Without this step, your AI will silently ignore ContextForge for memory queries — even though the MCP is connected — because the built-in auto-memory wins by default.
#### Override with --editor
| Flag | Behavior |
|---|---|
--editor=claude | Generate only CLAUDE.md |
--editor=cursor | Generate only .cursorrules |
--editor=all | Generate both, skip detection |
Re-running init is idempotent — files that already contain our marker are left untouched.
ContextForge provides tools for Knowledge Management, GitHub Integration, Issue Tracking, and Collaboration.
| Tool | Description |
|---|---|
memory_ingest | Save knowledge to memory |
memory_query | Search your knowledge semantically |
memory_list_items | List all stored items |
memory_delete | Remove specific items |
memory_ingest_batch | Save multiple items at once |
memory_delete_batch | Delete items by filter |
| Tool | Description |
|---|---|
memory_list_spaces | List your spaces |
memory_create_space | Create a new space |
memory_delete_space | Delete a space |
memory_move_space | Move space to project |
memory_list_projects | List your projects |
memory_create_project | Create a new project |
memory_delete_project | Delete a project |
memory_link_project | Link directory to project |
memory_unlink_project | Unlink directory |
memory_current_project | Show linked project |
| Tool | Description |
|---|---|
memory_git_connect | Connect a GitHub repo |
memory_git_list | List connected repos |
memory_git_activate | Activate/deactivate webhook |
memory_git_sync | Import existing history |
memory_git_commits | List synced commits |
memory_git_prs | List synced PRs |
memory_git_disconnect | Disconnect a repo |
| Tool | Description |
|---|---|
issues_list | List your issues |
issues_create | Create a new issue |
issues_start | Mark as in progress |
issues_resolve | Mark as resolved |
issues_resolve_by_name | Resolve by title |
issues_assign | Assign to collaborator |
issues_what_next | Get recommendation |
| Tool | Description |
|---|---|
project_share | Share project by email |
collaborators_list | List collaborators |
| Tool | Description |
|---|---|
memory_snapshot_create | Create a backup |
memory_snapshot_list | List all snapshots |
memory_snapshot_restore | Restore from backup |
memory_snapshot_delete | Delete a snapshot |
memory_export | Export to JSON/MD/CSV |
memory_import | Import from file |
| Tool | Description |
|---|---|
memory_stats | View usage statistics |
memory_relate | Link two items |
memory_help | Show help |
You don't need to memorize commands — just talk naturally to your AI:
# Knowledge
"Save this: we use PostgreSQL for the main database"
"What database do we use?"
"List my spaces"
# GitHub
"Connect my repo github.com/myuser/myproject"
"What commits did I make today?"
"Show PRs merged this week"
# Issues
"Create an issue: Update the login page design"
"What's pending?"
"What should I work on next?"
"Mark the login issue as done"| Variable | Required | Description |
|---|---|---|
CONTEXTFORGE_API_KEY | Yes | Your API key from the dashboard |
CONTEXTFORGE_API_URL | No | API endpoint (defaults to production) |
CONTEXTFORGE_DEFAULT_SPACE | No | Default space for operations |
ContextForge MCP is a thin client that translates Model Context Protocol tool calls into authenticated HTTP requests against the ContextForge API. Your knowledge is stored, indexed (semantic embeddings), and retrieved on the server side — the MCP client itself is stateless.
This means:
Manage your memory visually at [contextforge.dev](https://contextforge.dev):
# Clone and install
git clone https://github.com/alfredoizdev/contextforge-mcp.git
cd contextforge-mcp
npm install
# Build
npm run build
# Run tests
npm test
# Watch mode
npm run devIssues and pull requests are welcome at [github.com/alfredoizdev/contextforge-mcp](https://github.com/alfredoizdev/contextforge-mcp).
MIT © Alfredo Izquierdo
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.