# Enablement Studio — MCP & Plugin Documentation

Connect Enablement Studio to Claude, Claude Code, ChatGPT, Cursor, Grok, or any MCP client, inspect all 14 tools, and review OAuth 2.1 security and plan limits.

## Overview & Endpoint

- **Hosted MCP Endpoint:** `https://enablementstudio.ai/mcp`
- **Transport:** Streamable HTTP (stateless per request)
- **Authentication:** OAuth 2.1 with mandatory PKCE (`code_challenge`), scopes `studio` (required) and `offline_access`
- **OAuth Discovery:** `https://enablementstudio.ai/.well-known/oauth-protected-resource/mcp` and `https://enablementstudio.ai/.well-known/oauth-authorization-server`
- **Write Boundary:** Agents propose changes only; suggested edits queue in Review on the site until a human clicks Apply
- **Requirements:** Active Enablement Studio account with a confirmed email address
- **Early access:** AI apps are currently in early access. If your account is not open yet, email `login@enablementstudio.app` from your account address.

## Official Plugins & Client Setup

### Claude (Web & Desktop)
- Official plugin listing: https://claude.ai/plugins/id/plugin_019onZ7SxiozBgfg6PhwN2Cv
- Custom connector fallback: https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Enablement%20Studio&connectorUrl=https%3A%2F%2Fenablementstudio.ai%2Fmcp
1. Install Enablement Studio from Claude plugins
2. Sign in here and choose Allow
3. Ask Claude to draft a kit

```json
{
  "mcpServers": {
    "enablement-studio": {
      "url": "https://enablementstudio.ai/mcp"
    }
  }
}
```

### Claude Code (CLI)

```bash
claude mcp add --transport http enablement-studio https://enablementstudio.ai/mcp
```

Run `/mcp` inside Claude Code to sign in with OAuth 2.1 and complete consent.

### ChatGPT & Codex
- Official plugin listing: https://chatgpt.com/plugins/plugin_asdk_app_6af7bc747fec8191b91262e27c9f41d3
1. Install Enablement Studio from ChatGPT plugins
2. Sign in here and choose Allow
3. Ask ChatGPT to draft a kit

```bash
codex mcp add enablement-studio --url https://enablementstudio.ai/mcp
```

### Cursor
- Official Cursor directory: https://cursor.directory/plugins/enablement-studio
- Direct MCP install link: https://cursor.com/install-mcp?name=enablement-studio&config=eyJ1cmwiOiJodHRwczovL2VuYWJsZW1lbnRzdHVkaW8uYWkvbWNwIn0%3D
1. Install Enablement Studio from the Cursor directory
2. Sign in here and choose Allow
3. Ask Cursor to draft a kit

`.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "enablement-studio": {
      "url": "https://enablementstudio.ai/mcp"
    }
  }
}
```

### Grok
- Official Grok Bot directory: https://grok-bot.directory/apps/enablement-studio
1. Install Enablement Studio from the Grok Bot directory
2. Sign in here and choose Allow
3. Ask Grok to draft a kit

Manual Remote HTTPS URL: `https://enablementstudio.ai/mcp`

### Any Other MCP Client
Any app that supports MCP connectors can use the address: `https://enablementstudio.ai/mcp`

```json
{
  "mcpServers": {
    "enablement-studio": {
      "url": "https://enablementstudio.ai/mcp"
    }
  }
}
```

## First Prompts to Try

- "Draft a training kit from this job posting." — *A Role kit, from the posting you paste.*
- "Coach this call. What is the one thing to fix?" — *Coaching notes and one fix, from the transcript you paste.*
- "Critique this lesson outline. Does each activity match its objective?" — *Scores and a rewrite of the weakest part.*
- "Open my kit for new support agents and list its objectives." — *Reads a kit already in your Library.*
- "Ask the quiz specialist on that kit to make the second question harder." — *A suggested change that waits in Review.*

## MCP Tools Reference (14)

Your AI client chooses tools automatically from your prompt. Every tool returns both a readable `content` text block and a matching `structuredContent` object (capped at 60,000 text characters).

