Skip to main content
The Model Context Protocol (MCP) is an open protocol, introduced by Anthropic in November 2024, that defines how an AI application (the client) connects to external services (MCP servers). A server exposes tools, resources and prompts through JSON-RPC 2.0 messages, over stdio locally or over Streamable HTTP remotely. MCP is not an alternative to tool calling; it is a standard way to deliver tools to it. The model still calls tools the same way, but one MCP server works with every compatible client instead of one integration per framework.

Why it matters for generated documents

  • No integration code. A document MCP server gives Claude, Cursor, Codex and other clients the ability to create files once you add it to their configuration.
  • The same schemas. Tools are described with JSON Schema, the format tool calling already uses.
  • Local and remote behave differently. A local server can read files from disk; a remote one receives them by URL or as base64.
  • Authentication depends on the transport. Locally it is an environment variable; remotely it is OAuth or an HTTP header.

MCP in Doconda

Doconda’s MCP server gives your agent the tools to convert, create and edit documents (MCP server). An app connected with OAuth and read-only access gets 403 insufficient_scope on a tool that writes.

MCP server

Setup for Claude, Cursor, Codex and other clients.

What is tool calling

How a model asks your code to run a function.

What is an AI agent

The loop that uses these tools.

What is a document generation API

The service behind the tools.