Skip to main content
Glama

MCP Servers (OnePiece & Geolocalizar)

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


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 アドレスを地理位置特定できる 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

          • 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 -
            3
            664
            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 -
            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 -
            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
            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