MCP.so
登录

mcp-pokeapi-server

@AkhrHysd

关于 mcp-pokeapi-server

暂无概览

基本信息

分类

其他

运行时

node

传输方式

stdio

发布者

AkhrHysd

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

FAQ from mcp-pokeapi-server

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.

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.

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.

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.

What transport does the server use?

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

评论

其他 分类下的更多 MCP 服务器