wcc_mcp_server
Integrates with Google APIs for event management, registration, and conflict checking as part of the WCC pipeline.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@wcc_mcp_server list upcoming events"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
WCC Pipeline MCP Server
Exposes the WCC event/mentorship/analytics pipeline as MCP tools over streamable HTTP (or stdio for local testing). Built for SecondBrain's agent-api MCP client, but any MCP client can connect.
One process serves three tool groups, each with its own endpoint, bearer token, and lock — a token can only ever list/call its own group's tools:
group | endpoint | tools | maps to skills |
events |
| 10 | everything except wcc-mentorship / wcc-analytic |
mentorship |
| 8 |
|
analytic |
| 2 |
|
Layout
wcc_mcp/ MCP server package (tool table, runner, HTTP app)
tests/ pytest suite (also validates the vendored script closure)
skills/ vendored pipeline scripts, one folder per skill
skills/.env API secrets (NOT committed — copy skills/.env.example)
.env server config: group tokens, DRY_RUN (NOT committed)skills/ is a vendored snapshot of the WCC workspace skills (2026-07-22),
trimmed to the scripts the 20 tools actually execute (plus their transitive
helper scripts). The skills/<skill>/scripts/ layout is preserved because the
scripts locate each other and skills/.env via relative paths. Vendored
changes vs. the workspace originals:
wcc-mentorship/scripts/publish_next_mentor.sh: queue path is overridable viaWCC_MENTOR_QUEUEso the mutable queue can live on a Docker volume.
Browser automation (Meetup UI, HTML→PNG posters) is not part of this server;
publish_event.sh skips the Meetup step and tolerates missing posters.
Related MCP server: clue2app-user-mcp
Local setup
cp .env.example .env # set WCC_MCP_TOKEN_* (openssl rand -hex 32)
cp skills/.env.example skills/.env # fill in API secrets
./run.sh # creates .venv, installs, serves http://127.0.0.1:8765/mcp/<group>Host requirements: python3.10+, bash, jq, node (mentorship tools),
ffmpeg (process_recording only). Analytic tools additionally need
pip install -r requirements-analytic.txt (or set WCC_ANALYTIC_PYTHON
to a venv python that has pandas/seaborn).
Modes
HTTP (default):
./run.sh— serves every group whose token is set; clients sendAuthorization: Bearer <group token>to/mcp/<group>./healthis open and reports per-group tool counts.stdio:
./run.sh --stdio [--group events|mentorship|analytic]— unauthenticated, one group at a time, for MCP Inspector or Claude Desktop:npx @modelcontextprotocol/inspector ./run.sh --stdio --group analytic
Dry runs
DRY_RUN=true ./run.sh passes DRY_RUN=true to every script — they log
instead of hitting Google/Luma/LinkedIn APIs. Always dry-run publish_event
after changing anything.
Docker
docker build -t wcc-mcp .
docker run --rm --env-file .env \
-v "$PWD/skills/.env:/app/skills/.env:ro" \
-p 8765:8765 wcc-mcp
curl http://127.0.0.1:8765/healthThe image bundles python + node deps and all vendored scripts. Mutable state
lives under /data (volume): analytics output (WCC_ANALYTICS_DATA) and the
mentor post queue (WCC_MENTOR_QUEUE). Draft-event state in /tmp is
ephemeral and lost on restart — same behavior as running on a host.
Deployment (VM alongside agent-api)
The container is not published on any host port. It joins a shared Docker
network; agent-api on the same VM reaches it at http://wcc-mcp:8765/mcp/<group>.
One-time server bootstrap:
sudo mkdir -p /opt/wcc-mcp && cd /opt/wcc-mcp
# place docker-compose.yml (from this repo)
# place .env (from .env.example — real tokens; chmod 600)
# place skills.env (from skills/.env.example — real API secrets; chmod 600)
docker network create agent-net # agent-api compose must join it too
docker login ghcr.io # read-only PAT (private image)
docker compose up -d
# seed the mentor queue onto the volume:
docker compose cp wcc-mcp:/app/skills/wcc-mentorship/mentor_post_queue.txt.example /tmp/q.txt
docker compose exec wcc-mcp sh -c 'cat > /data/mentor_post_queue.txt' < /tmp/q.txtIn agent-api's data/tenants.json, point each tenant's MCP server at
http://wcc-mcp:8765/mcp/<group> with the matching bearer token
(allow_private: true). Alternatively, add the wcc-mcp service directly to
the agent-api compose stack instead of using the external network.
Secrets model
Inbound auth: per-group bearer tokens in
/opt/wcc-mcp/.env; the only client is agent-api on the internal Docker network — no TLS/reverse proxy needed, nothing listens on a host interface.Outbound auth: API secrets in
/opt/wcc-mcp/skills.env, mounted read-only at/app/skills/.env. Never in the image, never in git, never in GitHub Actions. Rotate by editing the file anddocker compose up -d.CI only holds SSH deploy credentials (see below).
CI/CD
.github/workflows/ci-deploy.yml: on push to main — pytest → build →
push ghcr.io/<repo>:latest + :sha-… → SSH to the VM →
docker compose pull && up -d.
Required GitHub repo secrets:
secret | value |
| VM hostname/IP |
| deploy user (in the |
| private key of a dedicated deploy keypair |
| optional, defaults to 22 |
Pipeline rules (enforced via tool descriptions)
STOP on calendar conflicts —
quick_conflict_checkbefore drafting.All event times are Europe/London.
Never
publish_eventbeforeset_registration_linksucceeded.One event in flight at a time (
/tmp/draft_event.json); exclusive tools are serialized by a lock and fail fast if another step is running.
Tests
pip install -e '.[dev]'
pytesttest_every_script_exists_on_disk guards the vendored closure — it fails if
a tool references a script that wasn't vendored.
Available Tools
10 toolscleanup_stateA
Delete the in-flight draft state (/tmp/draft_event.json and poster temp files). Use to abandon a draft or after a completed publish. Pass force=true to ignore the 30-minute idle guard.
Inputs: force.
collect_attendanceA
Phase 3: pull attendee lists from Luma and Meetup and append them to the master Google Sheet. Takes ~1-2 minutes.
Inputs: luma_id (required), sheet_id (required), meetup_id (required).
create_registration_formA
Create a public Google registration Form for the event and store its URL in the draft. Use when the organizer has no Meetup/Luma link. Takes ~30s.
Inputs: title (required), folder_id, event_format.
draft_eventA
Phase 1A: turn raw event notes into a structured draft (description, LinkedIn copy) via Gemini, written to /tmp/draft_event.json. Provide as much detail as possible (title, speakers, date/time, format). All event times are interpreted as Europe/London. Takes 30-90s. Only ONE event may be in flight at a time (shared state: /tmp/draft_event.json). Use cleanup_state to abandon a draft and start over.
Inputs: raw_notes (required).
process_recordingA
Phase 3: find the event recording + transcript on Drive, trim silence, upload to YouTube, and write links back into the event's event-details.json. VERY SLOW — can take 15-40 minutes; wait for the result and do not retry while it runs. Only ONE event may be in flight at a time (shared state: /tmp/draft_event.json). Use cleanup_state to abandon a draft and start over.
Inputs: hint_date, hint_title.
publish_eventA
Phase 2: publish the drafted event — creates the Drive folder, uploads event-details.json, creates the Google Calendar event with Meet link, creates the Luma listing, and queues social posts. PRECONDITIONS: a draft exists AND set_registration_link has succeeded. Meetup listing and poster generation are NOT automated in this version. Takes several minutes — wait for the result. Only ONE event may be in flight at a time (shared state: /tmp/draft_event.json). Use cleanup_state to abandon a draft and start over.
Inputs: no named parameters.
quick_conflict_checkA
Check the WCC admin Google Calendar for conflicting events at a proposed time. Run this BEFORE drafting an event with a date. If a conflict is found you MUST STOP and ask the user to pick a different time — never proceed with a conflicting slot. Takes ~10s.
Inputs: start_iso (required), duration_minutes.
schedule_linkedinA
Generate the 11-post LinkedIn cadence timestamps for an event date (10 days out through event day, 10:00 Europe/London). Returns a JSON array of ISO timestamps. Instant.
Inputs: event_date_iso (required).
set_registration_linkA
Save the registration URL (Meetup/Luma/Google Form) into the current event draft. REQUIRED before publish_event — publishing without a registration link is forbidden. Instant.
Inputs: url (required), file.
speaker_lookupB
Search the WCC Google Drive speaker database. action is one of: search | download | create | upload_headshot | upload_bio. 'search "Jane Doe"' finds a profile; 'download' fetches the headshot. Use before drafting to reuse existing speaker bios. Takes ~10s.
Inputs: action (required), params.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool targets a distinct stage in the event lifecycle: pre-check, drafting, speaker lookup, registration, scheduling, publishing, post-event processing, and cleanup. Even set_registration_link and create_registration_form are clearly separated (one saves an existing link, the other creates a new form). No two tools are ambiguous.
Most tools follow a verb_noun pattern (draft_event, publish_event, collect_attendance, cleanup_state). Minor deviations exist: quick_conflict_check uses a modifier + noun_verb, and speaker_lookup has object_verb order. Overall the pattern is predictable and readable.
10 tools is well within the ideal range and each tool serves a necessary step in the event management workflow. The count feels intentionally scoped, covering planning through post-event actions without unnecessary bloat.
The surface covers the full event lifecycle: conflict checking, drafting, speaker lookup, registration, publishing, attendance, recording, and cleanup. Minor gaps exist (e.g., no update/cancel for published events, poster generation noted as not automated), but the core workflow is complete and agents can execute end-to-end.
Maintenance
Related MCP Connectors
TheSignup MCP server — read and manage signups, participants, webhooks, and analytics.
Governed MCP gateway: one endpoint for your tools, with credential custody and audit log.
One OAuth connector for your team's remote MCP servers, with Tool Packs, guardrails and logs.
Appreciate teammates, celebrate milestones, and run workspace ops from MCP clients via OAuth.
Related MCP Servers
FlicenseNot gradedqualityBmaintenanceA unified MCP layer that serves organization toolkits as MCP endpoints with per-tool permissions, an async approval queue, and full audit logging.-
clue2app-user-mcpofficial
FlicenseAqualityDmaintenanceExposes user, membership, and role administration tools via MCP, acting as a thin passthrough to a coordinator API with RBAC enforced by the coordinator using caller bearer tokens.8-- AlicenseNot gradedqualityCmaintenancePublishes a shared MCP endpoint where API-key users in different groups see and call only the tools their policies permit, mixing remote upstream tools with local ones. Tool discovery and execution are both filtered, hidden-tool calls are denied before their handlers run, and every action is tagged with subject and group in structured JSON logs.MIT
- AlicenseNot gradedqualityCmaintenanceExposes a multi-tenant helpdesk over MCP, enabling tool-based ticket, document, and notification operations while applying configurable authorization, tenant-isolation, input-handling, and rate-limit defenses.1MIT