Skip to main content

Docana MCP

Docana's hosted MCP server connects your AI client to your workforce. Create and improve employees, search enterprise knowledge, and manage work in Docana from the conversation you already use. The employees and their configuration stay in Docana, so your team can also use them through connected channels and the API.

Claude, ChatGPT, Cursor, and other clients can connect when they support remote MCP servers. The tools available in a conversation depend on the client, its settings, and your Docana permissions.

Use the connection to:

  • Create and improve employees. Describe a workflow, validate the agent specification, and import it into an application. See Build Your AI Workforce.
  • Work with your enterprise context. Search documents, organize collections, and review conversations from your AI client.
  • Keep one home for the work. Continue in Docana, connect channels for your team, or call the same workflows from your own code.
Looking for the other direction?

This page is about using Docana from your AI tools. To give your Docana agents tools from external MCP servers, see MCP Servers.

Connect

The server lives at https://mcp.docana.com/mcp. There are two ways in:

  • Sign in with your Docana account. For claude.ai and Claude Desktop: add the connector, sign in, done. No key to create or paste.
  • Use a Docana API key. Send it in the Authorization header with the ApiKey scheme (not Bearer), and make it a Full access key. Right for Claude Code, Cursor, and anything driven by a config file or running headless.

Either way, the connection acts as you: it can do exactly what your account or key can do, nothing more.

Works on claude.ai and in the Claude desktop app:

  1. Open Settings → Connectors.

  2. Click Add custom connector and paste the server URL:

    https://mcp.docana.com/mcp
  3. Click Connect and sign in with your Docana account.

To disconnect later, remove the connector from the same Connectors settings.

Things to ask for

Once connected, talk to it normally. Your AI tool picks the right Docana capabilities:

  • "Search my knowledge for our refund policy and summarize it."
  • "Create a collection called Contracts and upload this PDF into it."
  • "Upload https://example.com/handbook.pdf to the Onboarding collection."
  • "List my applications and show yesterday's conversation threads for the support app."
  • "Build an agent that triages support tickets by urgency and hands the urgent ones to a human."
  • "Validate this agent spec and tell me what's wrong with it."
  • "Rename document 4231 to signed-contract and archive the old draft."
  • "Register this WhatsApp template payload for application 12 and enable it."

What your AI tool can do

CapabilityWhat's in it
ToolsKnowledge, documents, collections, file connectors, conversations, agents, applications, MCP server registrations, and search. Tools carry read-only or destructive annotations; your client decides how to present confirmations.
ResourcesYour content as attachable context: collections (with their documents), document files, conversation transcripts, and the agent-building guide.
Promptsbuild-agent: the same expertise Docana's own agent builder works with, so your AI tool designs agents like Docana does. upload-document: teaches the right upload path for where a file lives.

Uploading files

The upload method depends on where the file is available. The upload-document prompt helps your client choose:

  • A URL: Docana downloads it (https:// links, up to 25 MB).
  • Text it already has: sent inline.
  • A local file: sent directly as raw bytes through a one-time upload link (up to 100 MB per request on the hosted platform, and the link reports the exact ceiling), so binaries like PDFs upload cleanly. Bigger files go through the chunked protocol the prompt describes.

Building agents

Ask your connected client to describe the workflow, load the build-agent prompt when supported, validate the specification, and import it into the intended application. Inspect the resulting configuration and run representative test cases before making it available to users. Validation checks the specification; evaluations check behavior.

For clients that cannot run a workflow directly, open it in Docana or use the CLI or API. See Build Your AI Workforce for an example and a review checklist.

Troubleshooting

SymptomFix
Custom connector won't finish connectingThe sign-in step opens a Docana login. Complete it in the account you want the connector to act as, then approve access.
401 on every call (API key)The header scheme is ApiKey, not Bearer: Authorization: ApiKey your_api_key_here.
Tools exist but calls return 403The account lacks access. Widget-only and Routine-only keys are locked to their endpoints. Use a Full access key.
A recently added capability doesn't show upMCP clients cache the tool list per connection. Reconnect the server (or restart the session).

Next steps