@orphnet/d1-eloquent-mcp
@orphnet/d1-eloquent-mcp
Servidor MCP que le da a Claude (y a cualquier cliente compatible con Model Context Protocol) acceso en tiempo real y consciente del contexto a tu proyecto d1-eloquent - modelos, migraciones, esquema, seeders, factories y la CLI.
bunx @orphnet/d1-eloquent-mcpQué le ofrece a Claude
24 herramientas, 6 recursos, 2 indicaciones.
Introspección (solo lectura)
list_models·read_model·list_migrations·read_migration·migration_statusinspect_schema- consultarsqlite_masterpara ver qué hay realmente en tu D1query_d1- SQL de solo lectura contra el D1 local (solo SELECT/WITH/EXPLAIN/PRAGMA)list_seeders·list_factories·read_file·refresh_projectvalidate_model·validate_all- comparar la forma declarada del modelo contra el esquema real e informar de desviaciones
Generación (delega en la CLI de d1-eloquent)
make_model·make_migration·make_seeder·make_factorymake_resource- modelo + migración + seeder + factory de una sola vezmake_pivot
Ejecución (delega en la CLI de d1-eloquent, D1 local por defecto)
run_migrate·run_rollback·run_fresh·run_seedrun_generate- diff de esquema: escribir la migración que cierra la brecha entre tus modelos y el esquema real
Recursos - Claude puede incorporarlos como contexto de fondo
d1-eloquent://project/summary- el estado descubierto de tu proyectod1-eloquent://docs/api/base-modeld1-eloquent://docs/api/query-builderd1-eloquent://docs/api/relationshipsd1-eloquent://docs/api/transactionsd1-eloquent://docs/guide/quick-start
Indicaciones - flujos de trabajo predefinidos de varios pasos
create-model- andamiaje + migración + verificación en un solo chataudit-schema- comparar cada modelo con el esquema real de D1 e informar de desviaciones
Related MCP server: Semantic D1 MCP
Instalación
Claude Code
claude mcp add d1-eloquent -- bunx @orphnet/d1-eloquent-mcpClaude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) o %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"d1-eloquent": {
"command": "bunx",
"args": ["@orphnet/d1-eloquent-mcp"]
}
}
}Por proyecto (Claude Code)
.claude/mcp.json:
{
"mcpServers": {
"d1-eloquent": {
"command": "bunx",
"args": ["@orphnet/d1-eloquent-mcp"]
}
}
}Para apuntar a un proyecto que no sea el directorio actual:
{
"mcpServers": {
"d1-eloquent": {
"command": "bunx",
"args": ["@orphnet/d1-eloquent-mcp", "--project", "/path/to/your/d1-eloquent-project"]
}
}
}Requisitos
Node.js ≥ 22
wranglerinstalado y autenticado para acceso a D1 (bun add -D wrangler)Un proyecto existente
@orphnet/d1-eloquent- el servidor descubre modelos/migraciones/seeders escaneando tu árbol de archivos
Seguridad
query_d1rechaza cualquier cosa que no seaSELECT/WITH/EXPLAIN/PRAGMA, y rechaza cargas útiles de múltiples sentencias.read_filerechaza rutas que contengan..o que empiecen con/.Las herramientas de generación ejecutan tu CLI d1-eloquent existente - no incluyen sus propios escritores.
Las herramientas de ejecución (
run_migrate/run_rollback/run_fresh/run_seed) solo operan en el D1 local por defecto. Para remoto, ejecuta mediante la CLI directamente.
Licencia
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