instantdb-mcp

instantdb-mcp

3.2

If you are the rightful owner of instantdb-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

An MCP server for interacting with InstantDB, providing a read-only interface for querying using a dynamically loaded schema and environment configuration.

The instantdb-server MCP Server is designed to facilitate interaction with InstantDB by providing a read-only interface for executing queries. It dynamically loads the database schema and environment configuration, allowing users to execute queries and retrieve examples based on pre-defined patterns. The server supports essential operations such as executing specific queries, retrieving query history, and accessing pre-defined example queries. It integrates seamlessly with the InstantDB schema and environment variables, ensuring a smooth setup and operation. The server is particularly useful for developers looking to interact with InstantDB in a structured and efficient manner.

Features

  • get_examples: Returns pre-defined example queries for various categories such as 'basic_read', 'filtering', and 'associations'.
  • queryDB: Executes a specific query against InstantDB, requiring 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 and environment variable configuration from the project's .env file.