Congressio

v0.1.1
net.congressio/congressio Checked 1 day ago Published 25 days ago

Manage an academic conference: papers, peer review, decisions and attendees.

MCP server for Congressio — query and manage conferences from Claude, ChatGPT, or any MCP client. Runs locally over stdio: the client launches it, and it reads your API key from its own environment. Nothing is hosted, and no credential leaves your machine. Add it to your MCP client's config. For Claude Desktop or Claude Code:

Summary extracted from the README.

@congressio/mcp

MCP server for Congressio — query and manage conferences from Claude, ChatGPT, or any MCP client.

Runs locally over stdio: the client launches it, and it reads your API key from its own environment. Nothing is hosted, and no credential leaves your machine.

Install

Add it to your MCP client's config. For Claude Desktop or Claude Code:

{
  "mcpServers": {
    "congressio": {
      "command": "npx",
      "args": ["-y", "@congressio/mcp"],
      "env": { "CONGRESSIO_API_KEY": "cong_live_…" }
    }
  }
}

The key is optional — without it the public tools still work. Create one in Congressio under Organization settings → API.

Variable Default Purpose
CONGRESSIO_API_KEY — Organization API key. Omit for public tools only.
CONGRESSIO_BASE_URL https://congressio.net Point at another deployment.

Tools

Tool Needs a key What it does
list_public_conferences no The public conference directory
get_public_conference no One public conference, by slug
read_documentation no Congressio's docs as Markdown
list_my_events yes Your organization's events, drafts included, with UUIDs
list_submissions yes Submissions with review status and track
list_registrations yes Confirmed attendees, tiers, payment status
register_attendee yes Register one attendee and issue their pass

Everything is read-only except register_attendee, which is annotated idempotentHint because the endpoint returns the existing registration on a repeat call rather than double-booking. No tool creates or configures events — that write surface does not exist yet; see docs/mcp-server.md for the plan.

Design notes

  • Tool descriptions are the product. A model picks a tool from its description, so each one says when to reach for it, what it will not do, and which other tool to use instead. A test enforces that each description expresses applicability, not just capability.
  • API errors come back as isError tool results, carrying the API's own code, hint, and docs — so the model can recover (fix the argument, ask for a key) instead of the client seeing an opaque transport failure.
  • A keyed tool refuses before making the request when no key is configured, naming where to create one. That turns a bare 401 into something actionable.
  • The HTTP layer is shared with the CLI (@congressio/cli/http), so rate-limit headers, Retry-After, and Deprecation/Sunset warnings are handled in one place rather than reimplemented.
  • stdout belongs to the protocol. Every diagnostic goes to stderr; a stray console.log would corrupt the JSON-RPC stream and drop the connection.

Development

cd apps/mcp && npm install

# the tool contract runs in the repo's main suite
npm test --prefix ../..  -- apps/mcp

The protocol layer is verified by driving the real server over stdio — a probe that sends initialize → tools/list → tools/call and asserts on the responses. The tool handlers themselves are unit-tested against a fetch double in __tests__/tools.test.mjs.

Built on @modelcontextprotocol/server with the stdio transport.