Atlas / MCP servers / doobidoo / Context Provider

Context ProviderCAUTION

mcp/doobidoo/context-provider-1

A static MCP server that provides AI models with persistent tool context, preventing context loss between chats.

Verdict
CAUTION
Grade
B
Trust score
89 /100
Exposed tools
10 8r · 2w · 0d
Transport
stdio · streamable-http
License
Apache-2.0
Stars
31
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Status: beta — feature-complete, API stabilizing. See CHANGELOG.md for the latest release.

https://github.com/user-attachments/assets/d9c6c325-00f1-44d9-a805-b1d6588c0acf

Persistent context and learned instincts for Claude Desktop and Claude Code — surviving across sessions.

A TypeScript MCP server that gives Claude persistent Contexts (static tool rules) and Instincts (learned, confidence-scored rules distilled from sessions). No more re-establishing context in every new chat.

Architecture

Two core concepts:

Four subsystems:

  • Engine — loads, matches, and merges contexts + instincts into injection payloads
  • MCP Server (src/server/index.ts) — stdio + HTTP transport, 10 MCP tools
  • CLI (mcp-cp) — approval registry for instinct lifecycle management
  • Memory Bridge — optional sync of instincts to mcp-memory-service

Quick Start

git clone https://codeberg.org/doobidoo/MCP-Context-Provider.git
cd MCP-Context-Provider
npm install
npm run build

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

{
"mcpServers": {
"context-provider": {
"command": "node",
"args": ["/path/to/mcp-context-provider/dist/server/index.js"],
"env": {
"CONTEXTS_PATH": "/path/to/mcp-context-provider/contexts",
"INSTINCTS_PATH": "/path/to/mcp-context-provider/instincts"
}
}
}
}

Claude Code (global)

Add to ~/.mcp.json:

{
"mcpServers": {
"context-provider": {
"command": "node",
"args": ["/path/to/mcp-context-provider
Read from source at commit 9b8936806e10OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add mcp-context-provider -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "mcp-context-provider": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}
03

Exposed tools (10)

8 read · 2 write · 0 destructive.

ToolRiskDescription
apply_auto_correctionswriteApply auto-correction patterns from matching contexts to text
approve_instinctreadApprove an instinct for active use (sets approved_by to human)
build_injectionreadBuild a complete injection payload (contexts + instincts) for a tool/input combination
get_syntax_rulesreadGet syntax-specific rules for a tool category
get_tool_contextreadGet complete context (rules, syntax, preferences) for a specific tool
list_available_contextsreadList all loaded context categories and their descriptions
record_outcomereadRecord a positive, negative, or neutral outcome for an instinct
reject_instinctreadReject/deactivate an instinct and lower its confidence
store_instinctreadStore a new instinct candidate. Created as inactive with auto approval — use approve_instinct for human approval.
sync_instinctswritePush all local YAML instincts to mcp-memory-service. Requires memory bridge to be configured and connected.
04

Trust audit

CAUTIONgrade B · trust 89/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryWARN
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (3 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (12)

MEDIUMInventory / provenance · inv.binary · CWE-1104
mcp-context-provider-1.7.0.dxt
mcp-context-provider-1.7.0.dxt
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
src/bridge/types.ts:52
baseUrl: 'http://127.0.0.1:8000/api',
LOWInventory / provenance · inv.hidden_file · CWE-1104
.gitleaks.toml
.gitleaks.toml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.pre-commit-config.yaml
.pre-commit-config.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.woodpecker.yml
.woodpecker.yml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.symlink · CWE-1104
docs/CHANGELOG.md
docs/CHANGELOG.md
Why it matters. link not followed
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/__tests__/instinct-files-valid.test.ts:22
const instinctsDir = resolve(dirname(fileURLToPath(import.meta.url)), '../../instincts');
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/guides/INSTALLATION.md:189
"MEMORY_BRIDGE_URL": "http://127.0.0.1:8000/api",
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, yaml, zod, @types/node, typescript, vitest
Why it matters. 6 dependency range(s) float
Fix. pin exact versions or ship a lockfile
INFOInventory / provenance · inv.oversize · CWE-1104
assets/MCP-CONTEXT-PROVIDER.png
assets/MCP-CONTEXT-PROVIDER.png
Why it matters. 6196468 bytes not read
INFOSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
docs/guides/QUICKSTART.md:22
curl -sSL https://codeberg.org/doobidoo/MCP-Context-Provider/raw/branch/main/install.sh | bash
INFOSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
docs/guides/TROUBLESHOOTING.md:30
curl -sSL https://codeberg.org/doobidoo/MCP-Context-Provider/raw/branch/main/install.sh | bash

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha 9b8936806e10full audit observations/trust-audit/mcp-server/doobidoo__context-provider-1.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-089b8936806e10CAUTIONB89first audit
06

Questions

What is the Context Provider MCP server?

A static MCP server that provides AI models with persistent tool context, preventing context loss between chats.

What tools does Context Provider expose?

10 in total: 8 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Context Provider safe to connect to an agent?

With care. The audit graded it B (89/100) and found 12 things worth knowing before you trust this server, listed below with the exact line each was found on.

What credentials does Context Provider need?

No credential environment variables were found in its source, so it appears to need none.

How does Context Provider run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as mcp-context-provider at 2.0.0-beta.3.

How current is this page?

The grade is for one exact copy of the source (9b8936806e10), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement