Keys for the HTTP API, management keys, and OAuth with consent for MCP clients

Open
#24 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

Start by reading ADR-0004 at docs/adr/0004-mcp-keys-first.md, which the issue links as the decision record for MCP keys. Then trace the HTTP API and MCP authentication entry points to understand how keys, consent, rate limits, and audit logging fit together. Done means the four checklist items are implemented, including scoped and revocable API keys and OAuth 2.1 consent for MCP clients.

Written by the indexing model from the issue text.

Description

area: auth decision enhancement security

MCP clients sign in with a long-lived key a person copies into their client: there is no consent screen and no grant by tool, only read or read-and-draft for each mailbox (ADR-0004). The HTTP API has no keys at all.

Done when

  • Scoped keys for the HTTP API, shown once, stored hashed, revocable, each use attributable.
  • Management keys are separate from mail keys.
  • OAuth 2.1 with a consent screen for MCP clients, as the decision record lays out.
  • Calls through MCP are rate-limited by key and written to the audit log.
Dominant language
TypeScript
Stars
1
Forks
1
Avg merge
9h 3m
Merged PRs (30d)
136

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudhal-dev/podbay

All issues in cloudhal-dev/podbay

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.