TryHackMe
v0.1.0Unofficial MCP server for TryHackMe: rooms, tasks, paths, profiles, progress, and lab machines.
Values you need
| Variable | What it is | |
|---|---|---|
THM_SESSION | optional secret | Optional. Value of your tryhackme.com connect.sid cookie; unlocks account tools. |
THM_ALLOW_WRITES | optional | Optional. Set to 1 to enable tools that change your account (machines, votes, joining rooms). |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add tryhackme-mcp -- uvx tryhackme-mcp==0.1.0Add to
claude_desktop_config.json{
"mcpServers": {
"tryhackme-mcp": {
"args": [
"tryhackme-mcp==0.1.0"
],
"command": "uvx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"tryhackme-mcp": {
"args": [
"tryhackme-mcp==0.1.0"
],
"command": "uvx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"tryhackme-mcp": {
"args": [
"tryhackme-mcp==0.1.0"
],
"command": "uvx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.tryhackme-mcp]
command = "uvx"
args = ["tryhackme-mcp==0.1.0"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: thm_search, thm_room_overview, thm_get_task, thm_room_full, thm_path_outline, thm_public_profile, thm_profile_completed_rooms, thm_profile_badges, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json