MCP Servers (OnePiece & Geolocalizar)
MCP 服务器 (OnePieceServer 和地理定位)
该项目包含两个使用@modelcontextprotocol/sdk开发的 MCP 服务器。每个都公开了一个可由 MCP 兼容的 AI 客户端集成的有用工具。
📁 内容
onePiece.ts:用于查询海贼王角色的 MCP 服务器
geolocalizar.ts:用于对公共 IP 地址进行地理定位的 MCP 服务器
Related MCP server: MyAnimeList MCP Server
⚙️ 要求
Node.js ≥ 18
npm≥9
📦安装依赖项
npm install @modelcontextprotocol/sdk axios zod
npm install -D tsx🏴☠️ OnePieceServer MCP
📄 描述
OnePieceServer允许您查看动漫/漫画《海贼王》中人物的信息,可以单独查看,也可以从整个可用列表中查看。
🚀 运行
npx tsx onePiece.ts您还可以使用 MCP 检查器:
npx -y @modelcontextprotocol/inspector npx -y tsx onePiece.ts🛠 暴露的工具: one_piece
输入:
{ "id": "1" }完整列表:
{ "id": "todos" }输出:
{ "content": [ { "type": "text", "text": "Información del personaje: { ... }" } ] }
🌐 使用的 API
https://onepieceapi-50cm.onrender.com/personaje/{id}https://onepieceapi-50cm.onrender.com/personajes
🌍 地理定位 MCP
📄 描述
Geolocalizar允许您从公共 IP(IPv4)地址获取大致的地理信息。
🚀 运行
npx tsx main.ts或者与 MCP Inspector 一起使用:
npx -y @modelcontextprotocol/inspector npx -y tsx main.ts🛠 公开工具: geolocalizar
输入:
{ "ip": "8.8.8.8" }输出:
{ "content": [ { "type": "text", "text": "{ \"ip\": \"8.8.8.8\", \"country\": \"United States\", ... }" } ] }
🔐 验证
使用zod验证输入是否为 IPv4 格式的有效 IP。
📁 项目结构
.
├── geolocalizar.ts # MCP Geolocalizar
├── onePiece.ts # MCP OnePieceServer
├── package.json # Archivo de configuracion de NPM
└── README.md # Este archivo🧪 开发
两个服务器都使用StdioServerTransport通过stdin和stdout进行通信,从而允许从 CLI 轻松执行或与 MCP 客户端集成。
🧑💻作者
由Diego Rodríguez开发
✉️ contacto@diegorodriguez.dev
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAn MCP server that provides IP geolocation services using MaxMind's GeoIP2 databases, allowing users to retrieve geographical information for single or multiple IP addresses including country, city, coordinates, and ASN details.GPL 3.0
- AlicenseBqualityDmaintenanceMCP Server for interacting with the MyAnimeList API, allowing LLM clients to access and interact with anime, manga and more.152MIT
- AlicenseNot gradedqualityDmaintenanceMCP server enabling real-time weather queries via Tavily API and internet usage data by country via MongoDB.Apache 2.0
- FlicenseNot gradedqualityDmaintenanceA collection of MCP servers demonstrating math operations, weather data, and LangGraph workflows.1
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
MCP server for AI dialogue using various LLM models via AceDataCloud
An MCP server for deep research or task groups
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/didacusdev/MCP-Servers'
If you have feedback or need assistance with the MCP directory API, please join our Discord server