Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
D1_DEV_DATABASE_ID | Yes | Your development D1 database ID | |
D1_PROD_DATABASE_ID | No | Your production D1 database ID (optional) | |
CLOUDFLARE_API_TOKEN | Yes | Your Cloudflare API token with D1 access | |
D1_DEV_DATABASE_NAME | Yes | Your development D1 database name | |
CLOUDFLARE_ACCOUNT_ID | Yes | Your Cloudflare account ID | |
D1_PROD_DATABASE_NAME | No | Your production D1 database name (optional) | |
D1_STAGING_DATABASE_ID | No | Your staging D1 database ID (optional) | |
D1_STAGING_DATABASE_NAME | No | Your staging D1 database name (optional) |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
analyze_database_schema | Analyze D1 database schema structure, tables, columns, indexes, and relationships with optional sample data |
get_table_relationships | Extract and analyze foreign key relationships between tables in the database |
validate_database_schema | Validate database schema integrity and detect potential issues (missing primary keys, orphaned foreign keys, etc.) |
suggest_schema_optimizations | Analyze schema and suggest performance optimizations (missing indexes, redundant indexes, etc.) |