什么是 MCP?
Model Context Protocol(MCP)是一个 JSON-RPC 2.0 接口,使 AI agents 与应用能够与 Mirobody Health 的 tools 与 resources 交互。MCP endpoint:
http://localhost:18080/mcpKey Concepts
Tools
AI agents 可调用的 functions,用于执行动作(例如获取健康数据、链接 providers)
Resources
Agents 可访问的数据源(例如用户 profiles、健康指标)
JSON-RPC 2.0
基于 HTTP 的远程过程调用标准协议
Agents
使用 tools 与 resources 帮助用户的 AI assistants