Durable Objects MCP Server

Unofficial MCP server for querying Cloudflare Durable Object SQLite storage from AI clients (Claude Code, Cursor, Windsurf, etc.). Gives AI clients

Local serverstdioTypeScript

What is the Durable Objects MCP MCP server?

Most database access work still happens through a UI a human drives. Durable Objects MCP MCP server moves it into the conversation instead. Unofficial MCP server for querying Cloudflare Durable Object SQLite storage from AI clients (Claude Code, Cursor, Windsurf, etc.). Gives AI clients structured, read-only access to your DO storage. Connect once, discover tables, run queries.

The tools it exposes

The server publishes 3 tools. What each one is for:

  • list_classes — Lists queryable DO classes configured in your deployment
  • describe_schema — Returns tables and columns for a DO instance
  • execute_read_query — Executes read-only SQL against a DO instance

Getting it running

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

What it needs from you

Configuration is passed through the environment: ACCESS_CLIENT_ID, ACCESS_CLIENT_SECRET, COOKIE_ENCRYPTION_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

How it compares

Among the database access options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Durable Objects MCP's toolset — list_classes, describe_schema, execute_read_query — is a fair guide to whether it matches your workflow. It is maintained by spawnbase; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Durable Objects MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
list_classesLists queryable DO classes configured in your deployment
describe_schemaReturns tables and columns for a DO instance
execute_read_queryExecutes read-only SQL against a DO instance

How to install the Durable Objects MCP MCP server

**Cursor** (`~/.cursor/mcp.json`):

```json
{
  "mcpServers": {
    "do-explorer": { "url": "https://your-worker.workers.dev/mcp" }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
ACCESS_CLIENT_IDConfiguration value read at startup.Optional
ACCESS_CLIENT_SECRETCredential the server authenticates with.Yes
COOKIE_ENCRYPTION_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Durable Objects MCP to list classes.
  • Use Durable Objects MCP to describe schema.
  • Use Durable Objects MCP to execute read query.

Frequently asked questions

It connects Durable Objects MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (list_classes, describe_schema, execute_read_query) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Durable Objects MCP directly.