InstantDB MCP Server

InstantDB MCP Server

Provides a read-only interface for querying InstantDB data with tools to execute queries and retrieve examples based on pre-defined patterns.

Category
Visit Server

README

instantdb-server MCP Server

An MCP server for interacting with InstantDB.

This server provides a read-only interface for querying InstantDB using a dynamically loaded schema and environment configuration. It includes tools to execute queries and retrieve query examples based on pre-defined patterns.

Features

Tools

  • <code>get_examples</code>
    Returns pre-defined example queries for various categories (e.g., "basic_read", "filtering", "associations").

  • <code>queryDB</code>
    Executes a specific query against InstantDB. Requires a <code>query</code> and a descriptive <code>name</code> parameter.

  • <code>list_queries</code>
    Retrieves the history of executed queries with details such as query ID, name, timestamp, and structure.

  • <code>return_query</code>
    Retrieves a specific query by its unique ID for later reference or implementation.

Schema and Environment Integration

  • Dynamic loading of the InstantDB schema from common file locations relative to a provided project directory (e.g., <code>instant.schema.ts</code>, <code>src/instant.schema.ts</code>, <code>app/instant.schema.ts</code>).
  • Environment variable configuration is loaded from the project’s <code>.env</code> file. Essential variables include:
    • <code>INSTANT_APP_ID</code>
    • <code>INSTANT_APP_ADMIN_TOKEN</code>

Pending Features

  • Dynamic detection of the InstantDB permissions file from common file locations.

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

To use the server with Claude Desktop, add the following configuration to your Claude Desktop settings:

On macOS: <code>~/Library/Application Support/Claude/claude_desktop_config.json</code>
On Windows: <code>%APPDATA%/Claude/claude_desktop_config.json</code>

Example configuration:

{
  "mcpServers": {
    "instantdb-server": {
      "command": "node",
      "args": ["/path/to/instantdb-server/build/index.js"],
      "env": {
        "INSTANT_APP_ID": "your_app_id",
        "INSTANT_APP_ADMIN_TOKEN": "your_admin_token"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

Debugging

For debugging MCP server communications, use the MCP Inspector:

npm run inspector

The Inspector will provide a URL to access tools for monitoring MCP server operations.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured