Scan your whole stack
From OX Research Newsroom
Are you using loopctl-mcp-server?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v3.61.0
loopctl-mcp-server was last scanned on 29 Nov 2026 at version 3.61.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 3.61.0 LATEST | 29 Nov 2026 | No rules fired |
| 3.60.1 | 29 Nov 2026 | No rules fired |
| 3.60.0 | 27 Nov 2026 | No rules fired |
| 3.59.0 | 27 Nov 2026 | Not shown |
| 3.58.0 | 27 Nov 2026 | Not shown |
Findings for v3.61.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 3.61.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
MCP (Model Context Protocol) server for loopctl -- structural trust for AI development loops.
Wraps the loopctl REST API into typed MCP tools (plus per-tenant generated cr_* Context Retriever tools) so AI coding agents (Claude Code, etc.) can interact with loopctl without writing curl commands. The tool tables below are the list.
npm install loopctl-mcp-server
Or run directly with npx:
npx loopctl-mcp-server
fetch (undici). Node 20.6.0 is the first release where that transport
honors NODE_EXTRA_CA_CERTS (the setting used for a custom/self-signed loopctl
CA -- see Troubleshooting below). On older runtimes that env var is silently
ignored, so the floor is enforced via engines in package.json.Add to ~/.claude/mcp.json (global) or <project>/.mcp.json (per project) for Claude Code, or the equivalent config of another MCP client:
{
"mcpServers": {
"loopctl": {
"command": "npx",
"args": ["loopctl-mcp-server"],
"env": {
"LOOPCTL_SERVER": "https://loopctl.com",
"LOOPCTL_ORCH_KEY": "lc_your_orchestrator_key",
"LOOPCTL_AGENT_KEY": "lc_your_agent_key"
}
}
}
}
Keys must be in the env block. The MCP server process does not inherit the shell environment, so a key exported in your shell never reaches it. Environment Variables lists every variable the server reads.
Once connected, agents call the tools directly — mcp__loopctl__get_tenant(), mcp__loopctl__list_projects(), mcp__loopctl__create_project({name: "MyApp", slug: "myapp"}) — with no curl or shell. Tools below is the full list, grouped by area, with the key each tool sends.
| Variable | Description | Default |
|---|---|---|
LOOPCTL_SERVER |
loopctl server URL | https://loopctl.com |
LOOPCTL_API_KEY |
Global API key override: used for every tool except the exact-key ones below, and for the exact_role: :orchestrator custody verbs when LOOPCTL_ORCH_KEY is unset |
-- |
LOOPCTL_ORCH_KEY |
Orchestrator role API key (report, review, import, and the exact_role: :orchestrator custody verbs verify_story / reject_story / verify_all_in_epic / bulk_mark_complete / force_unclaim_story, plus merge_precondition — when it is set, it is the key those six send) |
-- |
LOOPCTL_AGENT_KEY |
Agent role API key (contract, claim, start, request-review) | -- |
LOOPCTL_USER_KEY |
User role API key (minted at signup). Required for first-time BYO LLM key provisioning (set_llm_config / llm_config — see First-time setup), for destructive admin tools like knowledge_bulk_publish, and for the runner_* and intake_source_* tools plus place_dispatch in Runner and delivery-loop tools; resolve_escalation prefers it and falls back to the holder credential. Not for the whole of that section: story_stage takes LOOPCTL_AGENT_KEY, and force_unclaim_story is exact_role: :orchestrator, where a user key is 403'd like any other non-member. |
-- |
LOOPCTL_STH_STATE_PATH |
Absolute path for the witness-protocol STH cache file (see Witness protocol). Optional. | per-(server + key) file under the OS temp dir |
LOOPCTL_JOURNAL_DIR |
Directory of the holder's offline journal (US-52.62): notes and checkpoints written while loopctl did not answer, one file per session named sha256(server URL + : + session id), mode 0600 in a 0700 directory, replayed through holder_replay when loopctl answers. Every append and settle holds the file's <file>.lock (0600, never through a symlink; broken when its pid is gone or it is over 30 s old), so two MCP processes of one session neither lose nor repeat each other's entries; a write that cannot take it within 2 s is answered an error naming the journal busy, never queued. Not under the OS temp dir, so a reboot does not drop what is owed. Wrong (unwritable): a note or checkpoint that gets no answer is reported as an error instead of queued, as before this journal existed. |
~/.loopctl/journal |
Key resolution priority: LOOPCTL_API_KEY > tool-specific key > LOOPCTL_ORCH_KEY.
The exception: tools pinned to an EXACT key. Some endpoints are gated exact_role:,
where the role hierarchy does NOT apply — a higher-privileged key is refused there exactly
as a lower one is. For those tools the global override does not silently win over the
variable the tool names, so a key you set for a specific role is the key that gets sent:
| Tool | Key | When the override applies |
|---|---|---|
verify_story, reject_story, verify_all_in_epic, bulk_mark_complete, force_unclaim_story |
LOOPCTL_ORCH_KEY (exact_role: :orchestrator) |
Pinned when LOOPCTL_ORCH_KEY is set. With no orchestrator key, LOOPCTL_API_KEY is still sent — set it to an orchestrator-role key and these work. |
place_dispatch, resolve_escalation |
LOOPCTL_USER_KEY (an unlineaged human principal); resolve_escalation without one sends the session's holder credential (LOOPCTL_AGENT_KEY) |
Always pinned; LOOPCTL_API_KEY is never consulted. A user key resolves to any target over human_resolution; the holder credential takes holder_resolution to queued only (US-52.31). |
intake_source_enroll, intake_source_list, intake_source_update, intake_source_revoke |
LOOPCTL_USER_KEY |
Always pinned; LOOPCTL_API_KEY is never consulted. The endpoint is role: :user with the hierarchy, but enrolling MINTS the webhook secret — a credential belonging to no dispatch lineage — so the caller must itself be unlineaged (RequireUnlineagedCaller) or it is refused 403 api_key_mint_forbidden. |
set_llm_config, llm_config and the other secret-managing tools |
LOOPCTL_USER_KEY |
Always pinned; a secret operation must not run under a non-user global key. |
Why pin at all: the priority above means LOOPCTL_API_KEY beats the variable a tool names,
so an operator who sets LOOPCTL_ORCH_KEY for the custody verbs and LOOPCTL_API_KEY for
everything else had the orchestrator key discarded on exactly the calls it was set for. It
is not because the resulting 403 is confusing — LoopctlWeb.Plugs.RequireRole runs
first and answers with code: "insufficient_role" and required_roles: ["orchestrator"],
which names the problem correctly.
report_story and review_complete are NOT in this table: their gates take a role RANGE
(exact_role: [:agent, :orchestrator] and [:orchestrator, :user]), so they are not pinned
and take the default order (lib/default-key.js): LOOPCTL_API_KEY, then their own key
(LOOPCTL_ORCH_KEY), then the session's agent key (its holder credential once registered,
else LOOPCTL_AGENT_KEY). With only LOOPCTL_AGENT_KEY set they therefore send the agent key
and loopctl's gate decides: report_story accepts an agent key, review_complete refuses it
403. The conditional pin in the first row is that same reasoning applied to the
single-role gates.
loopctl is agent-native and strictly BYO (bring-your-own-keys). loopctl fronts no LLM cost — the knowledge wiki runs entirely on your provider keys, which you provision once and which bill you directly. Two SEPARATE keys power two capabilities:
| Key | Provider | Powers | Missing ⇒ |
|---|---|---|---|
api_key |
Anthropic | knowledge ingest — extraction, classification, merge synthesis | knowledge_ingest returns 422 (code: no_api_key) |
embedding_api_key |
OpenAI-compatible | article embeddings + semantic search | knowledge_search silently degrades to keyword-only (meta.fallback_reason: no_embedding_key) |
Both keys are stored encrypted and are never returned by any tool. You can set
per-operation model overrides (extraction_model, classification_model,
merge_model, embedding_model); each defaults server-side when omitted.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.