Skip to main content
Connect your CrewAI agents to Doconda so they can convert, create and edit Word, PowerPoint, Excel and PDF files. Each agent loads the tools from the MCP server through mcps.

Capabilities

  • Create a Word, PowerPoint, Excel or PDF file, or an artifact, from a request or from Markdown the agent wrote.
  • Edit a file: only what is asked changes, and get_report lists every change.
  • Convert a file to another format with no AI, for example any file to Markdown so the agent can read it.
  • Read what people saved in an artifact, such as poll votes.

Setup

This integration uses a Doconda API key in DOCONDA_API_KEY (from API keys), sent to the remote server as Authorization: Bearer. The agent’s model reads its own key from your environment.

With the remote server

kickoff() returns the task’s output: the Word document’s download link.

With the local server

Tools

The agent gets the eight tools of the MCP server; see the tools for what each one does. A failed call returns { "error": "<code>", "message": "…" }, so the agent can correct itself.

Troubleshooting

  • KeyError: 'DOCONDA_API_KEY' — The variable isn’t set in the environment that runs the crew.
  • 401 from the remote server — The key is invalid, or the Authorization header is missing Bearer .
  • The download link stopped working — File links expire after 5 minutes; the agent calls get_document for fresh ones.