Atlas / MCP servers / alegau03 / CTX

CTXBLOCK

mcp/alegau03/ctx-3

CTX - Context Runtime Engine for Coding Agents

Verdict
BLOCK
Grade
D
Trust score
69 /100
Exposed tools
15 11r · 3w · 1d
Transport
—
License
—
Stars
144
01

Overview

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

CTX

The context layer for AI coding agents

Reduce token waste in OpenCode and AI coding workflows with graph memory, compact task packs, read-cache compression, command pruning, and a live right-sidebar dashboard.

OpenCode-first runtime · Local MCP tools · Read cache + delta-aware indexing · Single Rust binary

Install · OpenCode Usage · Dashboard · Benchmarks · Docs · Security

CTX is a local context runtime for OpenCode and AI coding agents. It keeps repository knowledge, reusable rules, shell output, diffs, and file rereads compact before they ever bloat the model context.

See It In Action

Contents

  • What CTX Is
  • Why It Exists
  • Install CTX
  • OpenCode-First Usage
  • [What Works Today](#what-works-to
Read from source at commit 711da03f8a33OBSERVED · 2026-10-07
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 ctx-bin -- npx -y @alegau/[email protected]
claude-desktop
{
  "mcpServers": {
    "ctx-bin": {
      "command": "npx",
      "args": [
        "-y",
        "@alegau/[email protected]"
      ]
    }
  }
}
03

Exposed tools (15)

11 read · 3 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
get_compact_diffreadReturn query-focused compact diff
get_relevant_contextreadReturn compact context for current query
memory_bootstrap_markdownwriteAuto-import conventional markdown rule files into graph memory
memory_deletedestructiveDelete one graph memory directive
memory_directivesreadGraph-backed operational directives replacing markdown habit files
memory_getreadGet one graph memory directive
memory_import_markdownwriteImport AGENTS/CLAUDE/CODEX markdown rules into graph memory
memory_listreadList graph-backed memory directives
memory_searchreadSearch graph memory directives by topic
memory_setwriteCreate/update one graph memory directive
project_mapreadReturn top-level repository map
read_pathreadRead one repository file using full, outline, or digest mode with reread cache awareness
recent_decisionsreadReturn recent pruning/decision notes
related_failuresreadReturn failures connected to symbols/tasks
search_symbolsreadSearch indexed symbols by keyword
04

Trust audit

BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

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

Findings (22)

HIGHFilesystem / path · fs.credential_store · CWE-22, CWE-59
crates/ctx-config/src/lib.rs:221
"id_rsa".to_string(),
Why it matters. touches a credential store
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
crates/ctx-cli/src/host_integration.rs:40
"url": format!("http://127.0.0.1:{port}/rpc"),
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
crates/ctx-cli/src/host_integration.rs:41
"health": format!("http://127.0.0.1:{port}/health"),
MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
memory_delete
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenance · inv.no_license · CWE-1104
Why it matters. no LICENSE file and no repo licence
Fix. add a licence
LOWFilesystem / path · fs.credential_store · CWE-22, CWE-59
crates/ctx-core/tests/core_behavior.rs:58
sensitive_patterns = [".env", "id_rsa", ".pem", ".key", "credentials", "secret"]
Why it matters. touches a credential store
LOWFilesystem / path · fs.credential_store · CWE-22, CWE-59
crates/ctx-core/tests/read_cache_behavior.rs:49
sensitive_patterns = [".env", "id_rsa", ".pem", ".key", "credentials", "secret"]
Why it matters. touches a credential store
LOWFilesystem / path · fs.credential_store · CWE-22, CWE-59
crates/ctx-core/tests/retrieval_behavior.rs:123
sensitive_patterns = [".env", "id_rsa", ".pem", ".key", "credentials", "secret"]
Why it matters. touches a credential store
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
crates/ctx-cli/build.rs:18
println!("cargo:rerun-if-changed=../../.git/HEAD");
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
crates/ctx-cli/build.rs:19
println!("cargo:rerun-if-changed=../../.git/index");
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
crates/ctx-config/tests/config_behavior.rs:78
let template = std::fs::read_to_string("../../templates/config.default.toml")
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
demo/fixtures/opencode-auth-lab/tests/auth/refresh-route.test.ts:2
import { handleRefreshRoute } from "../../src/http/refresh-route";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
demo/fixtures/opencode-auth-lab/tests/auth/session.test.ts:2
import { refreshSession } from "../../src/auth/session";
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
demo/fixtures/opencode-auth-lab/package.json
typescript, vitest
Why it matters. 2 dependency range(s) float
Fix. pin exact versions or ship a lockfile
INFOInventory / provenance · inv.oversize · CWE-1104
docs/assets/gif1.gif
docs/assets/gif1.gif
Why it matters. 1088068 bytes not read
INFOInventory / provenance · inv.oversize · CWE-1104
docs/assets/gif2.gif
docs/assets/gif2.gif
Why it matters. 4202420 bytes not read
INFOInventory / provenance · inv.oversize · CWE-1104
docs/assets/gif3.gif
docs/assets/gif3.gif
Why it matters. 2929657 bytes not read
INFOSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
README.md:104
curl -fsSL https://raw.githubusercontent.com/Alegau03/CTX/main/scripts/install.sh | sh
INFOSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
docs/install.md:16
curl -fsSL https://raw.githubusercontent.com/Alegau03/CTX/main/scripts/install.sh | sh
INFOSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
docs/install.md:76
curl -fsSL https://raw.githubusercontent.com/Alegau03/CTX/main/scripts/install.sh | sh
INFOSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
docs/release-playbook.md:70
curl -fsSL https://raw.githubusercontent.com/Alegau03/CTX/main/scripts/install.sh | sh
INFOSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
docs/release-playbook.md:102
curl -fsSL https://raw.githubusercontent.com/Alegau03/CTX/main/scripts/install.sh | sh

Gates applied: no_behavioural_pass, no_license.

Audited 2026-10-07 · audit v0.4.1 · source sha 711da03f8a33full audit observations/trust-audit/mcp-server/alegau03__ctx-3.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-07711da03f8a33BLOCKD69first audit
06

Questions

What is the CTX MCP server?

CTX - Context Runtime Engine for Coding Agents

What tools does CTX expose?

15 in total: 11 read-only, 3 that write, and 1 that can delete or overwrite (memory_delete). Every one is listed on this page with its risk.

Is CTX safe to connect to an agent?

No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does CTX need?

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

How current is this page?

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

Advertisement