MCP
Project Atlas gives MCP clients access to issues, documents and boards through
one endpoint:
https://taleplan.com/mcp
The endpoint uses JSON-RPC over Streamable HTTP. The patlas-mcp binary
connects the same endpoint to stdio for clients that start a local process.
Open the endpoint in a browser to see the setup guide. POST requests still use
JSON-RPC.
Transports
- Streamable HTTP: one
POSTfor each JSON-RPC message. Replies are JSON. No
sessions and no long-lived GET stream. - stdio: newline-delimited JSON-RPC on stdin and stdout. Logs use stderr.
The server supports revision 2026-07-28 (server/discover, per-request_meta) and the earlier initialize handshake.
Authorization
Two credential types are available:
- An access key from project settings. The key is scoped to one project and
obeys its read-only flag. Send it asAuthorization: Bearer <key>. - An OAuth access token. The token is scoped to one user. Tools then require a
projectargument, and the server checks membership on each call.
OAuth clients find the authorization server from the 401 challenge:
WWW-Authenticate: Bearer resource_metadata="https://taleplan.com/.well-known/oauth-protected-resource", scope="atlas:read atlas:write"
The metadata refers to the same origin:
/.well-known/oauth-protected-resource
/.well-known/oauth-authorization-server
/oauth/register
/oauth/authorize
/oauth/token
/oauth/revoke
The flow requires PKCE S256. Clients can register with a Client ID Metadata
Document. Dynamic client registration is also supported. The consent page uses
the current Patlas session. Tokens are bound to the /mcp resource and expire
after one hour. Refresh tokens rotate.
Tools
| Area | Tools |
|---|---|
| Projects | list_projects, get_project |
| Issues | list_issues, get_issue, create_issue, update_issue, set_issue_relation, move_issue, delete_issue, restore_issue |
| Todos | list_todos, create_todo, update_todo |
| Agent context | get_agent_context, get_issue_scratchpad, update_issue_scratchpad |
| Docs | list_docs, read_doc, write_doc, delete_doc, restore_doc |
| Boards | list_boards, create_board, rename_board, delete_board, restore_board |
| Columns | create_column, rename_column, delete_column, restore_column, reorder_columns |
Read-only credentials can use only read tools.
Relations
create_issue and update_issue accept a relations object with canonical
target ids:
{
"relations": {
"blocks": [4],
"duplicates": [8],
"resolves": [2],
"raises": [5],
"related": [3]
}
}
create_issue sets the initial table. update_issue replaces it, so omit a
kind or send an empty array to clear it.
set_issue_relation adds or removes one edge:
{ "id": 3, "kind": "blocks", "target": 5 }
Set remove to true to detach the edge. The five kinds are blocks,duplicates, resolves, raises and related.
get_issue and list_issues return the canonical arrays plus the views
derived from other issues: blocks, blockedBy, duplicates,duplicatedBy, resolves, resolvedBy, raises, raisedBy and related.
Todos
An issue todo is a normal GFM task item. The issue body is the only source of
truth.
- Todos keep their section heading.
## Todois the default section for a new
item. list_todosreturns counts, sections and the first unchecked item.update_todotakes the revision fromlist_todos. A stale revision returns409and the current revision. Read the list again and retry.- Only done and not done states exist. The first unchecked item is the work in
progress.
Agent instructions
get_agent_context returns these layers:
| Layer | Source | Owner |
|---|---|---|
| Shared project | .project/AGENTS.md | all project members |
| Global personal | /user/AGENTS.global.md | one user |
| Project personal | /user/AGENTS.project.md | one user in one project |
The shared project layer wins over personal layers. The result includesprecedence and any conflicts the server found. Missing files are ignored.
Personal files live in user space and never enter the project repository.
MCP initialization includes the global personal instructions. It also tells the
client to call get_agent_context before acting.
The /user folder is available over WebDAV. It exposes/user/AGENTS.global.md and /user/AGENTS.project.md. The project file maps to
the current project. User space uses the same storage for every project key
owned by the user. A read-only key can read it but cannot write it. User space
has no git history.
Restore
Each delete tool has a matching restore_* tool. A restore does not reset
history:
- Find the last commit that changed or deleted the target.
- Read the target from the parent of that commit.
- Write it to the current
HEAD. - Commit with the message
restore: <target>.
A restore of an issue also returns the issue to its column and index at deletion
time. If the board or column no longer exists, the issue returns without a
column. The tool result reports this condition. A restore never overwrites an
existing file or id.
Local bridge
Build the binary:
cargo build --release -p patlas-mcp
Then run the login command:
patlas-mcp login --url https://taleplan.com
Or use an access key:
PATLAS_URL=https://taleplan.com PATLAS_TOKEN=<access key> patlas-mcp
Set PATLAS_PROJECT to supply the project argument automatically.
The stdio bridge sends messages unchanged and adds the MCP HTTP headers that
revision 2026-07-28 requires.