TryHackMe

v0.1.0
io.github.realarmaansidhu/tryhackme-mcp Checked 3 days ago Published 12 days ago

Unofficial 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_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.

ParameterTypeDescription
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.

ParameterTypeDescription
room_code *string
task_no *integer
include_hintsboolean
include_my_answersboolean

thm_room_full

Export a whole room (overview + every task + questions) as one Markdown document.

ParameterTypeDescription
room_code *string
include_hintsboolean

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.

ParameterTypeDescription
path_code *string

thm_public_profile

Get any user's public TryHackMe profile: level, rank, points, rooms, badges, streak, path.

ParameterTypeDescription
username *string

thm_profile_completed_rooms

List the rooms a user has completed (public profile data).

ParameterTypeDescription
username *string
limitinteger
pageinteger

thm_profile_badges

List a user's earned badges with rarity.

ParameterTypeDescription
username *string
limitinteger
pageinteger

thm_profile_certificates

List a user's public TryHackMe certificates (path completions, SAL1, etc.).

ParameterTypeDescription
username *string

thm_profile_skills

Show a user's top tools and yearly activity summary.

ParameterTypeDescription
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).

ParameterTypeDescription
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').

ParameterTypeDescription
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.

ParameterTypeDescription
room_code *string
include_hintsboolean

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.

ParameterTypeDescription
countrystring
limitinteger
periodstring

thm_compare_profiles

Compare two users' public profiles side by side (level, rank, points, rooms, badges, streak).

ParameterTypeDescription
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.

ParameterTypeDescription
limitinteger

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.

ParameterTypeDescription
limitinteger

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).

ParameterTypeDescription
limitinteger
unread_onlyboolean

thm_my_social

Your followers / people you follow on TryHackMe, with their points and streaks.

ParameterTypeDescription
list_typestring
pageinteger

thm_my_rooms

Rooms you've joined, optionally only in-progress or completed ones.

ParameterTypeDescription
limitinteger
pageinteger
searchstring
statusstring