patlas/ docs

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

The server supports revision 2026-07-28 (server/discover, per-request
_meta) and the earlier initialize handshake.

Authorization

Two credential types are available:

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

AreaTools
Projectslist_projects, get_project
Issueslist_issues, get_issue, create_issue, update_issue, set_issue_relation, move_issue, delete_issue, restore_issue
Todoslist_todos, create_todo, update_todo
Agent contextget_agent_context, get_issue_scratchpad, update_issue_scratchpad
Docslist_docs, read_doc, write_doc, delete_doc, restore_doc
Boardslist_boards, create_board, rename_board, delete_board, restore_board
Columnscreate_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.

Agent instructions

get_agent_context returns these layers:

LayerSourceOwner
Shared project.project/AGENTS.mdall project members
Global personal/user/AGENTS.global.mdone user
Project personal/user/AGENTS.project.mdone user in one project

The shared project layer wins over personal layers. The result includes
precedence 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:

  1. Find the last commit that changed or deleted the target.
  2. Read the target from the parent of that commit.
  3. Write it to the current HEAD.
  4. 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.