home / mcp / json document collection mcp server

JSON Document Collection MCP Server

Use Model Context Protocol with multiple Fireproof JSON document databases

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "jimpick-mcp-json-db-collection-server": {
      "command": "node",
      "args": [
        "<base-dir>/mcp-json-db-collection-server/build/index.js"
      ]
    }
  }
}

You can run and connect to a multi-database JSON document collection server powered by a Fireproof-backed storage layer. It supports creating multiple databases, performing basic CRUD operations, querying documents by fields, and syncing databases to the cloud for collaboration and sharing.

How to use

You interact with the server through an MCP client to manage several JSON document databases. You can create databases, add, read, update, and delete documents within any database, and run queries that sort results by any field. You can also share a database via the cloud and keep databases synchronized across devices.

How to install

Prerequisites: you need Node.js and npm installed on your system.

npm install
npm build

To run the server locally via the MCP client, install the server package, build it, and then start the server using the configured command. The following steps assume you are placing the server under a base directory you control.

Configuration for Claude Desktop (example MCP URL)

Configure Claude Desktop to load the JSON document collection server by pointing to the local index file after building.

{
  "mcpServers": {
    "json-db-collections": {
      "command": "<base-dir>/mcp-json-db-collection-server/build/index.js"
    }
  }
}

Available tools

createDatabase

Create a new JSON document database to store documents within the server.

crudOperations

Perform create, read, update, and delete operations on documents inside any database.

queryAndSort

Query documents with flexible filters and sort results by any field.

shareToCloud

Share databases with others using the Fireproof Cloud service and dashboard.

cloudSync

Sync local databases to the cloud to keep data in sync across clients.