### `get_my_plan`
- **Group:** Read & inspect · **Access:** Read-only · **Uses AI model:** No (0 model tokens)
- **Purpose:** Shows your plan, how much of its allowance is used, and when it resets.
- **Input parameters:** `None`
- **Output fields:** `plan, percent_used, used_up, resets_at, drafts_left, text`
- **MCP annotations:** `readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false`
- **Behavior:** Uses zero model tokens. Reports current period usage and reset date.

### `list_kits`
- **Group:** Read & inspect · **Access:** Read-only · **Uses AI model:** No (0 model tokens)
- **Purpose:** Lists your projects and the kits in them.
- **Input parameters:** `project_id?: integer (positive, optional)`
- **Output fields:** `projects[{id, name}], kits[{id, title, product, updated, pinned, project_id}], partial, text`
- **MCP annotations:** `readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false`
- **Behavior:** Paginates up to 10 project pages and 25 kit pages (200 per page); truncated safely below 60,000 text chars.

### `get_kit`
- **Group:** Read & inspect · **Access:** Read-only · **Uses AI model:** No (0 model tokens)
- **Purpose:** Reads one kit, in the order the site shows it, with its link.
- **Input parameters:** `kit_id: integer (positive, required)`
- **Output fields:** `kit_id, title, product, engine, link, truncated, text`
- **MCP annotations:** `readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false`
- **Behavior:** Returns the complete kit document in site order including quiz answers, rationales, and pasted speaker names.

### `get_example`
- **Group:** Read & inspect · **Access:** Read-only · **Uses AI model:** No (0 model tokens)
- **Purpose:** Reads the finished example kit for Role, Call or Critic.
- **Input parameters:** `product: "role" | "call" | "critic" (required)`
- **Output fields:** `kit_id, title, product, engine, link, truncated, text`
- **MCP annotations:** `readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false`
- **Behavior:** Reads a finished public example kit built from labeled EXAMPLE DATA.

### `draft_role_kit`
- **Group:** Runs & specialists · **Access:** Creates / updates resource · **Uses AI model:** Yes (requires OpenAI consent tick)
- **Purpose:** Starts a Role kit from a job posting, an SOP or a gap described in plain words.
- **Input parameters:** `text: string (1–200,000 chars; pasted job posting, SOP, or gap — text only)`
- **Output fields:** `run_id, product, status, stage_id, stage, engine, offline_reason, kit_id, kit_url, poll_after, error, text`
- **MCP annotations:** `readOnlyHint: false, destructiveHint: true, idempotentHint: false, openWorldHint: false`
- **Behavior:** Requires opt-in model consent and counts against plan allowance. Waits up to 45s; a Role kit takes ~3 minutes, so poll get_run when status is running.

### `coach_call`
- **Group:** Runs & specialists · **Access:** Creates / updates resource · **Uses AI model:** Yes (requires OpenAI consent tick)
- **Purpose:** Starts coaching notes and one fix from a call transcript.
- **Input parameters:** `text: string (1–200,000 chars; call transcript as pasted text)`
- **Output fields:** `run_id, product, status, stage_id, stage, engine, offline_reason, kit_id, kit_url, poll_after, error, text`
- **MCP annotations:** `readOnlyHint: false, destructiveHint: true, idempotentHint: false, openWorldHint: false`
- **Behavior:** Requires opt-in model consent and counts against plan allowance. Produces 3-seat coaching notes and one enablement fix.

### `critique_lesson`
- **Group:** Runs & specialists · **Access:** Creates / updates resource · **Uses AI model:** Yes (requires OpenAI consent tick)
- **Purpose:** Scores a lesson outline and rewrites its weakest part.
- **Input parameters:** `text: string (1–200,000 chars; lesson outline as pasted text)`
- **Output fields:** `run_id, product, status, stage_id, stage, engine, offline_reason, kit_id, kit_url, poll_after, error, text`
- **MCP annotations:** `readOnlyHint: false, destructiveHint: true, idempotentHint: false, openWorldHint: false`
- **Behavior:** Requires opt-in model consent and counts against plan allowance. Scores objective, activity, and quiz alignment and rewrites the weakest section.

