@orphnet/d1-eloquent-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_modelsA | List all discovered BaseModel subclasses in the project, with table names and feature flags (soft deletes, revisions, relationships, casts). Read-only. |
| read_modelA | Return the full source code of a model file plus parsed metadata (relations, casts, static config). Read-only. |
| list_migrationsB | List all discovered migration files with timestamps. Read-only. |
| read_migrationB | Return the source of a migration file. Read-only. |
| migration_statusA | Run |
| inspect_schemaA | Query the local D1 |
| query_d1A | Run a read-only SQL query (SELECT / WITH / EXPLAIN / PRAGMA only) against the local D1. Multi-statement payloads and writes are rejected. |
| list_seedersA | List discovered seeder files. Read-only. |
| list_factoriesA | List discovered factory files. Read-only. |
| read_fileA | Read any project file by path (relative to project root). Read-only. |
| refresh_projectB | Re-run project discovery, update cached state. |
| validate_modelA | Compare a single model's declared shape (table, casts, softDeletes, timestamps, revisions) against the actual local D1 schema and return any drift as a list of issues. |
| validate_allA | Run validate_model across every discovered model. Returns per-model issues and a summary count of ok / warn / fail. |
| make_modelB | Scaffold a new model file. Delegates to |
| make_migrationB | Scaffold a new migration. Delegates to |
| make_seederC | Scaffold a new seeder. Delegates to |
| make_factoryB | Scaffold a new factory. Delegates to |
| make_resourceB | Scaffold model + migration + seeder + factory in one go. Delegates to |
| make_pivotB | Scaffold a pivot table migration. Delegates to |
| run_generateA | Diff models against the project's migrations (schema diff) and report what a reconciling migration would change. Dry-run by default: prints per-model added/dropped/type-changed columns and writes NOTHING. Pass write=true to emit migration file(s) into the project's migrations directory (review them, then run_migrate). Delegates to |
| run_migrateB | Apply pending migrations. Delegates to |
| run_rollbackA | Roll back the last migration batch. Delegates to |
| run_freshA | Drop all tables and re-run every migration. Delegates to |
| run_seedC | Run seeders. Delegates to |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| create-model | Multi-step walkthrough to scaffold a new model + its migration + seeder + factory, then verify. |
| audit-schema | Compare every model in the project against the actual D1 schema and report drift. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Project summary | Discovered project state: models, migrations, seeders, factories, D1 bindings. |
| BaseModel API | |
| QueryBuilder API | |
| Relationships API | |
| Transactions API | |
| Quick start guide |
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