edstem_mcp
An MCP server that allows AI assistants to access EdStem course discussion boards, including listing courses, fetching posts, searching, and retrieving thread details, with automated SSO login support for Georgia Tech.
README
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
Requirements
- Python 3.10+
- Google Chrome installed
- ChromeDriver (matching your Chrome version) on your
PATH
Install dependencies:
pip install mcp selenium python-dotenv httpx
Configuration
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=yourpassword
Never 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.py
This 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/password - Wait 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.py
Example with Miniconda:
claude mcp add edstem -- /home/youruser/miniconda3/bin/python /home/youruser/edstem_scraper/server.py
Start Claude Code:
claude
The 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.py
With 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_courses |
List all enrolled courses | — |
get_lessons |
List all lessons in a course sorted by index | course_id |
get_lesson_slides |
Get all slides with HTML content for a lesson | lesson_id |
get_recent_posts |
Fetch recent threads from a course board | course_id, limit (default 20) |
get_thread_detail |
Get full thread with answers and comments | thread_id |
search_posts |
Search threads by keyword | course_id, query, limit (default 15) |
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 matches- Remove 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 |
|---|---|
server.py |
MCP server — defines tools and handles auth retry |
edstem_client.py |
HTTP client for the EdStem API |
get_token.py |
Selenium browser automation for SSO login |
.env |
Credentials and config (not committed) |
.gitignore |
Excludes .env and __pycache__ |
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。