SETUP GUIDE
MCP CLIENT CONFIGURATION
DEPLOYMENT_INSTRUCTIONS
STEP_1: OBTAIN_API_KEY
If you haven't already, generate your API key from the dashboard:
- Return to the main dashboard
- Click "GENERATE_NEW_KEY" button
- Copy your API key (starts with
key_) - Store it securely - you'll need it for configuration
STEP_2: CONFIGURE_CLIENT
Use this endpoint in any MCP-compatible client:
https://mcphole.com/sse?api_key=YOUR_API_KEY_HERE
⚠️ IMPORTANT
Replace YOUR_API_KEY_HERE with your actual API key.
EXAMPLE:
https://mcphole.com/sse?api_key=key_2a1b5578cc69759feeeef2ab169490d3
CONFIGURATION_DETAILS
TRANSPORT_TYPE
HTTP / SSE
(Server-Sent Events)
AUTHENTICATION
Query Parameter
(Included in URL)
STEP_3: TEST_CONNECTION
- Restart your MCP client/IDE to load the configuration
- Verify connection in your client's MCP tools list
- Ask your AI assistant:
"What Foxhole tools are available?" - Try a query:
"What's the current Foxhole war status?"
AVAILABLE_TOOLS
foxhole_war
Query the Foxhole War API for live game data
- Current war state (war number, winner, victory towns)
- Active maps and regions
- Dynamic map data (bases, structures, control)
- Static map data (resource nodes)
- Casualty and enlistment reports
foxhole_wiki
Query the Official Foxhole Wiki for game information
- Vehicle stats (speed, health, armor, fuel consumption)
- Weapon and ammunition specifications
- Structure information and build costs
- Resource and production data
- Wiki search functionality
todo_tool
In-memory task planning and tracking
TROUBLESHOOTING
❌ 401 UNAUTHORIZED
• Verify API key is correct
• Ensure email is verified
• Check API key is active in dashboard
❌ TOOLS NOT SHOWING
• Restart your client/IDE completely
• Check configuration file syntax
• Verify endpoint URL format
❌ 504 GATEWAY TIMEOUT
• Foxhole game API is temporarily down
• Wait and try again later
• Not an MCP Foxhole issue