Pokemon MCP Server
An MCP server that connects to AI agents and gives them capabilities to play Pokémon games.
Setup
1. Initiate a venv
uv venv
source .venv/bin/activate
2. Install dependencies
If the project uses pyproject.toml:
uv pip install .
If the project uses requirements.txt:
uv pip install -r requirements.txt
MCP Client Configuration
Add the following to your MCP client configuration JSON:
Cursor Configuration
- Go to cursor settings > Tools & MCP > New MCP Server
{
"mcpServers": {
"pokemon": {
"command": "uv",
"args": [
"uv",
"--directory",
"path_to_root_directory",
"run",
"main.py"
],
}
}
}
Opencode Configuration
- In
.config/opencode/config.jsonor~/.config/opencode/opencode.json
{
"mcp": {
"pokemon": {
"type": "local",
"command": [
"uv",
"--directory",
"path_to_root_directory",
"run",
"main.py"
],
"enabled": true,
"timeout": 30000
}
}
}
Antigravity Configuration
- In
.gemini/antigravity/mcp_config.json
{
"mcpServers": {
"pokemon": {
"command": "uv",
"args": [
"--directory",
"path_to_root_directory",
"run",
"main.py"
]
}
}
}
Replace path_to_root_directory with the absolute path to the project root.