Pokemon MCP Demo
@danwritecode
关于 Pokemon MCP Demo
A quick pokemon demo to showcase MCP server, client, and host
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-client-server-host-demo": {
"command": "bun",
"args": [
"mcp_client.ts"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Pokemon MCP Demo?
Pokemon MCP Demo is a demonstration project that implements the Model Context Protocol (MCP) to provide Pokemon data and attack capabilities. It includes an MCP server and client, plus an HTTP server that allows LLMs to interact with Pokemon tools via OpenRouter. The project is built with Bun and is intended for developers exploring MCP integrations.
How to use Pokemon MCP Demo?
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.
Key features of Pokemon MCP Demo
- 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
Use cases of Pokemon MCP Demo
- Learning how to build and test MCP servers and clients
- Demonstrating tool integration between a language model and Pokemon data
- Experimenting with LLM-driven random Pokemon attacks via an HTTP API
FAQ from Pokemon MCP Demo
What dependencies does Pokemon MCP Demo require?
The project requires Bun as its JavaScript runtime. No other dependencies are explicitly listed beyond the bun install command.
How do I run the MCP server and client demo?
Run the client with bun mcp_client.ts, which automatically launches the MCP server.
How do I use the HTTP server with an LLM?
Set the environment variable OPENROUTER_API_KEY to your key and run bun http_server.ts. The server starts on port 3005, providing /tools and /attack endpoints.
What transport does the MCP server use?
The README does not specify the transport protocol. It only mentions that the client launches the server automatically.
Can I run this without an API key?
Yes, the MCP server and client demo (bun mcp_client.ts) does not require an API key. The HTTP server with LLM integration requires an OpenRouter API key.
其他 分类下的更多 MCP 服务器
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Blender
ahujasidOpen-source MCP to use Blender with any LLM
评论