# 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
```bash
uv venv
source .venv/bin/activate
```
### 2. Install dependencies
If the project uses `pyproject.toml`:
```bash
uv pip install .
```
If the project uses `requirements.txt`:
```bash
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
```json
{
"mcpServers": {
"pokemon": {
"command": "uv",
"args": [
"uv",
"--directory",
"path_to_root_directory",
"run",
"main.py"
],
}
}
}
```
### Opencode Configuration
- In ```.config/opencode/config.json``` or ```~/.config/opencode/opencode.json```
```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```
```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.