Model Context Protocol and Fireproof Demo: JSON Document Collection Server

by MCP-Mirror

312 downloads
Not rated
GitHub

About

This server is an example of using a Fireproof database inside a Model Context Protocol (MCP) server, designed to plug code and data into AI systems such as Claude Desktop. It allows creation of multiple JSON document databases, supports basic CRUD operations, querying documents…

Details

Author
MCP-Mirror
Downloads
312
Categories
Database

- Creates multiple JSON document databases using Fireproof.
- Full CRUD operations on documents within any database.
- Query documents sorted by any field.
- Sync any database to Fireproof Cloud for sharing.
- Provides a dashboard URL for cloud-managed databases.

Install dependencies with npm install, build with npm build, then add the server configuration to Claude Desktop’s claude_desktop_config.json file (located on macOS or Windows) pointing to the built index.js file. Invoke it by chatting with Claude Desktop; the assistant can create databases, add documents, query, and sync to the cloud as demonstrated in the sample chat sessions.

Model Context Protocol and Fireproof Demo: JSON Document Collection Server

<h1>
Fireproof
❤️
MCP
</h1>

This is an example of how to use a Fireproof database in a Model Context Protocol server (used for plugging code and data into A.I. systems such as Claude Desktop).

This server:

allows the creation of multiple "JSON Document Databases" (implemented using Fireproof)
implements basic CRUD operations (Create, Read, Update, Delete) within any database and the ability to query documents sorted by any field.
* allows sharing of any database with others using the Fireproof Cloud service and dashboard

Prior art: This is based on https://github.com/fireproof-storage/mcp-database-server - it adds multiple databases plus the ability to sync to the cloud.

Running the Server

First, build it:

npm install
npm build

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json

On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "json-db-collections": {
      "command": "<base-dir>/mcp-json-db-collection-server/build/index.js"
    }
  }
}
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.