ahmedrowaihi/teachable-mcp-server
If you are the rightful owner of teachable-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) server that integrates with the Teachable API for managing courses, users, and more.
Teachable MCP Server
A Model Context Protocol (MCP) server that provides seamless integration with the Teachable API. This server allows AI assistants to interact with your Teachable school, manage courses, users, enrollments, and more.
Features
- Course Management: List, view, and manage courses
- User Management: Create, update, and manage users
- Enrollment Operations: Enroll/unenroll users in courses
- Progress Tracking: Monitor student progress and course completion
- Quiz & Video Access: Retrieve quiz and video content
- Webhook Management: Handle webhook events
- Transaction Tracking: Monitor sales and transactions
- Pricing Plans: Manage course pricing
Installation
Option 1: Install from NPM (Recommended)
npm install -g teachable-mcp-server
Option 2: Local Development
-
Clone or navigate to the project directory:
cd teachable-mcp
-
Install dependencies:
npm install
-
Build the TypeScript code:
npm run build
Configuration
API Key Setup
The MCP server requires your Teachable API key to authenticate requests. You have several options to configure it:
Option 1: Environment File (.env)
-
Create a
.env
file in theteachable-mcp
directory:cp ../example.env .env
-
Edit the
.env
file and add your API key:API_KEY_APIKEYAUTH=your_teachable_api_key_here
Option 2: Export Environment Variable
export API_KEY_APIKEYAUTH=your_teachable_api_key_here
Getting Your Teachable API Key
- Log into your Teachable admin dashboard
- Navigate to Settings → Integrations → API
- Generate or copy your existing API key
- Use this key in your environment configuration
Usage
Running the MCP Server
The MCP server uses stdio transport, which means it communicates through standard input/output streams. This is the standard way MCP servers are designed to work with AI assistants and other MCP clients.
Direct Execution (Global Install)
If you installed globally via npm:
# Make sure your API key is set
export API_KEY_APIKEYAUTH=your_teachable_api_key_here
# Run the server
teachable-mcp-server
Local Development
# Make sure your API key is set
export API_KEY_APIKEYAUTH=your_teachable_api_key_here
# Run directly
node build/index.js
# Or use npm script
npm start
The server will start and listen for MCP requests via stdio transport. It does not open a web server or HTTP endpoint - instead, it communicates through stdin/stdout.
Integrating with MCP Clients
Configuration for Claude Desktop / Cursor
Add to your MCP client configuration (e.g., claude_desktop_config.json
or similar):
{
"mcpServers": {
"teachable": {
"command": "npx",
"args": ["-y", "teachable-mcp-server"],
"env": {
"API_KEY_APIKEYAUTH": "your_teachable_api_key_here"
}
}
}
}
Available Tools
The MCP server provides the following tools:
Course Management
ListCourses
- Fetch all courses at your schoolShowCourse
- Fetch a specific course by IDShowCourseEnrollments
- Fetch enrolled students and progress for a courseCourseProgress
- Fetch a specific user's course progress
Content Access
ShowLecture
- Fetch content of a specific course lectureMarkLectureComplete
- Mark a lecture as complete for a userListQuizzes
- Fetch quizzes in a specific lectureShowQuiz
- Fetch specific quiz informationShowQuizResponses
- Fetch quiz responsesShowVideo
- Fetch video information
User Management
ListUsers
- Get a list of usersCreateUser
- Create a new userShowUser
- Get user details and enrollmentsUpdateUser
- Update user information
Enrollment Operations
EnrollUser
- Enroll a user in a courseUnenrollUser
- Unenroll a user from a course
Business Operations
ListPricingPlans
- Fetch all pricing plansShowPricingPlans
- Fetch specific pricing plan detailsListTransactions
- Fetch sales transactions
Webhook Management
ListWebhooks
- Fetch all webhook eventsShowWebhookEvents
- Fetch events for a specific webhook
API Documentation
This MCP server is auto-generated from the Teachable OpenAPI specification. All tools correspond directly to Teachable API endpoints with the same parameters and response formats.
For detailed API documentation, refer to:
Security
- API Key: Your Teachable API key is required and should be kept secure
- Environment Variables: Never commit API keys to version control
- HTTPS: All API requests are made over HTTPS to
https://developers.teachable.com
Building from Source
# Install dependencies
npm install
# Build TypeScript
npm run build
# Run tests (if available)
npm test
Version
- Server Version: 0.0.1
- Build Date: 2025-08-31T05:18:42.766Z
- API Base URL: https://developers.teachable.com