NannyFYI MCP 接入文档

本页提供可直接用于 AI Agent 的 MCP 端点、方法与工具调用示例。

端点

https://nanny.fyi/api/mcp

支持的方法

  • initialize
  • ping
  • resources/list
  • resources/read
  • tools/list
  • tools/call

工具列表

  • find_nannies: 按位置和筛选条件查找阿姨。
  • search_nannies: 按姓名或拼音关键词搜索公开简历。
  • get_nanny_reviews: 读取近期免费公开评价,并返回历史评价入口。
  • list_job_posts: 读取公开招聘和求职帖子。
  • verify_certificate: 根据证书编号验证技能证书。
  • get_market_stats: 某地区的汇总统计(数量、认证比例、评价/评分、类别与语言分布)。
  • get_nanny_profile: 按服务者 ID 获取公开简历详情。

Agent 接入说明

如果你想把 NannyFYI 接入 Claude Code、ChatGPT、Codex、Cursor 或 Gemini CLI,请查看面向用户的一页式说明。

打开 Agentic NannyFYI

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "initialize",
  "params": {
    "protocolVersion": "2024-11-05"
  }
}
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/list"
}

工具调用示例

{
  "jsonrpc": "2.0",
  "id": 3,
  "method": "tools/call",
  "params": {
    "name": "find_nannies",
    "arguments": {
      "top": 5,
      "country": "US",
      "state": "CA",
      "city": "Sunnyvale",
      "distance": 30,
      "language": "Mandarin"
    }
  }
}
{
  "jsonrpc": "2.0",
  "id": 4,
  "method": "tools/call",
  "params": {
    "name": "verify_certificate",
    "arguments": {
      "certificateId": "ABCD1234"
    }
  }
}
{
  "jsonrpc": "2.0",
  "id": 5,
  "method": "tools/call",
  "params": {
    "name": "get_nanny_profile",
    "arguments": {
      "id": "6366c7c954c9536d6c04bc35"
    }
  }
}