Skip to content

Add Passport OAuth admin MCP server - #512

Open
shanerbaner82 wants to merge 1 commit into
mainfrom
feature/admin-mcp-oauth
Open

Add Passport OAuth admin MCP server#512
shanerbaner82 wants to merge 1 commit into
mainfrom
feature/admin-mcp-oauth

Conversation

@shanerbaner82

Copy link
Copy Markdown
Contributor

Summary

Adds a site-admin-only MCP at /mcp/oauth/admin behind Laravel Passport OAuth (mcp:admin), modeled on Bifrost. Public /api/mcp/* docs MCP stays open.

Tools cover unpublished blog drafts first, plus signups/users, companies, plugins/sales summaries, and support tickets — no license keys or Stripe secrets.

Test plan

  • php artisan test --filter=AdminMcpOAuthTest (11 passing)
  • Local: php artisan passport:keys, migrate OAuth tables, connect Cursor to /mcp/oauth/admin as a Filament admin
  • Prod follow-up: generate Passport keys, run migrations, register OAuth client in Cursor

Site-admin MCP at /mcp/oauth/admin (scope mcp:admin) for unpublished blog drafts, signups, companies, plugins, and support — separate from the public docs MCP.
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.

1 participant