MCP サーバー (OnePieceServer & Geolocate)
このプロジェクトには@modelcontextprotocol/sdk
で開発された 2 つの 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 クライアントとの統合が可能になります。
🧑💻 著者
ディエゴ・ロドリゲスが開発した
✉️ 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
ワンピースのアニメキャラクターをクエリし、パブリック IP アドレスを地理位置特定できる 2 つの MCP サーバーのコレクション。
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