mcp-database-server
Protocolo de contexto de modelo y demostración a prueba de fuego: Servidor de documentos JSON
Este es un ejemplo simple de cómo utilizar una base de datos Fireproof en un servidor de Protocolo de Contexto de Modelo (utilizado para conectar código y datos a sistemas de IA como Claude Desktop ).
Este servidor de demostración implementa un almacén de documentos JSON básico con operaciones CRUD (Crear, Leer, Actualizar, Eliminar) y la capacidad de consultar documentos ordenados por cualquier campo.
Instalación
Instalar dependencias:
npm install
npm buildEjecución del servidor
Para utilizar con Claude Desktop, agregue la configuración del servidor:
En MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json En Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"fireproof": {
"command": "/path/to/fireproof-mcp/build/index.js"
}
}
}Depuración
Dado que los servidores MCP se comunican a través de stdio, la depuración puede ser complicada. Recomendamos usar el Inspector MCP , disponible como script de paquete:
npm run inspectorEl Inspector proporcionará una URL para acceder a las herramientas de depuración en su navegador.
Available Tools
4 toolsdelete_json_docC
Delete a JSON document by ID
Inputs: id (required).
load_json_docC
Load a JSON document by ID
Inputs: id (required).
query_json_docsC
Query JSON documents sorted by a field
Inputs: sort_field (required).
save_json_docC
Save a JSON document
Inputs: doc (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose with no overlap: load retrieves, save creates/updates, delete removes, and query searches documents. The descriptions make it easy for an agent to select the right tool for each operation without confusion.
All tool names follow a consistent verb_noun pattern (e.g., load_json_doc, save_json_doc) with snake_case throughout. The naming is predictable and readable, making it easy to understand each tool's function at a glance.
With 4 tools, this server is well-scoped for basic JSON document operations. Each tool earns its place by covering essential CRUD-like functions (load, save, delete, query), which is appropriate for a database server focused on JSON documents.
The tool set provides complete coverage for the domain of JSON document management: it includes create/update (save), read (load), delete, and query operations. There are no obvious gaps, and agents can perform full lifecycle tasks without dead ends.
Maintenance
Related MCP Connectors
Immutable event logging and audit trail for agent transactions
A real-time, multiplayer filesystem for agents and humans: shared files, live edits, history.
Provenance-first database for teams and agents: every value carries sources, rules and coverage.
Governed local-first memory and continuity for AI agents — signed receipts, optional hosted lane.
Related MCP Servers
- AlicenseAqualityDmaintenancePrimary purpose is to maintain a self verifying ledger that requires no consesus. Additional features include support for evm compatible and other block chains.61MIT
- AlicenseAqualityBmaintenanceLocal-first persistent memory MCP: shared SQLite key/value store, searchable, TTL-aware and secret-safe.15111 npm2MIT
- AlicenseNot gradedqualityBmaintenanceLocal-first MCP server providing a shared, AES-256-GCM encrypted SQLite ledger of structured user state (stack, projects, preferences) that any MCP-aware tool can read/write, with user-held keys and optional zero-knowledge sync.1Apache 2.0
- AlicenseBqualityBmaintenanceLocal-first, git-synced memory and system of records for AI agents: a signed append-only event log projected into graph, vector and full-text indexes, with hybrid recall and provenance on every fact.642Apache 2.0