### `get_run`
- **Group:** Read & inspect · **Access:** Read-only · **Uses AI model:** No (0 model tokens)
- **Purpose:** Checks where a run is, and gives the kit’s link when it is done.
- **Input parameters:** `run_id: string (/^run-[0-9a-f]{24}$/), wait_seconds?: integer (0–50, default 25)`
- **Output fields:** `run_id, product, status, stage_id, stage, engine, offline_reason, kit_id, kit_url, poll_after, error, text`
- **MCP annotations:** `readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false`
- **Behavior:** Long-polls up to wait_seconds while running and returns kit_id + kit_url when finished.

### `ask_specialist`
- **Group:** Runs & specialists · **Access:** Creates / updates resource · **Uses AI model:** Yes (requires OpenAI consent tick)
- **Purpose:** Asks one of a kit’s specialists a question. A change it suggests waits in Review.
- **Input parameters:** `kit_id: integer, specialist: string (Role: guide|gap|role|skills|objectives|practice|evidence|quiz|module|export; Call: call; Critic: critic), message: string (1–1,500 chars)`
- **Output fields:** `kit_id, specialist, proposed_changes, has_proposed_change, waits_in_review, link, text`
- **MCP annotations:** `readOnlyHint: false, destructiveHint: true, idempotentHint: false, openWorldHint: false`
- **Behavior:** Requires opt-in model consent. Any proposed edit waits in Review until a person applies it on the site; never auto-applied.

### `audit_learning_science`
- **Group:** Read & inspect · **Access:** Read-only · **Uses AI model:** No (0 model tokens)
- **Purpose:** Checks objectives, quiz items, session load or an outline against learning-science rules without starting an AI draft.
- **Input parameters:** `At least one of: objectives?: string[] (<=30), quiz?: {question, choices[2..8], answer}[] (<=30), session?: {minutes, title?, description?}[] (<=40), lesson_text?: string (<=40,000 chars)`
- **Output fields:** `summary, objective_count, quiz_count, issue_count, text`
- **MCP annotations:** `readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false`
- **Behavior:** Runs deterministic Mager, Bloom, Haladyna, and cognitive-load checks without starting an AI draft or spending plan allowance.

### `export_kit`
- **Group:** Read & inspect · **Access:** Read-only · **Uses AI model:** No (0 model tokens)
- **Purpose:** Lists the downloadable files and audience tags for a kit, with direct links.
- **Input parameters:** `kit_id: integer (positive, required)`
- **Output fields:** `kit_id, product, ready, exports[{format, label, audience, description, filename, url}], link, text`
- **MCP annotations:** `readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false`
- **Behavior:** Lists facilitator guide, learner handout, job aid, session slides, quiz CSV, follow-ups calendar, JSON pack, or Call/Critic reports.

### `share_practice_link`
- **Group:** Learner delivery · **Access:** Creates / updates resource · **Uses AI model:** No (0 model tokens)
- **Purpose:** Creates or reuses a shareable learner practice quiz link for a Role kit, when you allowed share links while connecting.
- **Input parameters:** `kit_id: integer (positive, required), refresh?: boolean`
- **Output fields:** `kit_id, url, code, reused, item_count, expires_on, link, text`
- **MCP annotations:** `readOnlyHint: false, destructiveHint: true, idempotentHint: false, openWorldHint: false`
- **Behavior:** Creates or reuses a shareable learner practice quiz link for a Role kit; zero model tokens consumed.

### `get_learner_results`
- **Group:** Read & inspect · **Access:** Read-only · **Uses AI model:** No (0 model tokens)
- **Purpose:** Reads anonymized learner practice results, confident misses, spaced retention check-ins, and roleplay completions for a Role kit.
- **Input parameters:** `kit_id: integer (positive, required)`
- **Output fields:** `kit_id, state, shared, stale, learners, flag_count, link, text`
- **MCP annotations:** `readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false`
- **Behavior:** Reads anonymized learner accuracy, high-confidence misses, lucky guesses, spaced retention check-ins, and roleplay completions.

