Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

feat(mcp): persist OAuth client info and auth server URL

8 months ago

727c888
Authored
mweinbach2/21/2026, 7:29:55 PM
- Move @modelcontextprotocol/sdk to production dependencies
- Store and resolve OAuth client information (clientId, clientSecret)
- Track authorization server URL from discovery phase
- Pass persisted client info and auth server URL to OAuth provider
- Add readMCPServerOAuthClientInformation and setMCPServerOAuthClientInformation helpers
- Update MCP server add/rename/remove flows for new credential fields
- Update tests for OAuth provider changes

Parent1957c4a

7 files changed
  • bun.lock+1−1
  • package.json+1−1
  • src/mcp/authStore.ts+77−1
  • src/mcp/index.ts+34−1
  • src/mcp/oauthProvider.ts+168−104
  • src/server/session.ts+30−2
  • test/mcp.oauth-provider.test.ts+60−5