Skip to main content
Glama

Semantic D1 MCP

Official
start-d1-mcp.shβ€’862 B
#!/bin/bash echo "πŸ—„οΈ Starting D1 Database MCP Server..." if [ ! -f .env ]; then echo "⚠️ Creating .env from template..." cp .env.example .env echo "πŸ“ Please edit .env with your Cloudflare credentials:" echo " CLOUDFLARE_ACCOUNT_ID=your-account-id" echo " CLOUDFLARE_API_TOKEN=your-api-token" echo " D1_DEV_DATABASE_ID=your-database-id" exit 1 fi set -a; source .env; set +a if [ -z "$CLOUDFLARE_ACCOUNT_ID" ] || [ -z "$CLOUDFLARE_API_TOKEN" ]; then echo "❌ Please configure .env file with Cloudflare credentials" exit 1 fi if [ ! -d "node_modules" ]; then echo "πŸ“¦ Installing dependencies..." npm install fi if [ ! -d "dist" ] || [ "src/index.ts" -nt "dist/index.js" ]; then echo "πŸ”¨ Building MCP server..." npm run build fi echo "βœ… Starting D1 Database MCP Server" npm start

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/semanticintent/semantic-d1-mcp'

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