About Agentctx
Agentctx is an MCP server in the Agents category: agent Context Manager — manage context windows, memory, roles, token budgets, and multi-agent chains for Claude Code, Codex, Cursor, and any LLM-based agentic tool.
Install
claude mcp add agentctx -- npx -y @dev-sajjad/agentctxnpx -y @dev-sajjad/agentctxThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (10)
budget_checkcompile + return the token breakdown
Parameters not published.
chain_runrun a named chain (dry-run)
Parameters not published.
claudemd_readread the project CLAUDE.md
Parameters not published.
context_compilecompile + return the assembled prompt
Parameters not published.
debug_lastfull prompt/manifest of the last run
Parameters not published.
memory_listlist entries, optional layer filter
Parameters not published.
memory_savesave a fact (layer + tags)
Parameters not published.
memory_searchkeyword search memory
Parameters not published.
role_listlist available roles
Parameters not published.
role_switchset the active role for the session
Parameters not published.
Ask AI
Ask AI about Agentctx
Powered by Claude · Grounded in docs
Security checks
6 checks have not been run yet.