How to integrate Grist 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 Grist 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.

Grist logoGrist
Api Key

Grist is a relational spreadsheet platform combining spreadsheet flexibility with database power. It helps you build custom applications tailored to your unique data needs.

30 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 Grist 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 Grist 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 Grist 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 Grist

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

4. Done. You're all set with a new Grist 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 Grist or request any Grist-related task. It will prompt you to authenticate and authorize access.

5. Done!

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

The Grist MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Grist account. It provides structured and secure access to your spreadsheets and documents, so your agent can perform actions like adding records, creating tables, managing documents, and handling attachments on your behalf.

  • Automated data entry and record management: Instruct your agent to add, update, or delete records in specific Grist tables, streamlining your workflows and reducing manual input.
  • Table and document creation: Let your agent create new tables or entire documents in your workspaces, helping you quickly set up and expand your data structures as your needs grow.
  • Attachment and file management: Ask your agent to remove unwanted attachments from Grist documents, keeping your files organized and storage efficient.
  • Custom webhook integration: Have your agent register or delete webhooks for documents, enabling real-time notifications and integrations with other tools or services you rely on.
  • User and access provisioning via SCIM: Direct your agent to create or delete SCIM users as needed, making it easy to manage who has access to your Grist environment.

Way Forward

With Grist 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 Grist action and event your agent gets out of the box.

Add Records

Add one or more records to a Grist table.

Create Document

Creates a new Grist document in a specified workspace.

Create SCIM User

Tool to create a new SCIM user.

Create Table

Tool to create tables in a document.

Create Document Webhook

Tool to create a new webhook for a specified document.

Remove Unused Attachments

Remove unused attachments from a Grist document to free up storage space.

Delete Column

Tool to delete a column from a Grist document table.

Delete Grist Table Records

Tool to delete records from a specified Grist table.

Delete SCIM User

Delete a user from the Grist organization by their numeric user ID.

Delete Webhook

Permanently removes a webhook from a Grist document.

Download All Attachments Archive

Download all attachments from a Grist document as a single archive file (.

Download Attachment

Download a file attachment from a Grist document.

Fetch Document Metadata

Tool to fetch metadata for a specified Grist document.

Fetch Table Metadata

Tool to retrieve metadata for a specified table in a Grist document.

Get Org Access

Retrieves the list of users who have access to a Grist organization along with their access roles (owners, editors, viewers).

Get Users

Tool to retrieve a list of users via SCIM v2.

List Attachments

Tool to list all attachments in a Grist document.

List Columns

Tool to list all columns in a specified Grist table.

List Organizations

Tool to list all organizations accessible to the authenticated user.

List Records

Tool to retrieve records from a specified table within a Grist document.

List Tables

Tool to list all tables within a specified document.

List Webhooks

List all webhooks configured for a Grist document.

List Workspaces

Tool to list all workspaces and documents accessible to the authenticated user on the current site.

Run SQL Query

Tool to execute a read-only SQL SELECT query on a Grist document.

Update Column Metadata

Updates metadata (label, type, description, formula, etc.

Update Document Metadata

Tool to update metadata for a specified Grist document.

Update Records

Update existing records in a Grist table by their row IDs.

Update Table Metadata

Update metadata properties for a table in a Grist document.

Update Webhook

Update an existing webhook configuration for a Grist document.

Upload Attachment

Upload one or more file attachments to a Grist document.

FAQ

Frequently asked questions

With a standalone Grist MCP server, the agents and LLMs can only access a fixed set of Grist tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Grist 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 Grist tools.

Yes, absolutely. You can configure which Grist 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 Grist data and credentials are handled as safely as possible.

Start with Grist.It takes 30 seconds.

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

Start building