instantdb-mcp

instantdb-mcp

0

instantdb-server is an MCP server designed to facilitate read-only querying of InstantDB. It supports dynamic schema loading and integrates with environment configurations. Key features include executing queries and listing query histories.

instantdb-server MCP Server

An MCP server for querying InstantDB with a read-only interface using a dynamic schema and environment configuration.

Features

Tools

  • get_examples: Returns predefined example queries.
  • queryDB: Executes queries against InstantDB.
  • list_queries: Gets history of executed queries.
  • return_query: Retrieves specific queries by ID.

Schema and Environment Integration

  • Dynamic schema loading from common file locations.
  • Environment variable configuration from a project’s .env file.

Pending Features

  • Dynamic detection of InstantDB permissions file.

Development

Install dependencies, build the server, and use the auto-rebuild feature for development.

Installation

Configuration instructions for Claude Desktop on macOS and Windows are provided.

Debugging

Use MCP Inspector for monitoring server operations.