productivity
Teachable MCP Integration for Vercel AI SDK
Connect Teachable to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Teachable to Vercel AI SDK
Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.
Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with
--write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.
Teachable MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"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 Vercel AI SDK
Vercel AI SDK 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. |