langchain-mcp-adapters (Python) or @langchain/mcp-adapters (TypeScript), connect Doconda’s remote MCP server
and pass its tools to create_agent. When you ask for a spreadsheet, the agent calls create_document with
format: "xlsx" and you get an Excel file with real formulas and its PDF, with their links.
Steps
- Put your Doconda API key (dashboard → API keys) in
DOCONDA_API_KEYand your model provider’s key (here,ANTHROPIC_API_KEY). - Install the dependencies.
- Connect the server and ask for the Excel file:
doconda.tools() into StructuredTool as in the
LangGraph guide.
What you get back
- An Excel file with real formulas (not pasted numbers), assumptions in their own cells and no calculation errors.
- Its PDF, and
status:ready,ready_with_warnings,needs_revieworfailed(not charged). - Links expire after 5 minutes; the agent gets fresh ones with
get_document.
FAQ
Can it edit an Excel file I already have?
Can it edit an Excel file I already have?
Yes, with
edit_document: it changes only what you ask and the changes use real formulas. Through the remote MCP
server, the file is uploaded by URL or as base64.Can I run the MCP server locally?
Can I run the MCP server locally?
Yes:
{ transport: "stdio", command: "npx", args: ["-y", "@doconda/mcp"] } with DOCONDA_API_KEY in env. Locally it
can also upload files from your disk.How much does it cost?
How much does it cost?
You pay per delivered document; failed ones are not charged. See pricing.
Keep reading
- LangChain: the full guide.
- Quickstart.