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., "@edstem-mcpfind all unanswered questions about the midterm in course 1234"
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.
edstem-mcp
MCP server for Ed Discussion — expose Ed's full API to Claude and other MCP clients.
Setup
npm install
npm run buildSet your API token (get one at https://edstem.org/us/settings/api-tokens):
export ED_API_TOKEN=your_token
export ED_REGION=us # optional: us (default), au, etc.Claude Code
Add to ~/.claude.json:
{
"mcpServers": {
"edstem": {
"command": "node",
"args": ["/path/to/edstem-mcp/dist/index.js"],
"env": {
"ED_API_TOKEN": "your_token"
}
}
}
}Tools (22)
Tool | Description |
| Get authenticated user info and enrolled courses |
| List threads in a course (sortable, paginated) |
| Get thread by global ID with comments |
| Get thread by course-local number (the # in the UI) |
| Search threads by title, content, or category |
| Create a new thread (supports markdown input) |
| Edit an existing thread |
| Lock a thread |
| Unlock a thread |
| Pin a thread |
| Unpin a thread |
| Endorse a thread |
| Remove thread endorsement |
| Star/bookmark a thread |
| Remove star |
| Post a comment or answer on a thread |
| Reply to an existing comment |
| Endorse a comment |
| Remove comment endorsement |
| Accept a comment as the answer |
| List course roster (staff/admin) |
| List a user's threads and comments |
| Upload a file to Ed from a URL |
| Preview markdown to Ed XML conversion |
Resources (2)
Resource | URI | Description |
User Info |
| Authenticated user details |
Courses |
| Enrolled courses list |
Prompts (3)
Prompt | Description |
| Look up assignment details, requirements, and staff clarifications |
| List unresolved questions in a course |
| Show your recent posts and comments in a course |
Content Format
Thread and comment content uses Ed's XML document format. This server auto-converts markdown to Ed XML, so you can write content naturally:
# Heading
**Bold** and *italic* text with `inline code`
- Bullet list
- Items
1. Numbered
2. List
> [!info] This becomes an Ed calloutPass raw Ed XML (starting with <document) to bypass conversion.
Testing
npm testUses Node's built-in test runner (node:test). Tests cover the markdown-to-XML content converter and API client (URL construction, headers, error handling).
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.