Docs
MCP setup
Let Claude Code, Cursor or another MCP client run your webinars. The Webinarclose MCP server has five tools and works with your API key.
The agent acts with your API key. It can create and end webinars and read attendee names and emails. Only connect agents you trust. LiveKit access tokens are never handed to agents.
Remote server
| URL | https://api.webinarclose.com/mcp |
|---|---|
| Header | Authorization: Bearer wc_live_... |
| Transport | Streamable HTTP, POST only, stateless JSON responses |
A missing, unknown or revoked key gets 401. The tools call the same /v1 API inside the server, so your account scope, limits and strict bodies all still apply. Get a key on the pricing page; see step 1 of the quickstart.
Claude Code
# paste your key, press Enter (kept out of shell history)
read -rs WC_KEY && export WC_KEY
claude mcp add --transport http webinarclose \
https://api.webinarclose.com/mcp \
--header "Authorization: Bearer $WC_KEY"
Run /mcp inside Claude Code to check that webinarclose is connected. Keep the default scope and do not add --scope project: that writes the key into .mcp.json, a file that is meant to be committed.
Cursor
Add this to your user-level ~/.cursor/mcp.json, with your key in place of wc_live_.... Do not put it in a project's .cursor/mcp.json: that file often gets committed, key and all.
{
"mcpServers": {
"webinarclose": {
"url": "https://api.webinarclose.com/mcp",
"headers": { "Authorization": "Bearer wc_live_..." }
}
}
}
The same block works in other clients that take a URL plus headers, such as VS Code.
ChatGPT developer mode (not verified)
Honest answer: this probably does not work yet. Webinarclose only accepts the API key as a bearer header and does not offer OAuth yet. When we last looked, ChatGPT's connector setup offered OAuth or no authentication, without a field for your own Authorization header. Without the header, Webinarclose answers 401.
If your ChatGPT does let you set a custom header, enter the URL https://api.webinarclose.com/ and the header Authorization: Bearer wc_live_.... Otherwise use Claude Code, Cursor or the local option below.
Local (stdio)
The same five tools also run as a local process that calls the API with your key. This needs a copy of the source code and Node 22 or newer:
# [DRAFT] repository address follows at launch
git clone <repository-url> webinarclose
cd webinarclose
npm install
Then point your MCP client at src/mcp/stdio.ts with two environment variables:
| Variable | Value |
|---|---|
WEBINARCLOSE_API_URL | https://api.webinarclose.com, or your own server. Must be https; plain http only for localhost. Default http://127.0.0.1:3150. |
WEBINARCLOSE_API_KEY | Your key, wc_live_... or wc_test_... |
{
"mcpServers": {
"webinarclose": {
"command": "npx",
"args": ["tsx", "/path/to/webinarclose/src/mcp/stdio.ts"],
"env": {
"WEBINARCLOSE_API_URL": "https://api.webinarclose.com",
"WEBINARCLOSE_API_KEY": "wc_live_..."
}
}
}
}
Or with Claude Code, with WC_KEY set as shown above:
claude mcp add webinarclose \
--env WEBINARCLOSE_API_URL=https://api.webinarclose.com \
--env WEBINARCLOSE_API_KEY="$WC_KEY" \
-- npx tsx /path/to/webinarclose/src/mcp/stdio.ts
From inside the clone, npm run mcp starts the same server. The key only goes to the configured address, and only to fixed /v1 paths.
Tools
Swipe the table sideways
| Tool | What it does | Input |
|---|---|---|
list_webinars | Lists your webinars, newest start first (max 100). Read only. | status (optional): scheduled, live or ended |
create_webinar | Schedules a new webinar. | title, starts_at (ISO 8601 with offset), duration_min, max_viewers |
register_attendee | Registers a person. Registering the same email again returns the same registration. Returns registration_id, email and join_token. | webinar_id, email, name |
end_webinar | Ends a webinar now: disconnects everyone and closes the room. Cannot be undone. | webinar_id, confirm (must be true) |
get_report | Attendance: registered, attended, attendance_rate (0 to 1) and minutes watched per attendee, computed in code. Read only. | webinar_id |
The tools do not set the hosted page or return its slug. For page texts, colours and the link to share, use the API: PATCH /v1/webinars/{id}/page and GET /v1/webinars/{id}.
Try a prompt like: "Create a webinar called Close more deals next Tuesday at 15:00 Amsterdam time, 60 minutes, 30 viewers. Then register ann@example.com as Ann."
Results and errors
Every tool answers with structured output: result is ok (with data) or error (with error_code and message). Error codes:
| Code | Meaning |
|---|---|
invalid_request | A field is missing or wrong, or the id is not a UUID. |
not_found | No webinar with that id in your account. |
webinar_ended | The webinar has already ended. |
unauthorized | The key is missing, unknown or revoked. |
not_confirmed | end_webinar was called without confirm: true. |
upstream_error | Anything else from the API. |