T

mcp-client-server-host-demo

...
Created 3/7/2025bydanwritecode

Language:

TypeScript

Stars:

37

Forks:

2

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.

Last updated: 3/9/2025

Publisher info

danwritecode's avatar
51
followers
28
following
79
repos

More MCP servers built with TypeScript

mcp-tasks

A comprehensive and efficient MCP server for task management with multi-format support (Markdown, JSON, YAML)

By flesler
Supadata

Turn YouTube, TikTok, X videos and websites into structured data. Skip the hassle of video transcription and data scraping. Our APIs help you build better software and AI products faster.

By supadata-ai
svelte-llm

Svelte and SvelteKit documentation

By khromov