How to integrate Docmosis MCP with Atomic Agent

Connect Atomic Agent to Docmosis MCP. Generate monthly invoice pdf for a customer, create personalized offer letters for new hires, and more using natural language, with authentication handled for you.

Docmosis logoDocmosis
Api Key

Docmosis generates PDF and Word documents from user-defined templates. It's perfect for merging data fields to quickly produce reports, invoices, and business letters.

17 Tools

Introduction

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 1,700+ apps through Composio, including Docmosis.

This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a Docmosis account. See the Atomic Agent documentation for installation instructions.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Docmosis with

How Atomic Agent connects to Docmosis

Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.

Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

Connect Docmosis to Atomic Agent

  1. Sign up or sign in to the Composio dashboard. Copy your API key.
  2. In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
  3. Ask Atomic Agent to do something in Docmosis. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your Docmosis account, then return to Atomic Agent to continue.

Headless setup

Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY

What is the Docmosis MCP server, and what's possible with it?

The Docmosis MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Docmosis account. It provides structured and secure access to your document templates and generation capabilities, so your agent can perform actions like generating documents, merging data fields, exporting PDFs or Word files, and automating report creation on your behalf.

  • Dynamic document generation: Instantly create PDF or Word documents from pre-built templates by merging in your custom data fields.
  • Automated report and invoice creation: Let your agent assemble business reports, invoices, or letters using real-time input and reusable templates.
  • Template management and selection: Retrieve, list, and select from available templates for different document types or business needs.
  • Batch document processing: Generate multiple documents at once by feeding bulk data sets—perfect for automating repetitive paperwork.
  • Flexible file export and delivery: Export generated documents in your preferred format and deliver them to specified locations, systems, or users automatically.

Use Docmosis from Atomic Agent

With your account connected, ask Atomic Agent to work with Docmosis in natural language. You can connect more apps through the same Composio integration as you need them.

Visit the Atomic Agent website or inspect the Atomic Agent source code.

Troubleshooting

Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See Composio pricing for the current limits that apply to your connection.

TOOLS

Supported Tools

Every Docmosis action and event your agent gets out of the box.

Docmosis: Delete Image(s)

Tool to delete one or more stored images.

Docmosis: Delete Template(s)

Tool to delete one or more templates from the environment.

Docmosis Environment Ready

Check whether a Docmosis environment is ready to service document requests.

Docmosis Environment Summary

Tool to retrieve environment summary.

Docmosis: Get API Key

Extract the Docmosis API access key from connection metadata, using the accessKey header or a Bearer token in the Authorization header.

Get Batch Upload Status

Tool to check the status of a template batch upload job.

Download Docmosis Images

Download one or more stored images by name, up to 100 per request.

Get Docmosis Render Queue

Tool to get current render queue status and utilization.

Get Render Tags

Tool to retrieve statistics on renders tagged with user-defined phrases.

Get Template Sample Data

Generate JSON or XML sample data for a Docmosis template based on its structure for testing renders.

Download Docmosis Templates

Download originally uploaded templates by name, up to 100 per request.

Get Docmosis Template Details

Tool to retrieve metadata for an uploaded template.

Get Docmosis Template Structure

Tool to retrieve a template's parsed structure: fields, repeats, conditions, images, and refs.

Docmosis: List Images

Tool to list available stock images.

Docmosis: List Templates

Tool to list all templates available in the environment.

Docmosis Ping

Tool to check connectivity to Docmosis Cloud services.

Ping Docmosis Service

Send a GET request to the Docmosis Cloud ping endpoint to check service availability.

FAQ

Frequently asked questions

Start with Docmosis.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Docmosis tool your agent needs.Free to start.

Start building