instantdb-server MCP 服务器
用于与 InstantDB 交互的 MCP 服务器。
该服务器提供了一个只读接口,用于使用动态加载的架构和环境配置来查询 InstantDB。它包含一些工具,用于执行查询并根据预定义的模式检索查询示例。
特征
工具
- 获取示例
返回各种类别的预定义示例查询(例如“basic_read”、“filtering”、“associations”)。 - 查询数据库
对 InstantDB 执行特定查询。需要一个查询和一个描述性的名称参数。 - 列表查询
检索已执行查询的历史记录,包括查询 ID、名称、时间戳和结构等详细信息。 - 返回查询
通过唯一 ID 检索特定查询以供以后参考或执行。
架构和环境集成
- 从相对于提供的项目目录的公共文件位置动态加载 InstantDB 模式(例如,instant.schema.ts、src/instant.schema.ts、app/instant.schema.ts)。
- 环境变量配置从项目的 .env 文件加载。必需的变量包括:
- 即时应用 ID
- 即时应用管理员令牌
待定功能
- 从常见文件位置动态检测 InstantDB 权限文件。
发展
安装依赖项:
构建服务器:
对于使用自动重建的开发:
安装
要将服务器与 Claude Desktop 一起使用,请将以下配置添加到您的 Claude Desktop 设置中:
在 macOS 上:~/Library/Application Support/Claude/claude_desktop_config.json
在 Windows 上:%APPDATA%/Claude/claude_desktop_config.json
示例配置:
调试
要调试 MCP 服务器通信,请使用 MCP Inspector:
检查器将提供一个 URL 来访问用于监控 MCP 服务器操作的工具。
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.
提供用于查询 InstantDB 数据的只读界面,并提供工具来执行查询并根据预定义模式检索示例。
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