MCP.so
ログイン

MCP Pokeapi Server

@AkhrHysd

基本情報

カテゴリ

その他

トランスポート

stdio

作者

AkhrHysd

MCP Pokeapi Server について

概要はまだありません

MCP Pokeapi Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "mcp-pokeapi-server": {
      "command": "npx",
      "args": [
        "tsc"
      ]
    }
  }
}

MCP Pokeapi Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is mcp-pokeapi-server?

A Model Context Protocol (MCP) server that provides Pokémon information by integrating with the public POKEAPI. It uses JSON-RPC 2.0 over stdio, making it suitable for LLM applications and MCP clients that need to query Pokémon data.

How to use mcp-pokeapi-server?

Install dependencies with npm install, build with npx tsc, then start the server with npx ts-node src/index.ts. From an MCP client, send JSON‑RPC requests over stdin/stdout—first list_tools to discover the tool, then call_tool with the tool name getPokemonInfo and an argument nameOrId (a Pokémon name or numeric ID).

Key features of mcp-pokeapi-server

  • Provides Pokémon info via standard MCP protocol
  • Integrates with the free POKEAPI (pokeapi.co)
  • Uses JSON‑RPC 2.0 communication over stdio
  • Schema validation with zod for input/output
  • Single tool getPokemonInfo for all queries

Use cases of mcp-pokeapi-server

  • An LLM assistant that answers questions about Pokémon species
  • A chatbot that retrieves Pokémon height, weight, and types on demand
  • MCP‑enabled tools that need up‑to‑date Pokémon data from a reliable API

よくある質問

1

What is this server for?

It exposes POKEAPI Pokémon data as a tool callable by any MCP client, such as LLM agents or custom MCP applications.

2

What tools does mcp-pokeapi-server provide?

One tool: `getPokemonInfo`, which returns the Pokémon’s name, ID, height, weight, and types given a name or numeric ID.

3

How do I install and run it?

Run `npm install` to install dependencies, then `npx tsc` to compile TypeScript. Start the server with `npx ts-node src/index.ts`.

4

How do I invoke the tool from a client?

Send an MCP `call_tool` request with `name: "getPokemonInfo"` and `arguments: { "nameOrId": "pikachu" }` (or any valid Pokémon name/ID). The result is a JSON object with the Pokémon’s details.

5

What transport does the server use?

It uses JSON‑RPC 2.0 over standard input/output (stdio). No HTTP or WebSocket transport is provided.

コメント

「その他」の他のコンテンツ