TryHackMe
v0.1.0Unofficial MCP server for TryHackMe: rooms, tasks, paths, profiles, progress, and lab machines.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
thm_search
Search TryHackMe rooms, learning paths, modules or networks by keyword. Returns titles, codes, difficulty, free/premium and estimated time. Use the returned code with thm_room_overview / thm_path_outline.
| Parameter | Type | Description |
|---|---|---|
difficulty | string | |
kind | string | |
limit | integer | |
order | string | |
page | integer | |
query | string |
thm_room_overview
Get a room's metadata (difficulty, type, creators, tags, paths) and its task list. room_code: e.g. 'linuxfundamentalspart1' or a full tryhackme.com/room/... URL.
| Parameter | Type | Description |
|---|---|---|
room_code * | string |
thm_get_task
Get one task of a room as Markdown: the teaching content, commands, and questions. include_hints: show the hints TryHackMe attaches to questions. include_my_answers: show answers YOU already submitted (needs login). Off by default.
| Parameter | Type | Description |
|---|---|---|
room_code * | string | |
task_no * | integer | |
include_hints | boolean | |
include_my_answers | boolean |
thm_room_full
Export a whole room (overview + every task + questions) as one Markdown document.
| Parameter | Type | Description |
|---|---|---|
room_code * | string | |
include_hints | boolean |
thm_path_outline
Get a learning path's modules and rooms in order, with time estimates. With login, rooms show your progress percentage. path_code: e.g. 'jrpenetrationtester', 'beginner', 'presecurity', or a path URL.
| Parameter | Type | Description |
|---|---|---|
path_code * | string |
thm_public_profile
Get any user's public TryHackMe profile: level, rank, points, rooms, badges, streak, path.
| Parameter | Type | Description |
|---|---|---|
username * | string |
thm_profile_completed_rooms
List the rooms a user has completed (public profile data).
| Parameter | Type | Description |
|---|---|---|
username * | string | |
limit | integer | |
page | integer |
thm_profile_badges
List a user's earned badges with rarity.
| Parameter | Type | Description |
|---|---|---|
username * | string | |
limit | integer | |
page | integer |
thm_profile_certificates
List a user's public TryHackMe certificates (path completions, SAL1, etc.).
| Parameter | Type | Description |
|---|---|---|
username * | string |
thm_profile_skills
Show a user's top tools and yearly activity summary.
| Parameter | Type | Description |
|---|---|---|
username * | string |
thm_check_auth
Check whether a TryHackMe login is configured and still valid.
thm_my_stats
Your own stats: level, rank, points (total + this month), rooms, modules, badges, streak, league.
thm_my_current_path
Your enrolled learning path, completion %, hours done and estimated finish date.
thm_my_room_progress
Your completion % for one or more rooms (max 50).
| Parameter | Type | Description |
|---|---|---|
room_codes * | array |
thm_my_running_machines
List your currently running TryHackMe machines (VMs): id, room, state, private IP, expiry.
thm_my_streak
Your streak and weekly mission progression.
thm_module
Get a module (a themed group of rooms, e.g. 'linux-fundamentals') and its rooms in order. module_code: e.g. 'linux-fundamentals' or a tryhackme.com/module/... URL. Find codes with thm_search(kind='modules').
| Parameter | Type | Description |
|---|---|---|
module_code * | string |
thm_room_questions
Only the questions (and hints) of every task in a room, for revision or quizzing. No teaching content and no answers. Pair with thm_get_task to study a task first.
| Parameter | Type | Description |
|---|---|---|
room_code * | string | |
include_hints | boolean |
thm_leaderboard
TryHackMe's points leaderboard (top 50), worldwide or for one country. country: two-letter code, e.g. 'ca', 'us', 'in'. Empty = worldwide. With login, also shows your own rank on that board.
| Parameter | Type | Description |
|---|---|---|
country | string | |
limit | integer | |
period | string |
thm_compare_profiles
Compare two users' public profiles side by side (level, rank, points, rooms, badges, streak).
| Parameter | Type | Description |
|---|---|---|
username_a * | string | |
username_b * | string |
thm_my_next_rooms
What to study next: the first unfinished rooms in your enrolled learning path, in order.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
thm_my_current_module
The module you're currently working through, with your progress.
thm_my_recommendations
Rooms TryHackMe recommends for you, with difficulty and time.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
thm_my_capability_score
Your TryHackMe capability score and its components (foundation, activity, specialism...), with trends.
thm_my_weekly_missions
This week's missions (rooms, questions, streak days): your progress vs. the targets.
thm_my_notifications
Your TryHackMe notifications (read-only: this does not mark them as read).
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
unread_only | boolean |
thm_my_social
Your followers / people you follow on TryHackMe, with their points and streaks.
| Parameter | Type | Description |
|---|---|---|
list_type | string | |
page | integer |
thm_my_rooms
Rooms you've joined, optionally only in-progress or completed ones.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
page | integer | |
search | string | |
status | string |