MCP Servers (OnePiece & Geolocalizar)

Integrations

  • Used to make HTTP requests to external APIs, enabling the MCP server to fetch One Piece character data and geolocation information for IP addresses.

  • Required runtime environment for the MCP server, with version 18 or higher needed.

  • Package manager used for installing dependencies, with version 9 or higher required.

MCP サーバー (OnePieceServer & Geolocate)

このプロジェクトには@modelcontextprotocol/sdkで開発された 2 つの MCP サーバーが含まれています。それぞれ、MCP 互換の AI クライアントに統合できる便利なツールを公開します。


📁 コンテンツ

  • onePiece.ts: ワンピースのキャラクターを照会するためのMCPサーバー
  • geolocalizar.ts: パブリック IP アドレスを地理位置情報として特定する MCP サーバー

⚙️ 要件

  • 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 クライアントとの統合が可能になります。


🧑‍💻 著者

ディエゴ・ロドリゲスが開発した
✉️ contacto@diegorodriguez.dev


You must be authenticated.

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 アドレスを地理位置特定できる 2 つの MCP サーバーのコレクション。

  1. 📁 コンテンツ
    1. ⚙️ 要件
      1. 📦 依存関係をインストールする
    2. 🏴‍☠️ OnePieceServer MCP
      1. 📄 説明
      2. 🚀 実行
      3. 🛠 公開ツール: one_piece
      4. 🌐 使用されるAPI
    3. 🌍 MCP の位置を特定
      1. 📄 説明
      2. 🚀 実行
      3. 🛠 公開ツール: geolocalizar
      4. 🔐 検証
    4. 📁 プロジェクト構造
      1. 🧪 開発
        1. 🧑‍💻 著者

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            MCP server for querying the Shodan API and Shodan CVEDB. This server provides tools for IP lookups, device searches, DNS lookups, vulnerability queries, CPE lookups, and more.
            Last updated -
            7
            663
            18
            JavaScript
            MIT License
            • Apple
          • -
            security
            A
            license
            -
            quality
            MCP server for maigret, a powerful OSINT tool that collects user account information from various public sources. This server provides tools for searching usernames across social networks and analyzing URLs.
            Last updated -
            19
            63
            JavaScript
            MIT License
            • Apple
            • Linux
          • -
            security
            A
            license
            -
            quality
            A lightweight mcp server that tells you exactly where you are.
            Last updated -
            Python
            MIT License
          • -
            security
            A
            license
            -
            quality
            An MCP server that helps AI assistants access text content from websites that implement bot detection, bridging the gap between what you can see in your browser and what the AI can access.
            Last updated -
            1
            Python
            Apache 2.0

          View all related MCP servers

          ID: lfyfcqv3fg