Customer signal
Problem
Developers building a companion CLI/SDK for an MCP server already protected by Scalekit OAuth need a concrete, framework-grounded recipe — not a standalone journey page.
Proposed content
Content type: Cookbook (not how-to in MCP Auth sidebar)
Framework: oclif (or another popular Node CLI framework if oclif is a poor fit)
Cover:
- PKCE authorization code flow from a headless CLI
- Loopback redirect URI (
http://127.0.0.1:8765/callback)
- Dynamic client registration vs pre-registered public client
- Token storage and refresh (
offline_access)
- Calling the MCP server with Bearer token
Cross-link: authenticate/mcp/troubleshooting.mdx, authenticate/mcp/additional-reading.mdx
Why not a journey page
CLI OAuth is a narrow implementation pattern better suited to a cookbook/blog entry than the MCP Auth integration guides sequence.
Acceptance criteria
Customer signal
Problem
Developers building a companion CLI/SDK for an MCP server already protected by Scalekit OAuth need a concrete, framework-grounded recipe — not a standalone journey page.
Proposed content
Content type: Cookbook (not how-to in MCP Auth sidebar)
Framework: oclif (or another popular Node CLI framework if oclif is a poor fit)
Cover:
http://127.0.0.1:8765/callback)offline_access)Cross-link:
authenticate/mcp/troubleshooting.mdx,authenticate/mcp/additional-reading.mdxWhy not a journey page
CLI OAuth is a narrow implementation pattern better suited to a cookbook/blog entry than the MCP Auth integration guides sequence.
Acceptance criteria
/cookbooks/