Skip to main content
Glama

MCP Servers (OnePiece & Geolocalizar)

MCP-Server (OnePieceServer & Geolocalizar)

Este proyecto contiene dos servidores MCP desarrollados con @modelcontextprotocol/sdk. Cada uno expone una herramienta útil que puede ser integrada por un cliente AI compatible con MCP.


📁 Contenido

  • onePiece.ts: Servidor MCP para consultar personajes de One Piece
  • geolocalizar.ts: Servidor MCP para geolocalizar direcciones IP públicas

⚙️ Requisitos

  • Node.js ≥ 18
  • npm ≥ 9

📦 Instalar dependencias

npm install @modelcontextprotocol/sdk axios zod npm install -D tsx

🏴‍☠️ OnePieceServer MCP

📄 Descripción

OnePieceServer permite consultar información de personajes del anime/manga One Piece, ya sea individualmente o toda la lista disponible.

🚀 Ejecutar

npx tsx onePiece.ts

También puedes usar el Inspector MCP:

npx -y @modelcontextprotocol/inspector npx -y tsx onePiece.ts

🛠 Herramienta expuesta: one_piece

  • Input:
    { "id": "1" }
    Para obtener la lista completa:
    { "id": "todos" }
  • Output:
    { "content": [ { "type": "text", "text": "Información del personaje: { ... }" } ] }

🌐 API usada

  • https://onepieceapi-50cm.onrender.com/personaje/{id}
  • https://onepieceapi-50cm.onrender.com/personajes

🌍 Geolocalizar MCP

📄 Descripción

Geolocalizar permite obtener información geográfica aproximada de una dirección IP (IPv4) pública.

🚀 Ejecutar

npx tsx main.ts

O usar con el Inspector MCP:

npx -y @modelcontextprotocol/inspector npx -y tsx main.ts

🛠 Herramienta expuesta: geolocalizar

  • Input:
    { "ip": "8.8.8.8" }
  • Output:
    { "content": [ { "type": "text", "text": "{ \"ip\": \"8.8.8.8\", \"country\": \"United States\", ... }" } ] }

🔐 Validación

Usa zod para validar que el input sea una IP válida en formato IPv4.


📁 Estructura del Proyecto

. ├── geolocalizar.ts # MCP Geolocalizar ├── onePiece.ts # MCP OnePieceServer ├── package.json # Archivo de configuracion de NPM └── README.md # Este archivo

🧪 Desarrollo

Ambos servidores se comunican mediante stdin y stdout usando StdioServerTransport, lo que permite su ejecución fácil desde CLI o integración con clientes MCP.


🧑‍💻 Autor

Desarrollado por Diego Rodríguez
✉️ contacto@diegorodriguez.dev


Installing via Smithery

To install OnePiece & Geolocalizar MCP Servers for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @Haonter/MCP-Servers --client claude
Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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.

원피스 애니메이션 캐릭터에 대한 쿼리와 공개 IP 주소의 지리적 위치를 파악할 수 있는 두 개의 MCP 서버로 구성된 컬렉션입니다.

  1. 📁 콘텐츠
    1. ⚙️ 요구 사항
      1. 📦 종속성 설치
    2. 🏴‍☠️ 원피스서버 MCP
      1. 📄 설명
      2. 🚀 달리다
      3. 🛠 노출된 도구: one_piece
      4. 🌐 사용된 API
    3. 🌍 MCP 지리적 위치 확인
      1. 📄 설명
      2. 🚀 달리다
      3. 🛠 노출된 도구: geolocalizar
      4. 🔐 검증
    4. 📁 프로젝트 구조
      1. 🧪 개발
        1. 🧑‍💻 저자

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            An MCP server that enables fetching web content using the Node.js undici library, supporting various HTTP methods, content formats, and request configurations.
            Last updated 5 months ago
            3
            612
            11
            TypeScript
            MIT License
            • Apple
            • Linux
          • -
            security
            F
            license
            -
            quality
            An MCP server implementation that enables users to interact with the PokeAPI to fetch Pokemon information through natural language queries.
            Last updated 4 months ago
            Python
            • Linux
            • Apple
          • -
            security
            F
            license
            -
            quality
            An 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 3 months ago
            1
            Python
          • -
            security
            F
            license
            -
            quality
            An 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 2 months ago
            2
            TypeScript

          View all related MCP servers

          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/Haonter/MCP-Servers'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server