模型上下文协议和防火演示:JSON文档服务器
这是一个如何在模型上下文协议服务器(用于将代码和数据插入 AI 系统,如Claude Desktop )中使用Fireproof数据库的简单示例。
该演示服务器实现了一个基本的 JSON 文档存储,具有 CRUD 操作(创建、读取、更新、删除)以及按任何字段排序查询文档的能力。
安装
安装依赖项:
运行服务器
要与 Claude Desktop 一起使用,请添加服务器配置:
在 MacOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json
在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json
调试
由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:
检查器将提供一个 URL 来访问浏览器中的调试工具。
local-only server
The server can only run on the client's local machine because it depends on local resources.
具有多用户同步功能的防火分类账数据库
Related MCP Servers
- AsecurityFlicenseAqualityA server providing a unified interface to interact with Firebase services, including Authentication, Firestore, and Storage.Last updated -910TypeScript
- AsecurityFlicenseAqualityA Model Context Protocol server that allows creation and management of multiple Fireproof JSON databases with CRUD operations, querying capabilities, and cloud synchronization for sharing databases with others.Last updated -91JavaScript
- RustMIT License
- PythonMIT License