Logo

SETUP GUIDE

MCP CLIENT CONFIGURATION
DEPLOYMENT_INSTRUCTIONS

STEP_1: OBTAIN_API_KEY

If you haven't already, generate your API key from the dashboard:

  1. Return to the main dashboard
  2. Click "GENERATE_NEW_KEY" button
  3. Copy your API key (starts with key_)
  4. Store it securely - you'll need it for configuration

STEP_2: CONFIGURE_CLIENT

Use this endpoint in any MCP-compatible client:

ENDPOINT_URL:
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

  1. Restart your MCP client/IDE to load the configuration
  2. Verify connection in your client's MCP tools list
  3. Ask your AI assistant: "What Foxhole tools are available?"
  4. 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