leekwars-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@leekwars-mcplist my leeks"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
leekwars-mcp
Standard TypeScript MCP server scaffold.
Structure
src/index.ts- entrypointsrc/auth/- MCP-owned LeekWars session handlingsrc/server/- server bootstrap and request routingsrc/tools/- manifest-driven tool definitions and registrysrc/tools/{core,auth,leek,fight,ai,items,reports}/- tool manifests grouped by domainsrc/resources/- resource definitionssrc/prompts/- prompt definitionssrc/config/- runtime configsrc/common/- shared types/helperssrc/scripts/- subprocess bridge for vendored LeekWars scriptssrc/tools/_shared/- vendored script helpers and shared assets
Related MCP server: CTFd MCP Server
Auth
The server now owns the LeekWars session.
Required env vars:
LEEKWARS_LOGINLEEKWARS_PASSWORD
Optional env vars:
LEEKWARS_AUTH_RETRY_DELAY_MSLEEKWARS_API_BASE_URLLEEKWARS_SCRIPTS_DIR(defaults tosrc/tools)LEEKWARS_SOCKET_URLLEEKWARS_SOCKET_PROTOCOLS(comma-separated)LEEKWARS_SOCKET_CONNECT_TIMEOUT_MSLEEKWARS_SOCKET_REQUEST_TIMEOUT_MSLEEKWARS_SOCKET_MAX_BUFFERED_EVENTSMCP_SERVER_NAME
Tool registry
Tools are manifest-driven from src/tools/manifest.ts and executed through src/tools/registry.ts.
Tool output kinds:
json- stdout onlymarkdown- stdout onlytext- stdout + stderr formatting
Testing
npm test- smoke tests for manifest loading, output formatting, and representative tool executionnpm run check- typecheck onlynpm run build- compile todist/
Scripts
npm run dev- run in watch modenpm run start- run compiled server
Fight logs
fetch_fight_logs uses Playwright. If the browser binary is missing, install it with:
npx playwright install chromiumSocket bridge
The socket bridge connects to wss://leekwars.com/ws by default (override with LEEKWARS_SOCKET_URL) and uses the LeekWars session auth headers. It exposes bridge tools:
socket_connectsocket_statussocket_sendsocket_callsocket_recvsocket_close
Encyclopedia tools
Encyclopedia search and page retrieval live in the separate leekwars-mcp-encyclopedia server.
Configure both MCP servers if you need both game actions and encyclopedia knowledge tools.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityDmaintenanceAn MCP (Model-Controller-Processor) server for accessing League of Legends client data. This server provides a collection of tools that communicate with the League of Legends Live Client Data API to retrieve in-game data.Last updated1212Apache 2.0
- Alicense-qualityDmaintenanceA lightweight MCP server for interacting with CTFd instances, enabling AI tools to authenticate, retrieve challenges, and submit flags.Last updated3MIT
- AlicenseBqualityAmaintenanceMCP server exposing 30 tools for League of Legends player analysis, match review, and training-plan generation.Last updated3520MIT
- FlicenseAqualityDmaintenanceAn MCP server that provides tools to interact with the LeetCode API, enabling problem fetching, code template generation, and solution execution/submission.Last updated71
Related MCP Connectors
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
MCP server for AI dialogue using various LLM models via AceDataCloud
MCP (Model Context Protocol) server for Appwrite
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Zleub/leekwars-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server