Skip to main content
Glama

Cloudflare D1 Database MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CLOUDFLARE_API_TOKENYesYour Cloudflare API Token with D1:Edit permissions
CLOUDFLARE_ACCOUNT_IDYesYour Cloudflare Account ID
CLOUDFLARE_D1_DATABASE_IDYesYour Cloudflare D1 Database ID
CLOUDFLARE_D1_DATABASE_NAMEYesYour Cloudflare D1 Database Name

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
d1_query

Run a SQL query against the configured Cloudflare D1 database.

d1_list_tables

List tables available in the Cloudflare D1 database.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/seek-your-way-out/cloudflare-sywo-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server