How to integrate Turso MCP with Hermes

Connect Hermes to Turso MCP. Find the closest turso region to berlin, stream real-time updates from the orders table, and more using natural language, with authentication handled for you.

Turso logoTurso
Api Key

Turso is a fully managed database platform built on libSQL, delivering serverless SQLite databases with global replication. It's perfect for applications needing fast, low-latency data access across regions.

48 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 Turso 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.

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

Also integrate Turso with

What is Composio Connect?

Composio Connect is a consumer offering that lets anyone plug 2,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 Turso 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 Turso

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

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

5. Done!

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

The Turso MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Turso account. It provides structured and secure access to your Turso databases, so your agent can discover optimal regions, monitor real-time table changes, and validate API tokens for secure automation on your behalf.

  • Region optimization for deployments: Instantly find and select the closest Turso region to minimize database latency based on your agent’s or application’s location.
  • Real-time change monitoring: Let your agent listen for real-time insert, update, or delete operations on specific tables, enabling immediate reactions to critical data changes.
  • API token validation: Have your agent check and confirm the validity and expiration time of Turso API tokens before running sensitive operations.
  • Event-driven automation: Build workflows that automatically trigger downstream actions in response to live database updates streamed via Turso’s change listener.

Way Forward

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

Add Location to Group

Add a location to the specified group in an organization or user account.

Add Member

Add an existing Turso user to a team organization as an admin, member, or viewer.

Closest Region

Tool to get the closest Turso region based on client location.

Create Database

Create a database in an existing organization group, optionally seeded or encrypted.

Create Group

Create a group for an organization or user at a location, optionally enabling extensions.

Delete Database

Delete a database belonging to an organization or user account.

Delete Group

Delete a group belonging to an organization or user account.

Delete Invite

Delete a pending organization invite by email.

Get Current Subscription

Get the current subscription details for an organization.

Get Current User

Get profile information about the currently authenticated Turso user.

Invite Organization Member

Invite a user to an organization by email or existing Turso username.

List API Tokens

List API tokens belonging to the authenticated user, including their restrictions and scopes.

List Audit Logs

List one page of organization audit logs, newest first.

List Database Instances

List a database's primary and replica instances in its group's regions.

List Databases

List an organization's databases, optionally filtered by group or parent database ID.

List Deleted Databases

List databases deleted within the last five days that can still be restored.

List Deleted Groups

List groups deleted within the last five days that can still be restored.

Listen To Changes

Listen for committed insert, update, or delete events on a table in a Turso database, using its database-specific URL.

List Groups

List all groups belonging to an organization or user account.

List Invites

List pending invites for an organization.

List Invoices

List invoices for an organization, optionally filtering by invoice type.

List Locations

List locations where you can create or replicate databases.

List Members

List the members of an organization, including their usernames, roles and emails.

List Organization API Tokens

List organization-scoped and group-scoped API tokens for an organization.

List Organizations

List organizations the authenticated user owns or is a member of.

List Plans

List available plans and their quotas for an organization or user account.

Remove Location from Group

Remove a location from a group belonging to an organization or user account.

Remove Member

Remove a user from an organization by username.

Restore Database

Restore a database deleted within the last five days, as it was at deletion.

Restore Group

Restore a group deleted within the last five days and its deleted members.

Retrieve Database

Retrieve a database's details by organization slug and database name.

Retrieve Database Configuration

Retrieve an individual database configuration belonging to an organization or user.

Retrieve Database Instance

Retrieve an individual database instance by organization, database, and instance name.

Retrieve Database Stats

Retrieve database query statistics, including rows read and written, from the supplied start time or the last 24 hours.

Retrieve Database Usage

Retrieve database activity usage, optionally filtered by an ISO 8601 time period.

Retrieve Group

Retrieve a group belonging to an organization or user account.

Retrieve Group Configuration

Retrieve an individual group configuration belonging to an organization or user.

Retrieve Member

Retrieve details of a specific member in the organization.

Retrieve Organization

Retrieve details of a specific organization or personal account.

Retrieve Organization Usage

Fetch current billing cycle usage for an organization, including database usage.

Transfer Group

Transfer a group to another organization that you own or are a member of.

Unarchive Group

Unarchive a group that has been archived due to inactivity.

Update Database Configuration

Update a database configuration belonging to an organization or user.

Update Databases in Group

Update all databases in a group to the latest libSQL version.

Update Group Configuration

Update a group configuration belonging to an organization or user.

Update Member Role

Update an organization member's role to admin, member, or viewer.

Update Organization

Update an organization you own or are a member of.

Validate API Token

Validate the configured Turso API token through the Platform API and retrieve its expiration information.

FAQ

Frequently asked questions

Start with Turso.It takes 30 seconds.

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

Start building