Loads environment variables from .env files to configure the InstantDB connection with essential variables like INSTANT_APP_ID and INSTANT_APP_ADMIN_TOKEN.
Supports installation on macOS systems with specific configuration paths for Claude Desktop integration.
Uses npm for package management, installation of dependencies, and running build and development scripts.
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
- get_examples
Returns pre-defined example queries for various categories (e.g., "basic_read", "filtering", "associations"). - queryDB
Executes a specific query against InstantDB. Requires a query and a descriptive name parameter. - list_queries
Retrieves the history of executed queries with details such as query ID, name, timestamp, and structure. - return_query
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., instant.schema.ts, src/instant.schema.ts, app/instant.schema.ts).
- Environment variable configuration is loaded from the project’s .env file. Essential variables include:
- INSTANT_APP_ID
- INSTANT_APP_ADMIN_TOKEN
Pending Features
- Dynamic detection of the InstantDB permissions file from common file locations.
Development
Install dependencies:
Build the server:
For development with auto-rebuild:
Installation
To use the server with Claude Desktop, add the following configuration to your Claude Desktop settings:
On macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
On Windows:
%APPDATA%/Claude/claude_desktop_config.json
Example configuration:
Debugging
For debugging MCP server communications, use the MCP Inspector:
The Inspector will provide a URL to access tools for monitoring MCP server operations.
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
Provides a read-only interface for querying InstantDB data with tools to execute queries and retrieve examples based on pre-defined patterns.
Related MCP Servers
- AsecurityAlicenseAqualityAllows AI assistants to list tables, read data, and execute SQL queries through a controlled interface, making database exploration and analysis safer and more structured.Last updated -1752PythonMIT License
- AsecurityAlicenseAqualityConnect and interact with MySQL databases seamlessly. Execute SQL queries, manage database connections, and retrieve data directly through AI assistants. Enhance your AI capabilities with structured access to your MySQL data.Last updated -9415TypeScriptMIT License
IoTDB MCP Serverofficial
AsecurityAlicenseAqualityA server that enables running SQL queries against IoTDB databases, providing data reading capabilities and schema information through a Model Context Protocol interface.Last updated -326PythonApache 2.0- AsecurityFlicenseAqualityProvides tools for AI assistants to explore and interact with MariaDB databases, allowing them to list databases, view tables, inspect schema definitions, and query data.Last updated -42JavaScript