Feature

MCP

Tana provides a Model Context Protocol (MCP) server so external AI tools can read and write your content in Tana.

TL;DR

Connect Claude Code, Claude Desktop, or any MCP-compatible client with a single configuration. Authentication is handled automatically with OAuth, and writes go through the same proposal review as Tana's built-in AI.

MCP server

Tana provides a Model Context Protocol (MCP) server that lets external AI tools connect to Tana. From a client like Claude Code or Claude Desktop, an agent can read documents, search content, create and update items, and use the same capabilities available in Tana's built-in chat.

The server lives at https://home.tana.inc/mcp, and authentication is handled automatically over OAuth. Settings, MCP has a one-click copy for the URL and ready-made configuration snippets.

MCP works in both directions. This page covers Tana as a server, external AI tools reaching into Tana. For the reverse, connecting Tana to your own MCP servers so their tools become available in chat, see Custom MCP servers in Integrations.

Claude Code

Add Tana to Claude Code with a single command:

claude mcp add tana --transport http https://home.tana.inc/mcp

The command and URL are available for one-click copy in Settings, MCP.

Claude Desktop

Claude Desktop connects to Tana through Anthropic's connectors flow. From the Settings, MCP page in Tana, follow the link to Anthropic's "Use connectors to extend Claude's capabilities" guide and add Tana with the MCP Server URL shown on the page.

Other MCP clients

Any MCP client that supports HTTP transport and OAuth can connect to https://home.tana.inc/mcp. Point the client at that URL and it goes through the same authentication flow as Claude Code and Claude Desktop.

External clients can also point directly at a calendar event URL and pull the full meeting context in a single readEvent call: participants, attendees, transcript references, screen-share screenshots, and the relatedDocs index of attached artifacts and chats. The bundled tana-cli and the URI validator accept the broader set of doc kinds (event, call, transcript, screen-share, artifact, asset, audio, video, canvas, agent, workflow, calendar-subscription) and the /o/:org/e/:event and /o/:org/c/:chat URL shapes, so you can pass a URL straight from the browser.

Available tools

The server exposes much of the same toolset the built-in AI uses, so an external agent can do many of the same things Tana's own assistant can. Tools are grouped by purpose:

Read

ToolDescription
searchItemsFull-text search across Tana. Wildcard listings (queries: ["*"]) sort results newest-first
semanticSearchItemsMeaning-based search that finds conceptually related content
readItemsFetch the full content, fields, and block structure of specific documents. Distinguishes "kind I do not read" from "URI does not resolve"
getItemInfoRead an item's metadata and status by URI (access, owner, timestamps, proposal state, external IDs) without loading its body content
listEdgesFind relationships between documents in the knowledge graph
readTableRead tabular data with cell block IDs for precise edits
getTypesInspect type definitions and fields so the agent knows the shape of your data
readSkillRead the definition of a skill
contextRetrievalGather the relevant context for a natural-language question, the way built-in chat does
readEventRead a calendar event with its participants, attendees, and a relatedDocs index of every artifact, event chat, and screen-share image attached to the meeting
readFullTranscriptRead the transcript of a meeting recording
readScreenShareScreenshotsList and read the screenshots Tana captured during a meeting's screen shares
listEventsList calendar events
listCalendarsList the user's connected calendars

Write

ToolDescription
createItemsCreate new documents
updateItemsEdit existing documents
deleteItemsRemove documents
moveDocumentsReparent documents in the graph
renameRename a document, with the change going through the proposal review like any other write
manipulateTableInsert and update rows, columns, and cells in tables
createArtifactProduce structured artifacts like summaries and notes
updateArtifactEdit an existing artifact
updateEventEdit a calendar event
generateImageDocumentsCreate image documents from prompts
manageTypesCreate and change types and their fields
manageSpaceCreate or modify spaces
manageAccessChange access control for an item, the agent equivalent of the share menu
createSkillAuthor a new skill
createAgentCreate a new agent document, with its skills and capabilities

Proposal review

ToolDescription
listProposalsList pending proposals from a write session
approveProposalsApply pending proposals
rejectProposalsDiscard pending proposals

The exact list and schemas are always available from the server itself via the standard MCP tools/list call.

How writes work

Write tools do not change your graph directly. They create proposals attached to a session, and you review them the same way you review changes from built-in chat. This keeps you in control when an external agent is doing real work on your graph.

The typical flow is:

  1. The agent calls a write tool. The server returns a sessionUri and the proposed changes go into that session as pending proposals.
  2. You open the session in Tana and review, edit, or discard the proposals. The chat opens with a short recap from the agent of what it did and why, so you have the context to continue from rather than a bare set of tiles.
  3. The agent can call listProposals, approveProposals, or rejectProposals if you have told it to, but it should not auto-approve on your behalf.

If you have already authorized a write out of band, for example through an explicit instruction to the agent or a CLI flag, the agent can pass autoApprove: true on the write call. The server then applies the proposals in the same round-trip instead of leaving them pending.

Preloaded context

When a client connects, the server sends instructions that include your identity and the members of your space. This means an agent can resolve "me", "I", and "my" to the right user URI and assign tasks or reference people by name without an extra lookup.

Custom MCP servers

MCP also runs the other way: Tana can connect to your own remote MCP servers so their tools are available to its AI chat, much like the built-in integrations. You set these up in Settings under Custom MCP servers, authorizing each server over OAuth and choosing which of its tools the AI may use. See Custom MCP servers in Integrations for the full setup.

Spotting MCP chats

A chat session that an MCP client starts shows an "MCP:" prefix on its auto-generated title in your chat list, so it is easy to spot among your other chats.

MCP - Tana Learn