anchor-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@anchor-mcpshow my active task"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
anchor-mcp
A portable agent working state server. Any AI coding agent drops anchor here.
Anchor is an MCP server that manages persistent working state for AI coding agents — tasks, plans, scratch notes, learnings, and project rules. It works with Claude Code, OpenCode, Codex CLI, Cursor, Windsurf, or any MCP-compatible agent.
Why?
Every AI coding tool has its own proprietary state directory (.claude/,
.codex/, .opencode/). None of them share state. Anchor gives every agent
a shared home base — the same active task, the same plans, the same memory —
regardless of which tool you're using.
Related MCP server: agent-comm
What it stores
Per git worktree, Anchor manages:
Active task — what you're working on right now
Plans — execution blueprints with linked issues and learnings
Notepads — freeform scratch notes by topic
Memory — tagged learnings, decisions, and patterns
Rules — project-specific agent instructions
Quick start
Install
npm install -g anchor-mcpConfigure (Claude Code)
Add to .claude/.mcp.json:
{
"mcpServers": {
"anchor": {
"command": "anchor-mcp"
}
}
}Configure (OpenCode)
Add to ~/.config/opencode/opencode.json:
{
"mcp": {
"anchor": {
"type": "local",
"command": ["anchor-mcp"],
"enabled": true,
"environment": {}
}
}
}Configure (Codex CLI)
Add to .codex/config.toml:
[mcp_servers.anchor]
command = "anchor-mcp"Configure (Cursor / Windsurf)
Add to your MCP server settings:
{
"anchor": {
"command": "anchor-mcp"
}
}Tools
Anchor provides 6 grouped tools. Each tool accepts an action parameter:
Tool | Actions | Description |
|
| Manage the active task and task list |
|
| Manage execution plans with issues and learnings |
|
| Manage freeform scratch notes by topic |
|
| Store and retrieve learnings, decisions, patterns |
|
| Manage project-specific agent instructions |
| (single action) | Promote plan learnings into project rules |
Usage examples
Set an active task:
task_manager(action="set_active", description="Implement user authentication")Save a plan:
plan_manager(action="save", name="auth-flow", content="# Auth Flow Plan\n\n1. Add login endpoint\n2. Add JWT middleware")Add a memory:
memory_manager(action="add", content="Always use httpOnly cookies for JWT", tags=["auth", "security"])Search memories:
memory_manager(action="search", query="authentication")State directory
Anchor stores state in .anchor/ at your project root:
.anchor/
├── state.json # Active task + task list (gitignored)
├── plans/
│ └── {plan-name}/
│ ├── plan.md
│ ├── issues.md
│ └── learnings.md
├── notepads/
│ └── {topic}.md
├── memory.jsonl
└── rules.mdPlans, notepads, rules, and memory are designed to be committed to git.
state.json is machine-specific and should be gitignored.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-quality-maintenanceAn MCP server that provides persistent project context, workflow management, and knowledge capture for AI coding agents. It enables agents to maintain structured memory across sessions by tracking project profiles, conventions, skills, and technical debt.Last updated7
- Alicense-qualityDmaintenanceMCP server that enables AI coding agents to communicate, share state, and coordinate work in real time via MCP tools or REST API.Last updated1734MIT
- Alicense-qualityDmaintenanceAn MCP server that gives AI coding assistants persistent memory across sessions with chain-based project tracking, tickets, and structured handoffs.Last updatedGPL 3.0
- FlicenseBqualityCmaintenanceMCP server that gives AI coding assistants persistent memory, structural code graph analysis, and safe multi-agent coordination, enabling them to answer architectural questions, track decisions across sessions, and coordinate safely in multi-agent workflows.Last updated394
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Person-owned, portable AI memory as a remote MCP server, readable and writable by any MCP client.
Cloud-hosted MCP server for durable AI memory
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/thewillmoss/anchor-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server