productivity
Teachable MCP Integration for LangChain
Connect Teachable to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Teachable to LangChain
Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.
Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with
--write=deny so LangChain can inspect read-capable tools without receiving write access by default.
Teachable MCP Config for LangChain
Keep the gateway scoped to the integration and operation class needed by the chain.
{
"mcpServers": {
"kosmokrator-teachable": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=teachable",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=teachable --write=deny Why Use KosmoKrator Here
Expose only Teachable instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Teachable Tools Visible to LangChain
LangChain sees stable MCP tool names generated from the Teachable integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__teachable__teachable_list_courses | teachable.teachable_list_courses | Read | List courses from your Teachable school. Paginate with page/per_page parameters. |
integration__teachable__teachable_get_course | teachable.teachable_get_course | Read | Get a single course from your Teachable school by its course ID. |
integration__teachable__teachable_list_users | teachable.teachable_list_users | Read | List users from your Teachable school. Paginate with page/per_page parameters. |
integration__teachable__teachable_get_user | teachable.teachable_get_user | Read | Get a single user from your Teachable school by their user ID. |
integration__teachable__teachable_list_enrollments | teachable.teachable_list_enrollments | Read | List enrollments from your Teachable school. Filter by user_id or course_id and paginate with page/per_page. |
integration__teachable__teachable_get_enrollment | teachable.teachable_get_enrollment | Read | Get a single enrollment from your Teachable school by its enrollment ID. |
integration__teachable__teachable_get_current_user | teachable.teachable_get_current_user | Read | Verify your Teachable API key and get the current user profile. Use this to confirm the integration is working. |