How to integrate Writer MCP with Atomic Agent

Connect Atomic Agent to Writer MCP. Summarize key findings from uploaded medical notes, generate chat responses using enterprise llm, and more using natural language, with authentication handled for you.

Writer logoWriter
Api Key

Writer is an enterprise-grade generative AI platform for building and deploying custom LLM-powered applications. Get reliable content generation, advanced RAG, and built-in AI guardrails for secure, compliant workflows.

23 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 Writer.

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 Writer 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 Writer with

How Atomic Agent connects to Writer

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 Writer 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 Writer. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your Writer 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 Writer MCP server, and what's possible with it?

The Writer MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Writer account. It provides structured and secure access to your Writer AI platform, so your agent can perform actions like querying knowledge graphs, generating chat completions, extracting medical concepts, managing files, and orchestrating enterprise AI workflows on your behalf.

  • Conversational AI and content generation: Use your agent to generate chat-based completions and natural language responses using Writer's advanced LLMs.
  • Enterprise knowledge graph management: Create, retrieve, list, or delete knowledge graphs to organize and access structured knowledge within your organization.
  • Automated data extraction from clinical text: Extract medical entities and standardized codes (like SNOMED CT) from unstructured clinical or healthcare text for downstream analysis.
  • Application and model discovery: List available no-code agent applications and LLM models to streamline how your agent selects tools for specific tasks.
  • File management and inspection: Retrieve and review uploaded files, filter by attributes, and manage your enterprise content for further AI-driven actions.

Use Writer from Atomic Agent

With your account connected, ask Atomic Agent to work with Writer 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 Writer action and event your agent gets out of the box.

Add File to Knowledge Graph

Tool to add a file to a knowledge graph for indexing and retrieval.

Analyze Images

Tool to analyze images using Writer's vision capabilities.

Ask Question to Knowledge Graph

Send a question to specified Knowledge Graphs, with optional context.

Chat Completion

Generate a non-streaming chat completion from a conversation history using a specified model.

Create Knowledge Graph

Create an empty Knowledge Graph that files can be added to.

Delete File

Tool to delete a file by its ID.

Delete Graph

Tool to delete a knowledge graph by its ID.

Detect AI Content

Analyze text for AI-generated content and return a classification label and score.

Download File

Tool to download the binary content of a file.

Get File

Tool to retrieve detailed information about a specific file by its ID.

List Applications

List a page of no-code agent applications, with an optional page size and cursor for retrieving subsequent pages.

List Files

Tool to list all uploaded files.

List Knowledge Graphs

List a page of Writer Knowledge Graphs.

List Models

Tool to list all available language models.

Medical Text Comprehension

Extract medical entities and any returned concepts from unstructured clinical text using the Entities response type.

Parse PDF

Parse a previously uploaded PDF into text or markdown using Writer's deprecated PDF parser endpoint, which Writer scheduled for removal on December 22, 2025.

Remove File From Graph

Tool to remove a file from a Knowledge Graph.

Retrieve Knowledge Graph

Retrieve a Writer Knowledge Graph by its ID to inspect details of an existing graph, such as its name, description, creation time, and file processing status.

Text Generation

Tool to generate text based on a given prompt.

Translate Text

Tool to translate text from one language to another with support for formality, length control, and profanity masking.

Update Knowledge Graph

Tool to update an existing knowledge graph.

Upload File

Submit a file to Writer using a multipart upload for file-based operations.

Web Search

Tool to perform a web search.

FAQ

Frequently asked questions

Start with Writer.It takes 30 seconds.

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

Start building