Commit de19489
The "Your app is AI-operable, for free" section's copy-paste command —
`claude mcp add --transport http my-app http://localhost:3000/api/v1/mcp` —
registers the MCP server correctly, but the next natural step (an agent
actually calling a tool) 401s until the caller signs in. Measured live, at
head, against a freshly booted `examples/app-crm`: unauthenticated
`initialize` returns `401 {"code":"UNAUTHENTICATED","message":"Unauthorized:
a valid OAuth access token or API key is required"}`, matching the finding
this closes. The README gave no hint that a sign-in step follows the
command.
The linked docs page, content/docs/ai/connect-mcp.mdx ("Connect an MCP
Client"), already carries the step in full — interactive OAuth browser
login for the exact same command, plus a headless API-key flow for
CI/containers — so the fix is a one-sentence pointer here, not a rewrite of
a page that already correctly carries the weight this README delegates to.
Fixes #10319
Claude-Session: https://claude.ai/code/session_019bmVFqoQPq63zhKrxdYG1r
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 45204a5 commit de19489
2 files changed
Lines changed: 29 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
176 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
177 | 180 | | |
178 | 181 | | |
179 | 182 | | |
| |||
0 commit comments