Skip to content
Cursor

TryHackMe for Cursor

io.github.realarmaansidhu/tryhackme-mcp

Unofficial MCP server for TryHackMe: rooms, tasks, paths, profiles, progress, and lab machines.

client:Cursor transport:stdio runtime:pypi

Install TryHackMe in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "tryhackme-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "tryhackme-mcp"
      ],
      "env": {
        "THM_SESSION": "<THM_SESSION>",
        "THM_ALLOW_WRITES": "<THM_ALLOW_WRITES>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

TryHackMe in other clients