mirror of
https://github.com/Sea-Haven-Industries/sh-mcp.git
synced 2026-10-05 04:52:05 +00:00
Sea Haven MCP platform — trust-tiered MCP servers + Cognito/Google auth broker, replacing seahaven-slack-bot and exec-aide (design phase)
- BLOCK-1: invert the token-layer trifecta layering — per-app-client AllowedOAuthScopes is the PRIMARY vendor-supported boundary (Cognito won't issue out-of-tier scopes regardless of group union); pre-token suppression is a fail-closed backstop; the aud/authorizer mechanism is flagged unverified-load-bearing and added to the §6 verify gate (#8); fix the design.md §2.3 misattribution + add the amendment to §4. - FIX-1: §1f notion-sync dual-feeds via S3 (was 'repointed instead of'). - FIX-2: split Phase 0a exit gate into fatal vs decision-input (Testing-Center identity). - FIX-3: remove stale 'boundary stays in infrastructure' phrasing (server is the boundary). - FIX-4: bound parallel-run double-spend (G9 + Phases 1-3 time-box). - FIX-5: specify minimal throwaway 0a kit + Slack-plan dependency. - FIX-6: remove dangling (O3); D3 recorded as accepted. - NITs: severity arithmetic, Ops welcome no longer oversells tasks, wrong-audience alarm named, flip-point clarified. Q1 fallback scope + Q2 freshness-bound documented. |
||
|---|---|---|
| docs | ||
| .gitignore | ||
| README.md | ||
sh-mcp
Sea Haven MCP platform. A TypeScript monorepo of trust-tiered MCP servers that expose
Sea Haven's proprietary integrations as tools, plus the Cognito/Google auth broker and the
rebuilt scheduled jobs. This service replaces seahaven-slack-bot and exec-aide, which are
deprecated completely; the conversational surface becomes a configurable Slack task agent.
Status: DESIGN / PLANNING. Not built. No stack deployed. The full design, auth architecture, scope matrix, and build plan live in
docs/design.md. Read it before writing any code.
Shape (planned)
- MCP servers (trust-tiered, remote HTTP, per-server IAM):
sh-mcp-ops— read-mostly, agent-facing (WO/PO/site lookups, KB search, Google Maps, Gmail/Calendar, tasks, reminders).sh-mcp-finance— sensitive, read-only, audited (QBO vendor search, payment lookups).sh-mcp-physical— DEFERRED, admin/out-of-band only (Lenel/Yealink/3CX control).
- Auth — Google Workspace is the single IdP; an Amazon Cognito user pool federated to Google issues scoped, audience-bound JWTs; group → scope mapping via a pre-token Lambda. See design §2.
- Jobs — rebuilt proactive Lambdas (email classify/digest, KB syncs).
- Language — TypeScript everywhere (servers, packages, CDK, jobs).
Open decisions
- Task-agent surface: Agentforce (recommended) vs marketplace Claude app vs custom Bolt assistant (design §12). Drives the model + guardrail story.
- Endpoint exposure specifics (Slack egress ranges / WAF) — design §9 / §11.
Layout (target)
packages/ shared + one package per integration
servers/ sh-mcp-ops, sh-mcp-finance (CDK stacks)
auth/ cognito, pre-token-lambda, group-sync-lambda
jobs/ rebuilt scheduled Lambdas
docs/ design.md (the canonical plan)
See docs/design.md for the authoritative spec.