How to integrate Ragie MCP with Hermes

Hermes is a 24/7 autonomous agent that lives on your computer or server — it remembers what it learns and evolves as your usage grows. This guide explains the easiest and most robust way to connect your Ragie account to Hermes. You can do this through either Composio Connect CLI or Composio Connect MCP. For personal use we recommend the CLI, but you won't go wrong with MCP either.

Ragie logoRagie
Api Key

Ragie is a fully managed Retrieval-Augmented Generation (RAG) service for developers. It streamlines integration of RAG workflows so you can focus on building smarter applications.

31 Tools

Introduction

Hermes is a 24/7 autonomous agent that lives on your computer or server — it remembers what it learns and evolves as your usage grows.

This guide explains the easiest and most robust way to connect your Ragie account to Hermes. You can do this through either Composio Connect CLI or Composio Connect MCP. For personal use we recommend the CLI, but you won't go wrong with MCP either.

Also integrate Ragie with

What is Composio Connect?

Composio Connect is a consumer offering that lets anyone plug 1,000+ applications directly into their agent harness — including Hermes. It can:

  • Search and load tools from relevant toolkits on-demand, reducing context usage.
  • Chain multiple tools to accomplish complex workflows via a remote workbench, without excessive back-and-forth with the LLM.
  • Manage app authentication end-to-end with zero manual overhead.

Integrating Ragie with Hermes

Using Composio Connect CLI

1. Install the Composio CLI

Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.

bash
curl -fsSL https://composio.dev/install | bash
Hermes authenticating with Composio

2. Authenticate

Once the CLI is installed, ask Hermes to authenticate with Composio.

3. Connect to Ragie

Ask your agent to connect to Ragie, or simply request any Ragie-related task. Hermes will prompt you to authenticate and authorize access.

4. Done. You're all set with a new Ragie connection.


Using Composio Connect MCP

1. Get your MCP URL and API Key

Go to dashboard.composio.dev and copy your Connect MCP URL and API key.

Copy MCP URL and API key from Composio dashboard

2. Open the Hermes config file

bash
nano ~/.hermes/config.yaml

3. Add the Composio Connect MCP server

bash
mcp_servers:
  composio:
    url: "https://connect.composio.dev/mcp"
    headers:
      x-consumer-api-key: "YOUR_COMPOSIO_API_KEY"
    connect_timeout: 60
    timeout: 180

Save with Ctrl + O, Enter, then exit with Ctrl + X.

4. Restart your Hermes agent

Once restarted, ask your agent to connect to Ragie or request any Ragie-related task. It will prompt you to authenticate and authorize access.

5. Done!

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

The Ragie MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Ragie account. It provides structured and secure access so your agent can perform Ragie operations on your behalf.

Way Forward

With Ragie connected, Hermes can now act on your behalf whenever it detects a relevant task or you ask it to.

From here, you can extend Hermes further:

  • Connect more apps: Calendar, Slack, Notion, Linear, and hundreds of others are available through the same Composio Connect setup. Each new integration compounds what Hermes can do for you.
  • Build workflows across tools: Once multiple apps are connected, Hermes can chain actions together — turn an email into a calendar invite, a Slack message into a Linear ticket, or a meeting note into a follow-up draft.
  • Let it learn your patterns: The more you use Hermes, the better it gets at anticipating how you'd handle recurring tasks. Give it feedback on drafts and decisions, and it will adapt.

If you run into trouble or want to share what you've built, join the community or check out the Docs for deeper configuration options.

TOOLS

Supported Tools

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

Create Document

Tool to upload and process a document file in Ragie.

Create Document From URL

Tool to ingest a document from a publicly accessible URL.

Create Document Raw

Tool to ingest a document as raw text or JSON.

Create Instruction

Tool to create a new instruction that applies natural language directives to documents as they're ingested or updated.

Create OAuth Redirect URL

Tool to create an OAuth redirect URL for initializing embedded connector OAuth flows.

Create Partition

Tool to create a new partition for scoping documents and connections in Ragie.

Delete Document

Tool to delete a document from Ragie.

Delete Instruction

Tool to delete an instruction and all associated entities.

Delete Partition

Tool to delete a partition and all associated data irreversibly.

Get Document

Tool to retrieve a specific document by its unique identifier.

Get Document Chunk

Tool to retrieve a specific document chunk by its document and chunk ID.

Get Document Chunk Content

Tool to retrieve document chunk content in requested format with streaming support for media.

Get Document Chunks

Tool to retrieve document chunks with pagination support.

Get Document Content

Tool to retrieve the content of a document by its ID.

Get Document Summary

Tool to retrieve an LLM-generated summary of a document by its ID.

Get Partition

Tool to retrieve a partition by ID with usage statistics and resource limits.

Get Response

Tool to retrieve a response by its unique identifier.

List Connections

Tool to list all connections sorted by creation date descending with pagination support.

List Connection Source Types

Tool to list available connection source types like 'google_drive' and 'notion' along with their metadata.

List Documents

Tool to list all documents sorted by creation date (descending) with pagination support.

List Entities By Document

Tool to retrieve all extracted entities from a specific document with pagination support.

List Entities by Instruction

Tool to retrieve entities generated by a specific instruction.

List Instructions

Tool to retrieve all instruction records from the Ragie system.

List Partitions

Tool to retrieve a paginated list of all partitions sorted by name in ascending order.

Patch Document Metadata

Tool to update metadata for a specific document with partial update support.

Retrieve Document Chunks

Tool to retrieve relevant document chunks based on a query.

Set Partition Limits

Tool to set usage limits on partition pages and media.

Update Document From URL

Tool to update an existing document by fetching content from a publicly accessible URL.

Update Document Raw

Tool to update a document's content from raw text or JSON data.

Update Instruction

Tool to update an instruction's active status.

Update Partition

Tool to update a partition's configuration including description, context-aware settings, and metadata schema.

FAQ

Frequently asked questions

With a standalone Ragie MCP server, the agents and LLMs can only access a fixed set of Ragie tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Ragie and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Hermes fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Ragie tools.

Yes, absolutely. You can configure which Ragie scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Ragie data and credentials are handled as safely as possible.

Start with Ragie.It takes 30 seconds.

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

Start building