getcourse-mcp
This server provides MCP tools to automate a GetCourse account via a logged-in browser session (CDP), with no official API required. Capabilities include:
Session & User Management: Check login status (
gc_status); find users by email (gc_find_user); get a comprehensive profile/group/order summary (gc_user_summary); and update profile fields like name, phone, city, comment (gc_update_user).Group & Access Management: List training access groups (
gc_list_training_groups); list groups a user belongs to (gc_list_user_groups); check membership instantly (gc_check_membership); add users to groups (creating new users if needed) via import (gc_add_user_to_groups) or via profile card (gc_add_to_groups); remove from groups (gc_remove_from_groups); copy access from one user to another (gc_copy_access).Order & Payment Management: Search sales offers (
gc_find_offers); list user orders (gc_find_orders); create orders to grant access, with optional 0₽ auto-payment for instant access (gc_create_order); complete payment for orders (gc_pay_order); change order status (gc_set_order_status); process refunds (gc_refund_order).Mailing Categories: List, add users to, and remove users from mailing categories (
gc_list_mailing_categories,gc_add_to_mailing_category,gc_remove_from_mailing_category).General Features: Most write operations support a
dryRunmode to preview changes before committing. All actions leverage your existing CDP browser session, ensuring security without storing credentials.
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., "@getcourse-mcpfind user by email student@example.com"
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.
getcourse-mcp
Automate a GetCourse account from an AI agent — grant lesson/training access, manage users and groups — with no official API.
English · Русский
Why
GetCourse has no public API for the things admins do every day — opening a lesson for a student, adding someone to a training, moving users between groups. Those actions live only in the admin UI.
getcourse-mcp exposes them as MCP tools. It drives a browser you're already logged into over CDP, so it reuses your real session cookie and CSRF token — no scraping of passwords, no fragile API keys. An AI agent (Claude, etc.) can then find a user, inspect their groups and grant access in one turn.
🔑 Uses your live session — connects over CDP to a logged-in Chromium/Yandex browser
👥 Access by groups — the GetCourse model: training/lesson access = group membership
🧩 5 focused tools — status, find user, list groups, check membership, add to groups
🪶 TypeScript, ESM — thin, strict, MIT, no account secrets in the repo
Related MCP server: Coursera MCP
How access works in GetCourse
Access to a training (and its lessons) is granted by group membership. "Full access" to a course often means membership in a Module 1 group plus a group that starts the drip schedule (module 1 now, the rest on a timer). To "give access like another student", read their groups and reproduce them:
gc_find_user # student@example.com → id, name
gc_check_membership # which of these groups is student X in?
gc_add_user_to_groups # add student Y to the same groupsFranchise / "buyers-only" offers → access via a completed purchase
Some offers (franchises, "только купившие" trainings) deliver access only from a completed purchase — group membership grants nothing there. Grant it in one call:
gc_find_offers {"query":"Трафик Формула"} # → offer id, e.g. 6510356
gc_create_order {"email":"user@x.ru","offerIds":["6510356"],"complete":true}
# creates the order AND completes a 0₽ payment → access is live immediately⚠️ gc_create_order alone leaves the deal in «Новый» and delivers NO access — the deal must be paid. There is no «Оплачен» item in the status dropdown; completion is payment-driven. complete:true (or a later gc_pay_order {"dealId":"…"}) registers a 0₽ received payment → deal → «Завершён» → access granted. Purchase-based access does not appear in the user's groups — that's by design, not a bug. Use complete only for 0₽/comp offers.
Requirements
A Chromium-based browser (Chrome / Yandex) launched with a debug port on a separate profile, logged into your account:
browser.exe --remote-debugging-port=9222 --user-data-dir=C:\gc-cdp-profileNode ≥ 18.
Setup
npm install
cp .env.example .env # set GETCOURSE_BASE_URL (and GETCOURSE_CDP_URL if not :9222)
npm run buildRegister it with your MCP client (see .mcp.json.example):
{
"mcpServers": {
"getcourse": {
"command": "node",
"args": ["dist/index.js"],
"env": { "GETCOURSE_BASE_URL": "https://your-account.getcourse.ru" }
}
}
}Tools
Tool | Purpose |
| Check that an admin is logged in in the CDP browser. |
| Find a user by email → id, name, type, status. |
| Access groups of a training (id + name). |
| Groups a user belongs to (id + name). |
| Is a user in the given groups? (instant, via the user list) |
| Add an existing user to groups via the card (preserves other groups). |
| Remove a user from groups = revoke access. |
| Add via the bulk import (creates the user if new) = grant access. |
| Give a user the same groups as a reference student. |
| Edit card fields (first/last name, phone, city, comment). Email is out of scope. |
| Search sales offers by name → id + price + actuality. |
| List a user's orders (dealId + status). |
| Create an order = grant access via a purchase (the only way for "buyers-only" trainings, where groups don't grant access). Deal is created in «Новый» = no access until paid; pass |
| Complete a deal by registering a received payment ( |
| Change a deal's status (e.g. cancel a duplicate: |
| File a money refund for an order via the GetCourse payment module (real money back to the buyer's card). Only for payments processed by the platform; VAT must mirror the original receipt. |
| One call: profile + groups + orders for a user. |
| List mailing categories (tag-like segmentation) — id + name. |
| Add a user to a mailing category. |
| Remove a user from a mailing category. |
Usage
Run the MCP server over stdio, or call a tool directly for scripting:
node dist/index.js # MCP (stdio)
npx tsx src/run.ts gc_find_user '{"email":"user@example.com"}'
# → Found: Jane Doe | user@example.com | student | active | id: 100200300
npx tsx src/run.ts gc_add_user_to_groups \
'{"email":"user@example.com","groupIds":["100001","100002"]}'
# → OK [done] import submitted
npx tsx src/run.ts gc_check_membership \
'{"email":"user@example.com","groups":[{"id":"100001","name":"Module 1"}]}'
# → ✅ Module 1 (100001)Implementation notes
Granting access (
gc_add_user_to_groups) uses the bulk Add users form (/pl/user/user/import?type=text): email + selected groups. For an existing user the "overwrite on match" flag is required (overwriteExisting, defaulttrue), otherwise the groups are not applied — the import carries only the email, so no profile data is touched.A direct mass action exists (
POST /pl/logic/operation/prepare?operationType=user_addtogroup), but in the current UI it is a selection-builder wizard — a candidate to wire up as an alternative path.Membership is checked through the user list filtered by a
user_ingrouprulerule (params.value.selected_id), which reflects membership immediately (the training student list mirrors access asynchronously and is not reliable for verification).
Contributing
Contributions are welcome — open an issue or a PR. Good first ideas:
direct
user_addtogroupmass action instead of the import forma "copy all groups from one student to another" tool
revoking access (
gc_remove_user_from_groups)exporting students; test coverage
Fork and branch:
git checkout -b feature/my-changenpm install, make changes;npm run buildandnpx tsc --noEmitmust passNever commit secrets (cookies/passwords/
.env) or real account dataOpen a PR describing what and why
Security
Secrets (cookies/passwords) live only in the browser and your environment — never in the repo. .env and a local .mcp.json are git-ignored.
License
MIT
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
- AlicenseAqualityDmaintenanceEnables users to search for courses, view detailed syllabus information, and manage enrollments and progress on Coursera. It supports automated interactions including viewing certificates through local or cloud-based browser environments using Playwright.Last updated510MIT
- Alicense-qualityBmaintenanceEnables AI agents to programmatically interact with Coursera, including enrolling in courses, completing lectures, solving quizzes, submitting assignments, earning certificates, and pushing them to LinkedIn.Last updated1MIT
- Alicense-qualityFmaintenanceEnables AI assistants to interact with Moodle LMS via browser automation, using a server and browser extension to keep credentials local and route commands securely.Last updated27MIT
- Flicense-qualityDmaintenanceEnables AI agents to read MoyKlass CRM data through natural language, providing 16 tools for accessing users, groups, lessons, tasks, and more.Last updated
Related MCP Connectors
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
Give AI agents the LinkedIn tools to find, qualify, engage, and follow up with prospects.
Manage your NanoCart store from any AI agent: products, orders, coupons, subscribers, reports.
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/skiddgoddamn/getcourse-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server