@orphnet/d1-eloquent-mcp
@orphnet/d1-eloquent-mcp
MCP-Server, der Claude (und jedem mit dem Model Context Protocol kompatiblen Client) live, kontextbezogenen Zugriff auf Ihr d1-eloquent-Projekt bietet - Modelle, Migrationen, Schema, Seeder, Fabriken und die CLI.
bunx @orphnet/d1-eloquent-mcpWas es Claude bietet
24 Tools, 6 Ressourcen, 2 Prompts.
Introspektion (nur lesend)
list_models·read_model·list_migrations·read_migration·migration_statusinspect_schema- fragtsqlite_masterab, um zu sehen, was tatsächlich in Ihrer D1 istquery_d1- schreibgeschütztes SQL gegen die lokale D1 (nur SELECT/WITH/EXPLAIN/PRAGMA)list_seeders·list_factories·read_file·refresh_projectvalidate_model·validate_all- deklarierte Modellstruktur mit dem tatsächlichen Schema vergleichen, Abweichungen melden
Generierung (delegiert an die d1-eloquent CLI)
make_model·make_migration·make_seeder·make_factorymake_resource- Modell + Migration + Seeder + Factory in einem Zugmake_pivot
Ausführung (delegiert an die d1-eloquent CLI, standardmäßig lokale D1)
run_migrate·run_rollback·run_fresh·run_seedrun_generate- Schema-Diff: schreibt die Migration, die die Lücke zwischen Ihren Modellen und dem Live-Schema schließt
Ressourcen - Claude kann diese als Hintergrundkontext einbinden
d1-eloquent://project/summary- der ermittelte Zustand Ihres Projektsd1-eloquent://docs/api/base-modeld1-eloquent://docs/api/query-builderd1-eloquent://docs/api/relationshipsd1-eloquent://docs/api/transactionsd1-eloquent://docs/guide/quick-start
Prompts - vorgefertigte mehrstufige Workflows
create-model- Scaffolding + Migration + Verifizierung in einem Chataudit-schema- jedes Modell mit dem tatsächlichen D1-Schema vergleichen, Abweichungen melden
Related MCP server: Semantic D1 MCP
Installation
Claude Code
claude mcp add d1-eloquent -- bunx @orphnet/d1-eloquent-mcpClaude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) oder %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"d1-eloquent": {
"command": "bunx",
"args": ["@orphnet/d1-eloquent-mcp"]
}
}
}Pro Projekt (Claude Code)
.claude/mcp.json:
{
"mcpServers": {
"d1-eloquent": {
"command": "bunx",
"args": ["@orphnet/d1-eloquent-mcp"]
}
}
}Um auf ein Projekt zu verweisen, das nicht das aktuelle Verzeichnis ist:
{
"mcpServers": {
"d1-eloquent": {
"command": "bunx",
"args": ["@orphnet/d1-eloquent-mcp", "--project", "/path/to/your/d1-eloquent-project"]
}
}
}Voraussetzungen
Node.js ≥ 22
wranglerinstalliert und für den D1-Zugriff authentifiziert (bun add -D wrangler)Ein bestehendes
@orphnet/d1-eloquent-Projekt - der Server findet Modelle/Migrationen/Seeder, indem er Ihren Dateibaum durchsucht
Sicherheit
query_d1akzeptiert nurSELECT/WITH/EXPLAIN/PRAGMAund weist Nutzlasten mit mehreren Anweisungen zurück.read_fileweist Pfade zurück, die..enthalten oder mit/beginnen.Generierungswerkzeuge rufen Ihre vorhandene d1-eloquent CLI auf - sie bringen keine eigenen Writer mit.
Ausführungswerkzeuge (
run_migrate/run_rollback/run_fresh/run_seed) arbeiten standardmäßig nur mit der lokalen D1. Für Remote führen Sie die CLI direkt aus.
Lizenz
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceAn MCP server that allows using natural language to manage Cloudflare resources (Workers, KV, R2, D1) through Claude Desktop, VSCode, and other MCP clients.1610Apache 2.0

Semantic D1 MCPofficial
AlicenseAqualityDmaintenanceEnables AI-assisted analysis and optimization of Cloudflare D1 databases through comprehensive schema introspection, relationship mapping, validation, and optimization recommendations. Demonstrates semantic intent patterns with hexagonal architecture for maintainable database development workflows.42MIT- Flicense-qualityAmaintenanceA secure, read-only MCP server that empowers Claude Desktop and AI agents to safely query and inspect local SQLite databases.
- Alicense-qualityBmaintenanceA Node.js MCP server that gives Claude Code direct access to file operations, database queries, PHP execution, SFTP deployment, and over 60 specialized tools for development and debugging.1MIT
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
The bridge from K2 agents through Wrangler to your master AI - safe, approval-gated Cloudflare ops.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Orphnet/d1-eloquent-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server