KosmoKrator

productivity

Teachable MCP Integration for Claude Agent SDK

Connect Teachable to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write API key auth

Connect Teachable to Claude Agent SDK

Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.

Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.

Teachable MCP Config for Claude Agent SDK

Use a narrow integration list so the agent does not load unrelated tools.

{
  "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

Scoped tools

Expose only Teachable instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Teachable Tools Visible to Claude Agent SDK

Claude Agent SDK sees stable MCP tool names generated from the Teachable integration catalog.

MCP toolSource functionTypeDescription
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.

Related Teachable Pages