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.

评论

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