MCP 服务器 (OnePieceServer 和地理定位)
该项目包含两个使用@modelcontextprotocol/sdk
开发的 MCP 服务器。每个都公开了一个可由 MCP 兼容的 AI 客户端集成的有用工具。
📁 内容
- onePiece.ts:用于查询海贼王角色的 MCP 服务器
- geolocalizar.ts:用于对公共 IP 地址进行地理定位的 MCP 服务器
⚙️ 要求
- Node.js ≥ 18
- npm≥9
📦安装依赖项
🏴☠️ OnePieceServer MCP
📄 描述
OnePieceServer
允许您查看动漫/漫画《海贼王》中人物的信息,可以单独查看,也可以从整个可用列表中查看。
🚀 运行
您还可以使用 MCP 检查器:
🛠 暴露的工具: one_piece
- 输入:完整列表:
- 输出:
🌐 使用的 API
https://onepieceapi-50cm.onrender.com/personaje/{id}
https://onepieceapi-50cm.onrender.com/personajes
🌍 地理定位 MCP
📄 描述
Geolocalizar
允许您从公共 IP(IPv4)地址获取大致的地理信息。
🚀 运行
或者与 MCP Inspector 一起使用:
🛠 公开工具: geolocalizar
- 输入:
- 输出:
🔐 验证
使用zod
验证输入是否为 IPv4 格式的有效 IP。
📁 项目结构
🧪 开发
两个服务器都使用StdioServerTransport
通过stdin
和stdout
进行通信,从而允许从 CLI 轻松执行或与 MCP 客户端集成。
🧑💻作者
由Diego Rodríguez开发
✉️ contacto@diegorodriguez.dev
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
两个 MCP 服务器的集合,可以查询海贼王动漫人物并对公共 IP 地址进行地理定位。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server that enables fetching web content using the Node.js undici library, supporting various HTTP methods, content formats, and request configurations.Last updated -366411TypeScriptMIT License
- -securityFlicense-qualityAn MCP server implementation that enables users to interact with the PokeAPI to fetch Pokemon information through natural language queries.Last updated -Python
- -securityFlicense-qualityAn MCP server that provides detailed Pokémon information by integrating with the PokeAPI, allowing users to fetch comprehensive data about Pokémon and simulate battles.Last updated -1Python
- -securityFlicense-qualityAn MCP server that provides standardized access to Pokemon data, allowing users to search, compare, and retrieve detailed information about Pokemon through natural language tools.Last updated -2TypeScript