Pokemon MCP Demo

by danwritecode

39 stars
164 downloads
Not rated
GitHub

About

A quick pokemon demo to showcase MCP server, client, and host

Details

Author
danwritecode
GitHub stars
39
Downloads
164
Categories
Other

- MCP server providing Pokemon data and attack capabilities
- MCP client that interacts with the server
- HTTP server that exposes tools via OpenRouter API
- Endpoints for listing tools (/tools) and executing random attacks (/attack)
- Built using Bun as the JavaScript runtime

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Pokemon MCP Demo
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install dependencies with bun install. To run the MCP server and client demo, execute bun mcp_client.ts. To use the HTTP server with LLM integration, set the OPENROUTER_API_KEY environment variable and run bun http_server.ts, then access http://localhost:3005 for the /tools and /attack endpoints.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "pokemon mcp demo": {
            "mcp-client-server-host-demo": {
                "command": "bun",
                "args": [
                    "mcp_client.ts"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-client-server-host-demo": {
        "command": "bun",
        "args": [
            "mcp_client.ts"
        ]
    }
}

Pokemon MCP Demo

A demo project showcasing the Model Context Protocol (MCP) integration with Pokemon data. This project includes:

- An MCP server that provides Pokemon data and attack capabilities
- An MCP client that interacts with the server
- An HTTP server that allows LLMs to use Pokemon tools via OpenRouter

Installation

bun install

Running the Project

MCP Server and Client Demo

Run the client which automatically launches the MCP server:
bun mcp_client.ts

HTTP Server with LLM Integration

Set your OpenRouter API key and run the HTTP server:
export OPENROUTER_API_KEY=your_api_key_here
bun http_server.ts

Then access the server at http://localhost:3005:
- /tools - List available tools
- /attack - Execute a random Pokemon attack using LLM

This project uses Bun as its JavaScript runtime.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.