Teachable MCP Server

Teachable MCP Server

Enables AI assistants to seamlessly interact with the Teachable API, managing courses, users, enrollments, progress tracking, and more.

Category
访问服务器

README

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

  1. Clone or navigate to the project directory:

    cd teachable-mcp
    
  2. Install dependencies:

    npm install
    
  3. 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)

  1. Create a .env file in the teachable-mcp directory:

    cp ../example.env .env
    
  2. 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

  1. Log into your Teachable admin dashboard
  2. Navigate to SettingsIntegrationsAPI
  3. Generate or copy your existing API key
  4. 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 school
  • ShowCourse - Fetch a specific course by ID
  • ShowCourseEnrollments - Fetch enrolled students and progress for a course
  • CourseProgress - Fetch a specific user's course progress

Content Access

  • ShowLecture - Fetch content of a specific course lecture
  • MarkLectureComplete - Mark a lecture as complete for a user
  • ListQuizzes - Fetch quizzes in a specific lecture
  • ShowQuiz - Fetch specific quiz information
  • ShowQuizResponses - Fetch quiz responses
  • ShowVideo - Fetch video information

User Management

  • ListUsers - Get a list of users
  • CreateUser - Create a new user
  • ShowUser - Get user details and enrollments
  • UpdateUser - Update user information

Enrollment Operations

  • EnrollUser - Enroll a user in a course
  • UnenrollUser - Unenroll a user from a course

Business Operations

  • ListPricingPlans - Fetch all pricing plans
  • ShowPricingPlans - Fetch specific pricing plan details
  • ListTransactions - Fetch sales transactions

Webhook Management

  • ListWebhooks - Fetch all webhook events
  • ShowWebhookEvents - 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

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选