Your agent reads the review. You approve the change.
AgentMark exposes the review over a local MCP server, so Claude Code, Codex, or Cursor can pick up your notes without you copying anything. Every write asks first.
The two ways to connect
- MCP
- The agent pulls your review and files suggested changes. AgentMark ships the server, and it is a local stdio process with no network access.
- BYOK
- AgentMark calls a provider directly with your key, so you can ask about a document or ask for edits from inside the app.
Claude Code
claude mcp add agentmark -- /Applications/AgentMark.app/Contents/MacOS/agentmark-mcpThen restart Claude Code. The six read tools appear immediately; the two write tools ask for your consent the first time they are called.
Codex
Add the server to ~/.codex/config.toml:
[mcp_servers.agentmark]
command = "/Applications/AgentMark.app/Contents/MacOS/agentmark-mcp"Cursor
Add it to ~/.cursor/mcp.json:
{
"mcpServers": {
"agentmark": {
"command": "/Applications/AgentMark.app/Contents/MacOS/agentmark-mcp"
}
}
}Bring your own key
| Provider | Endpoint | Notes |
|---|---|---|
| Anthropic | api.anthropic.com | Claude models |
| OpenAI | api.openai.com/v1 | Chat Completions |
| Compatible | your base URL | Ollama, LM Studio, OpenRouter, Groq |
A key is optional. Reading, diffs, notes, and copy for agent work without one. When you use a key, the first send per document asks for confirmation with the provider, model, and an approximate token count.
What a round trip looks like
You read and note
Open the folder an agent wrote into, read the change, and leave notes on the sentences that need work.
The agent reads
It calls
get_review, or waits withwait_for_reviewfor the next note.The agent proposes
It calls
submit_proposalswith the block it wants to replace. AgentMark shows you a consent dialog naming the client and the document.You decide
The suggestion lands in the rail with old and new text. Accept applies it; reject discards it. The server cannot write the file.
Integration questions
Does the MCP server need the internet?
No. It is a local stdio process that reads the on-disk database. Reads work with the app closed; writes need AgentMark running so you can approve them.
Does the agent get write access to my files?
No. The MCP server never writes files. A write submits a suggested change, which appears in the review rail, and only you can accept and apply it.
Can two agents be connected at once?
Yes. Each client gets its own consent decision, and each is rate-limited separately at 20 writes per minute.
Does this work with any MCP client?
Yes. Anything that can launch a stdio MCP server can read the review. The snippets on this page cover Claude Code, Codex, and Cursor.
Is my API key shared with the agent?
No. Provider keys live in the macOS Keychain and are read only by the app. The MCP server performs no network calls.