Ejentum MCP Cognitive Operation Server
An MCP server that hands LLMs a structured cognitive procedure plus an executable reasoning DAG before they answer.
- Source repo
- ejentum/ejentum-mcp
- Stars
- ★ 16
- Last updated
- 5mo ago
- FARS reviewed
- Sep 24, 2026
- License
- MIT
- Primary language
- JavaScript
- FA score
- 45/100 · Major gaps
At a glance
- How it runs
- Works with
- Portable with changesClaude CodeCodex · Claude.ai (Partial support)
- Cost
- Free tier plus a paid hosted plan
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- A developer in Claude Desktop or Cursor about to have a model judge a NOT NULL migration on a 50M-row table calls reasoning first to get a duration-estimation procedure with a Hofstadter buffer.
- Not a fit if
- Teams that cannot send task descriptions to a third-party API
- Users who need a fully self-hosted reasoning backend
- Simple factual Q&A where multi-step reasoning adds no value
- Maintenance
- Commits in the last 6 monthslast commit 2026-06-11
- Source review
- 45/100 · Major gaps 2 safety controls not found
What does this agent do, and when should you use it?
ejentum-mcp is a TypeScript MCP server that, before an agent generates, retrieves one of 679 cognitive operations matching the task: a numbered procedure with the failure pattern to refuse, a falsification test, and a DAG reasoning topology with decision gates, parallel branches, bounded loops, meta-cognitive exits and escape paths. Eight tools span four harnesses (reasoning, code, anti-deception, memory) in two retrieval modes: dynamic tools return the top-1 abstract operation on every tier including the 30-day trial, while adaptive tools take the top-5 and have an adapter LLM rewrite steps and DAG nodes with task-specific identifiers, adding roughly 2-3 seconds and requiring the Go or Super tier. It ships as a stateless stdio wrapper launched via npx -y ejentum-mcp from Claude Desktop, Cursor, Windsurf, Codex CLI, Claude Code, Cline or Continue, and as a hosted Streamable HTTP endpoint at https://api.ejentum.com/mcp for n8n and other HTTP-MCP clients. Both paths proxy to https://api.ejentum.com/harness/ with a Bearer EJENTUM_API_KEY and return a 2-4 KB plain-text injection string. All retrieval and ranking logic lives upstream; the repository contains only the MCP shim, so the library and picker cannot be inspected or self-hosted.
Each tool call takes a single query argument of one or two sentences. The server posts {query, mode} to https://api.ejentum.com/harness/ with an Authorization: Bearer header and receives a one-element array whose key is the requested mode, e.g. result[0]["anti-deception"]; hyphenated keys must use bracket access. The returned injection string carries six slots in fixed order: Procedure ([PROCEDURE], [ENGINEERING PROCEDURE], [INTEGRITY PROCEDURE], [SHARPENING PROCEDURE]), Topology ([REASONING TOPOLOGY], [DETECTION TOPOLOGY], [PERCEPTION TOPOLOGY]), the cognitive payload (Amplify / Suppress / Cognitive Style / Elasticity), verification ([FALSIFICATION TEST], [VERIFICATION], [INTEGRITY CHECK], [PERCEPTION CHECK]), the failure pattern ([NEGATIVE GATE], [CODE FAILURE], [DECEPTION PATTERN], [PERCEPTION FAILURE]) and the correct shape ([TARGET PATTERN], [CORRECT PATTERN], [HONEST BEHAVIOR], [CLEAR SIGNAL]). Topologies use flat notation such as Sn:label, Gn{?}, N{...}, M{...}, FREEFORM{...}, FIXED_POINT[...], LOOP[...], C{expr} and OUT:label, intended for the model to read as a structured outline rather than for a host runtime to execute. In adaptive mode the adapter LLM rewrites only slots 1 and 2, replacing abstract identifiers with task terms (for example extract_duration_estimates becomes extract_migration_duration_estimates(DDL_time|backfill_time|trigger_overhead|lock_hold_time)), while slots 3-6 are returned verbatim. The wrapper is stateless, with no local logging, telemetry or third-party calls, and EJENTUM_API_URL can override the upstream address.
- A developer in Claude Desktop or Cursor about to have a model judge a NOT NULL migration on a 50M-row table calls reasoning first to get a duration-estimation procedure with a Hofstadter buffer.
- A reviewer running code or adaptive-code to obtain engineering steps with [CODE FAILURE] and [VERIFICATION] blocks, reducing missed edge cases in review output.
- Teams fighting sycophancy or fabricated claims call anti-deception to fetch the deception pattern and falsification test, then require the model to self-check after drafting.
- An n8n workflow attaches the hosted HTTP endpoint through the MCP Client node so structured reasoning context precedes each LLM step in automation.
- Long multi-stage planning sessions where labelled Sn: nodes keep the reasoning outline retrieval-salient across a long context window.
- Go or Super tier users running adaptive modes to rewrite abstract steps into their own domain vocabulary before the model answers.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npm install ejentum-mcp
- Environment variables
EJENTUM_API_KEYEJENTUM_API_URL- Config files
Support/Claude/claude_desktop_config.json.env.example.env- Runtime
- Node.js 18+
- Install notes cover
- Windows · macOS
How do you install or deploy this agent?
Prerequisites: Node.js 18+ and an Ejentum API key from ejentum.com/pricing (30-day free trial, no card).
Optionally install from npm:
npm install ejentum-mcpFor Claude Desktop, edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json; Windows: %APPDATA%\Claude\claude_desktop_config.json) and add:
{
"mcpServers": {
"ejentum": {
"command": "npx",
"args": ["-y", "ejentum-mcp"],
"env": { "EJENTUM_API_KEY": "ej_..." }
}
}
}For Claude Code CLI:
claude mcp add ejentum -e EJENTUM_API_KEY=ej_... -- npx -y ejentum-mcpIn Cursor or Windsurf, open MCP settings, choose Add new MCP server and paste the same ejentum block. In n8n, add an MCP Client node with stdio transport, command npx, args ["-y", "ejentum-mcp"] and the same env block.
How do you use this agent?
Restart the client and the eight tools appear in the tool picker. Each takes one argument, query, of one or two sentences; for example, call reasoning with a task description and the model reads the returned injection before responding.
The hosted Streamable HTTP path uses the endpoint directly:
curl -X POST https://api.ejentum.com/mcp \
-H "Authorization: Bearer $EJENTUM_API_KEY" \
-H "Content-Type: application/json"The underlying upstream contract, useful for custom integrations:
{
"query": "Evaluate whether a database migration adding a NOT NULL column to a 50M-row table is safe under concurrent writes.",
"mode": "adaptive-reasoning"
}The response is a one-element array keyed by the mode string; use bracket access for hyphenated keys such as result[0]["anti-deception"]. Override the upstream URL with:
EJENTUM_API_URL=https://api.ejentum.com/harness/Local development:
git clone https://github.com/ejentum/ejentum-mcp.git
cd ejentum-mcp
npm install
cp .env.example .env
npm run devSmoke test:
npm run build && npm run test:smokeSafety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
FARS trust-control audit
- confirmation before acting — Turn on (or add) a confirmation step before it acts, and try it in a sandbox or test environment before real data.
- rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.
What are this agent's strengths and limitations?
- Splits reasoning guidance into a procedure layer and a DAG topology layer, giving models numbered steps, decision gates, bounded loops and meta-cognitive exits instead of prose-only prompting.
- Adaptive mode rewrites only procedure and topology while the cognitive payload, falsification test and negative gate stay verbatim, so the safety fields are auditable and the contract is fully documented.
- One API key serves both stdio and hosted Streamable HTTP, covering Claude Desktop, Cursor, Windsurf, Claude Code, Codex CLI, Cline, Continue and n8n.
- The wrapper is stateless with no local logging or telemetry, and the README states the query is consumed for retrieval only and not retained beyond the response.
- MIT licensed, published to npm and the MCP Registry, with a documented error table (401/403/429) and troubleshooting guidance.
- Core capability depends entirely on the vendor-hosted API at api.ejentum.com, so offline use or environments that cannot send task text externally are excluded.
- The four adaptive tools require the Go or Super tier; trial and lower tiers receive 403 on those modes.
- Adaptive retrieval adds roughly 2-3 seconds per call because of the adapter LLM rewrite, which matters in latency-sensitive loops.
- The memory harness is explicitly filter-oriented and documented as unsuitable for fact extraction, so its scope must be learned separately.
- The repository is a thin proxy: the 679-operation library and the semantic picker are implemented upstream and cannot be self-hosted or locally inspected.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Ejentum MCP Cognitive Operation Server This agent | 45 · Major gaps | MCP serverFreemium | ★ 16 | 5mo ago | JavaScript | Claude Code |
| Alas Agent Workspace | 79 · Good | Desktop appFree + model costs | ★ 26 | today | Swift | Codex · Claude Code |
| TAKT Workflow Orchestrator | 71 · Some gaps | CLIFree + model costs | ★ 1.5k | today | TypeScript | Codex · Claude Code · OpenAI API · Claude API |
| mcp-use | 69 · Some gaps | CLIFreemium | ★ 11k | today | TypeScript | ChatGPT · Claude.ai |
How does FollowAgents rate this agent?
Why each dimension lost points
The README states the wrapper is stateless with no local logging, telemetry, or third-party calls, and that the query body is consumed for retrieval and not retained beyond the response, which is decent data-flow transparency (2). Least privilege is only reflected in a single API key and two environment variables, with no scoping or minimal-permission guidance (1). User confirmation is entirely absent: the tool injects content before the agent generates, with no confirmation or preview step (0). Sensitive data handling rests on a single non-retention assertion, with no retention policy, log redaction, or compliance detail (1). Dependencies are limited to @modelcontextprotocol/sdk and zod, but no lockfile, audit, or vulnerability mitigation is shown (1). External effects: the tool sends queries to api.ejentum.com and consumes billed quota; billing is mentioned but no quota or cost cap is described (1). Rollback is absent: no version pinning, caching, or offline degradation path (0). Source attribution appears only via package.json author/repository and the MIT copyright line, and the publisher is unverified (1).
Self-consistency is good: the wire contract, tool inventory, field-order table, and example responses align, and mode strings map one-to-one to tool names (2). Dependency availability declares Node 18+ and two npm dependencies, but no lockfile or version-pinning strategy is provided, and core functionality depends on an external API (1). Failure messages cover 401/403/429 plus missing-tool and unset-env cases with troubleshooting hints, which is adequate (2).
Audience and scenarios are clearly described across Claude Desktop, Cursor, Windsurf, Claude Code, and n8n, with dynamic vs adaptive modes distinguished (2). Capability boundaries are stated: memory mode is flagged as filter-oriented and not for fact extraction, and adaptive modes require Go/Super tier (2). Trigger precision is weak: the query is only specified as 1-2 sentences, with no rules or counterexamples for when to call which tool (1). Environment fit offers both stdio and hosted HTTP paths plus an EJENTUM_API_URL override, covering a broad range of clients (2).
Information architecture is clear, with well-structured sections including field-structure, DAG-syntax, and error tables (2). Install notes are thorough, covering npm, manual config, multiple clients, and local development (2). Naming stability is good: tool names, mode strings, and field labels are consistent between README and package.json (2). Examples and FAQ: a full dynamic-vs-adaptive comparison example is provided, though there is no standalone FAQ (2). Known limitations mention only the ~2-3 s adaptive latency and the memory-mode usage restriction, omitting failure modes, retrieval quality, or mis-match behavior (1). License is a complete MIT text consistent with package.json (2). Versioning has 0.2.2 and a tag-verification release workflow, but no CHANGELOG (1). Maintenance responsibility points only to [email protected] and GitHub issues, and the publisher is unverified, leaving the responsible party unclear (1).
Output usability is good: the injection string has a fixed, ordered field structure with bracket-access guidance, easing integration (2). Marginal value is questionable: the core claims (improved reasoning, a 679-operation library) cannot be verified from static files, and adaptive mode only rewrites the first two fields, limiting incremental benefit (1). Cost-benefit: adaptive mode adds 2-3 s latency and requires a paid tier, with no comparison against direct prompting or local alternatives (1).
Claim traceability is limited: library sizes (679, 311, 128, 139, 101), latency, and retrieval behavior are assertions without data sources or evaluations (1). Cross-source corroboration is limited: README, package.json, and the release workflow agree on version and naming, but core capability claims have no third-party or test backing (1). Fact-inference separation is fair: the README distinguishes contract descriptions from example outputs, but the example responses themselves cannot be verified as real returns (1).
- Not found in source: confirmation before actingTurn on (or add) a confirmation step before it acts, and try it in a sandbox or test environment before real data.
- Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
- The tool injects content before the agent generates, with no user confirmation or preview, so users should understand the injection directly shapes model output.
- Core capability claims (679-operation library, reasoning-quality improvement, retrieval behavior) are README assertions unverifiable from static files; do not infer real-world effect from them.
- Adaptive mode adds ~2-3 s latency and requires a paid tier, with no comparison against direct prompting or local alternatives; cost-benefit must be assessed independently.
- Publisher identity is unverified and maintenance responsibility points only to an email and GitHub issues, leaving long-term update and support paths unclear.
- No lockfile or dependency-audit detail is provided, and core functionality depends on external API availability, creating supply-chain and availability risk.
- No rollback, caching, or offline degradation path exists; there is no fallback if the API is unavailable or quota is exhausted.
FAQ
Does using it cost money?
Is my task description stored?
When should I use dynamic versus adaptive?
Which clients are supported?
What if the tools do not appear in my client?
Is Ejentum MCP Cognitive Operation Server open source?
Is Ejentum MCP Cognitive Operation Server safe to use?
Is Ejentum MCP Cognitive Operation Server still maintained?
Who makes Ejentum MCP Cognitive Operation Server?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.