### `build_online_lesson`
- **Group:** Learner delivery · **Access:** Creates / updates resource · **Uses AI model:** No (0 model tokens)
- **Purpose:** Builds or inspects a Role kit’s self-paced online lesson with standalone HTML and SCORM 1.2, and a shareable link when you allowed share links while connecting.
- **Input parameters:** `kit_id: integer (positive, required), action?: "build" | "status" (default "build"), share?: boolean`
- **Output fields:** `kit_id, built, lesson_id, activity_count, preview_url, html_download_url, scorm_download_url, shared_url, link, text`
- **MCP annotations:** `readOnlyHint: false, destructiveHint: true, idempotentHint: false, openWorldHint: false`
- **Behavior:** Builds or inspects a Role kit self-paced online lesson with preview, standalone HTML, SCORM 1.2, and optional shareable link.

### Async Runs & Specialist IDs
- `draft_role_kit`, `coach_call`, and `critique_lesson` accept pasted text only (no URLs or file uploads), wait up to 45 seconds, and return `run_id`, `status`, and `poll_after`. If `status` is `running`, poll `get_run` with `run_id`.
- `ask_specialist` accepts `specialist` values: Role (`guide`, `gap`, `role`, `skills`, `objectives`, `practice`, `evidence`, `quiz`, `module`, `export`), Call (`call`), or Critic (`critic`).

## Permissions & Review Boundary

### Allowed after OAuth consent
- See your plan and how much allowance is left
- Read your projects and kits
- Start Role, Call and Critic runs
- Ask a specialist about a kit
- Build a kit’s online lesson and list its downloads
- Read anonymized learner results
- Create share links, when you allow it

### Blocked at the API boundary
- Apply or reject a change
- Rename, move or delete anything
- Reach your account, billing or sign-in settings

## Auth, Consent & Security

- **Opt-in model consent:** The consent form checkbox (`Send what you write in the app to OpenAI`) starts unticked. Without it, read-only tools work and metered runs/specialists are refused at the API boundary.
- **Isolated model project:** Words sent via a connected AI app go through a dedicated OpenAI project that does not share inputs/outputs for model training (see `https://enablementstudio.ai/privacy`).
- **Prompt-injection boundary:** Account data (kit text, kit titles, project names, specialist answers, run errors) is wrapped between start/end marker lines bearing a per-response 96-bit random `materialCode`, with embedded marker look-alikes neutralized.
- **Verification & session lifecycle:** PKCE `code_challenge` is enforced for all clients; Client ID Metadata Documents are verified against cross-host redirects; access tokens expire after 1 hour; refresh tokens slide 30 days on inactivity up to a 180-day hard cap; token keys are stored hashed; IP addresses are never logged or stored.

## Limits & Offline Fallback

- **Rate limits:** 10 runs per hour and 30 runs per day per account across all connected AI apps.
- **Input caps:** Up to 200,000 characters for pasted run text; up to 1,500 characters per specialist message.
- **Connections per account:** Up to 10 connected apps per account (connecting another ends the oldest connection).
- **Allowance & offline fallback:** Runs count against your plan allowance like site runs. When an allowance or daily budget is exhausted, runs fall back to the Studio's deterministic rules and say so in the tool output.

## Troubleshooting & Disconnect

### “AI apps are not open for this email yet”
Your account is not in early access yet. Write to us from the email on the account and we will open it.

### “This connection was ended”
You disconnected the app, deleted your account, or the connection reached its 30-day idle or 180-day maximum window. Connect again from the app.

### The app can read kits but cannot start runs
You connected without ticking the opt-in consent box for OpenAI. Connect again and tick the box to enable runs and specialist questions.

### A run is still drafting
A Role kit takes about three minutes. Poll get_run with the run_id after the returned poll_after seconds, or open your Library on the web.

### The kit was drafted offline
The response tells you whether your monthly allowance or the daily studio AI budget ran out. The kit is still saved in your Library.

### The app says it cannot reach Enablement Studio
Wait a minute and try again. If it keeps failing, write to support and name the client app you are using.

### Disconnect an app
Open Settings → AI apps (`https://enablementstudio.ai/settings/ai-apps`) and choose **Disconnect**, or revoke sessions in Settings → Account. Deleting your account ends every connection immediately.

## Support & Security

- Support: `login@enablementstudio.app` (also `https://enablementstudio.ai/contact`)
- Security reports: `login@enablementstudio.app` (`https://enablementstudio.ai/.well-known/security.txt`)
