edstem_mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
EdStem MCP Server
An MCP (Model Context Protocol) server that exposes EdStem course discussion boards as tools for AI assistants. Supports Georgia Tech SSO + Duo MFA authentication with fully automated browser login.
Features
List all enrolled courses
Fetch recent posts from a course board
Retrieve full thread content with answers and comments
Search posts by keyword
Automatic SSO login via Selenium (GT SSO + Duo MFA)
Token caching in
.env— re-authenticates automatically on expiry
Related MCP server: Reddit MCP Server
Requirements
Python 3.10+
Google Chrome installed
ChromeDriver (matching your Chrome version) on your
PATH
Install dependencies:
pip install mcp selenium python-dotenv httpxConfiguration
Create a .env file in the project root. All fields:
# EdStem API token — auto-populated after first login, leave blank initially
EDSTEM_TOKEN=
# Your EdStem account email
EDSTEM_EMAIL=you@gatech.edu
# EdStem region: us | au | uk
EDSTEM_COUNTRY=us
# Georgia Tech SSO credentials (used for automated browser login)
GT_USERNAME=gburdell3
GT_PASSWORD=yourpasswordNever commit
.envto version control. It is listed in.gitignoreby default.
Getting a Token
Run the login script once to authenticate and save the token:
python get_token.pyThis will:
Open Chrome to the EdStem login page
Auto-fill your email and select the region
Redirect to
sso.gatech.eduand auto-fill your GT username/passwordWait for you to approve Duo MFA on your phone
Auto-click the "Trust this browser" prompt
Capture the
X-Tokenfrom the EdStem API and save it to.env
After this, the token is cached and the server starts instantly on future runs. The server will re-run this flow automatically if the token expires mid-session.
Usage
With Claude Code
Register the server (one time):
claude mcp add edstem -- /path/to/python /path/to/edstem_scraper/server.pyExample with Miniconda:
claude mcp add edstem -- /home/youruser/miniconda3/bin/python /home/youruser/edstem_scraper/server.pyStart Claude Code:
claudeThe EdStem tools are now available. Verify with /mcp inside the session.
Example prompts:
"List my EdStem courses""Show me the 20 most recent posts in course 91212""Search for posts about 'group project' in course 91212""Get the full content of thread 7716453"
To re-register after changes:
claude mcp remove edstem && claude mcp add edstem -- /path/to/python /path/to/server.pyWith Any Other MCP Client
The server uses stdio transport (the MCP default). Point your client at:
command: python
args: ["/absolute/path/to/server.py"]For example in a claude_desktop_config.json (Claude Desktop):
{
"mcpServers": {
"edstem": {
"command": "/path/to/python",
"args": ["/path/to/edstem_scraper/server.py"]
}
}
}Available Tools
Tool | Description | Parameters |
| List all enrolled courses | — |
| List all lessons in a course sorted by index |
|
| Get all slides with HTML content for a lesson |
|
| Fetch recent threads from a course board |
|
| Get full thread with answers and comments |
|
| Search threads by keyword |
|
To find a course_id, call list_courses first.
SSO Compatibility
The automated login flow in get_token.py is built and tested for Georgia Tech SSO (sso.gatech.edu) using the GT CAS login form (username/password fields + Duo MFA).
Other institutions: The automated browser login will not work out of the box for non-GT SSO providers, as login form selectors and MFA flows vary by institution. If you want to adapt this for another institution, fork the repo and update the following in get_token.py:
SSO_HOST— your institution's SSO hostnametry_fill_gt_sso()— update form field selectors to match your SSO login pagetry_click_trust_browser()— verify the trust-browser button ID matchesRemove or replace the Duo-specific handling if your institution uses a different MFA provider
Everything else (EdStem API client, MCP tools, token caching) is institution-agnostic and requires no changes.
File Overview
File | Purpose |
| MCP server — defines tools and handles auth retry |
| HTTP client for the EdStem API |
| Selenium browser automation for SSO login |
| Credentials and config (not committed) |
| Excludes |
This server cannot be deployed
Maintenance
Related MCP Connectors
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
An MCP server that integrates with Discord to provide AI-powered features.
An MCP server that gives your AI access to the source code and docs of all public github repos
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI assistants to access and interact with Google Classroom data, allowing users to view courses, course details, and assignments through natural language commands.864 npm7MIT
- AlicenseAqualityFmaintenanceAn MCP server that enables AI assistants to access and interact with Reddit content through features like user analysis, post retrieval, subreddit statistics, and authenticated posting capabilities.15302MIT
- AlicenseAqualityAmaintenanceAn MCP server that enables AI assistants to interact with Gradescope for course management, grading workflows, and regrade reviews. It provides instructors and TAs with tools for assignment management, individual or batch grading, and rubric manipulation.338MIT
- AlicenseNot gradedqualityFmaintenanceMCP server for Ed Discussion that enables viewing profile, courses, lessons, threads, and submitting slide answers via natural language.MIT