Docs · MCP server

Run your community from your AI assistant

The CohortCamp MCP server lets Claude, Cursor, VS Code, Codex and any other Model Context Protocol client read and manage your community: posts, members, courses, events and cohorts. There's nothing to install. It's a hosted server that uses your API key.

1. Create an API key

Go to Settings → API and click Create API Key. API access is included on the Pro and Scale plans. The key is shown once, and the dialog gives you ready-to-paste configs with your key already filled in.

Only turn on Can enroll members in cohorts if you want your assistant to enroll or remove people, since that can grant paid access.

2. Add the server to your client

Server URL: https://cohortcamp.com/api/v1/mcp. Replace cc_YOUR_API_KEY with your key.

Run in your terminal:

claude mcp add --transport http cohortcamp https://cohortcamp.com/api/v1/mcp \
  --header "Authorization: Bearer cc_YOUR_API_KEY"

Claude Desktop connects through mcp-remote, a small bridge that needs Node.js 18+. Web-based connectors such as claude.ai custom connectors and ChatGPT require OAuth sign-in, which we don't support yet.

3. Try it

Ask your assistant something like:

  • “Summarize this week's posts and list unanswered questions.”
  • “Draft an announcement for Thursday's live call and post it in Announcements once I approve.”
  • “Turn this outline into a course with one lesson per section.”
  • “Who's on the waitlist for the spring cohort?”
  • “Add the recording link to yesterday's event.”

Available tools

Community & members

get_community
Your community's name, plan and settings
list_members / get_member
Browse members, filter by role
add_member
Add a member by email

Spaces & posts

list_spaces / create_space
Browse or add sidebar spaces
list_posts / get_post
Read discussions, questions and announcements
create_post
Publish a post (Markdown) in a space

Courses

list_courses / get_course
Browse courses and their outlines
create_course
Draft a new course
list_lessons / create_lesson
Read or append lessons

Events

list_events / get_event
Upcoming or past events, with RSVPs
create_event / update_event
Schedule, edit, add a recording, or cancel

Cohorts

list_cohorts / get_cohort
Cohorts with dates, capacity and price
list_cohort_enrollments
Who's enrolled, waitlisted or dropped
enroll_in_cohort / drop_from_cohort
Grant or revoke cohort access (needs the enroll permission)

Lead magnets

list_lead_magnets
Your downloadable freebies
list_lead_magnet_optins
Who signed up through each freebie, with UTM source

Security & limits

  • A key only ever reaches the one community it was created for.
  • Tools can create content that members see immediately. Most clients ask before running a tool, so review drafts before you approve.
  • Each tool call counts as one API call toward your plan's monthly limit. Connecting and listing tools is free.
  • Treat the key like a password. If it leaks, revoke it in Settings → API and create a new one.

Troubleshooting

401: Invalid API key
Check the header is exactly Authorization: Bearer cc_… and the key hasn't been revoked.
403: API access requires Pro plan
Upgrade the community, or make sure its subscription is active.
“This API key doesn't have the 'enroll' scope”
Create a new key with Can enroll members in cohorts turned on.
Claude Desktop shows no tools
Make sure Node.js is installed (node -v), fully quit and reopen Claude, then check Settings → Developer for errors.