Skip to content

Claude/fix mcp oauth connections xot j6 - #5

Merged
criptogus merged 2 commits into
mainfrom
claude/fix-mcp-oauth-connections-xotJ6
May 15, 2026
Merged

criptogus merged 2 commits into
mainfrom
claude/fix-mcp-oauth-connections-xotJ6

Conversation

@criptogus

Copy link
Copy Markdown
Owner

What does this PR add?

Type

  • New package (skill / playbook / soul / guardrail)
  • Improvement to an existing package (bumped version)
  • Platform code or docs

Checklist (for content PRs)

  • Filename matches slug and the type's folder
  • At least 2 worked examples (skills) — realistic input + exact expected output
  • Original work, public-domain, or properly attributed; no secrets / PII
  • bun run validate:content passes locally
  • I've read CONTRIBUTING.md and agree to license under Apache-2.0 (code) / CC-BY-SA-4.0 (content)

Notes for reviewers

claude added 2 commits May 15, 2026 12:33
- Add path-aware RFC 9728/8414 discovery routes (/.well-known/
  oauth-protected-resource/api/mcp + authorization-server) to fix the
  404 that aborted OAuth in modern Claude/Cursor/Codex/VS Code builds
- Centralize discovery metadata + CORS in mcp-oauth.server.ts
- /api/mcp now sends CORS, an OPTIONS handler, and exposes the
  WWW-Authenticate challenge so web connectors can discover OAuth
- CLI: super-agent connect/login/status/logout/setup + a local
  stdio<->HTTP bridge that injects and refreshes the OAuth token
- Document the OAuth + CLI flow on /connect and /docs/mcp with
  ready-to-paste connection prompts

https://claude.ai/code/session_01QjRrzVxTXxMAwWsU65Avaf
The old get_methodology dumped the full 7-pillar rubric and review_skill
echoed every check + literal fix string, so a model internalised the
evaluator after one call and never needed us again.

- Evaluation logic (signals, weights, thresholds) is now server-private
- get_methodology returns only dimension names + how-to-use, never the rubric
- review_skill returns overall_score, per-dimension score + coarse band,
  and rotating, file-specific outcome directives — no per-check pass/fail,
  no detector strings
- Stronger engine: graded multi-signal scoring with per-type weighting
  (soul→identity, playbook→procedure, guardrail→guardrails) and weighted
  deficit ranking so actions target what most moves this file's score
- Realign overview / server instructions / docs to the proprietary framing

https://claude.ai/code/session_01QjRrzVxTXxMAwWsU65Avaf
@criptogus
criptogus merged commit 511f91c into main May 15, 2026
1 check passed
criptogus pushed a commit that referenced this pull request May 28, 2026
…equest

Infra/API follow-ups from operator feedback:

- review_skills_batch: score up to 10 files in one parallel call, aligned to
  input order with a single shared feedback_request — far lower round-trip
  latency than N review_skill calls (feedback #8).
- In-process result cache keyed by content_hash + options. Identical
  re-submissions skip both the deterministic scoring and the LLM semantic pass,
  cutting ~15-30s to ~0 on iterative loops; responses carry `cached` (#9).
  Core review logic extracted into computeReview(), shared by single + batch.
- dry_run preview for upload_packages and request_primitive: validates the file
  (type inference + prompt-injection guard) or echoes the would-be request
  WITHOUT auth, persistence, or model budget, so agents can test the publish
  flow before connecting OAuth. The MCP write-tool auth gate now lets a
  dry_run call through anonymously (#5/#6).

https://claude.ai/code/session_01EntkmBiYh381pKqvvSFBkg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants