From ca93bd8e54411d821a2a50fb5b7a51820886fa7f Mon Sep 17 00:00:00 2001 From: Saif Shines Date: Thu, 30 Apr 2026 10:14:56 +0530 Subject: [PATCH 1/3] chore: use native Codex MCP config instead of mcp-remote --- plugins/agent-auth/.mcp.json | 3 +-- plugins/full-stack-auth/.mcp.json | 3 +-- plugins/mcp-auth/.mcp.json | 7 +------ plugins/modular-scim/.mcp.json | 3 +-- plugins/modular-sso/.mcp.json | 3 +-- 5 files changed, 5 insertions(+), 14 deletions(-) diff --git a/plugins/agent-auth/.mcp.json b/plugins/agent-auth/.mcp.json index 36dbbf4..baa0002 100644 --- a/plugins/agent-auth/.mcp.json +++ b/plugins/agent-auth/.mcp.json @@ -1,8 +1,7 @@ { "mcpServers": { "scalekit": { - "command": "npx", - "args": ["-y", "mcp-remote", "https://mcp.scalekit.com"] + "url": "https://mcp.scalekit.com" } } } diff --git a/plugins/full-stack-auth/.mcp.json b/plugins/full-stack-auth/.mcp.json index 36dbbf4..baa0002 100644 --- a/plugins/full-stack-auth/.mcp.json +++ b/plugins/full-stack-auth/.mcp.json @@ -1,8 +1,7 @@ { "mcpServers": { "scalekit": { - "command": "npx", - "args": ["-y", "mcp-remote", "https://mcp.scalekit.com"] + "url": "https://mcp.scalekit.com" } } } diff --git a/plugins/mcp-auth/.mcp.json b/plugins/mcp-auth/.mcp.json index ffaff7a..baa0002 100644 --- a/plugins/mcp-auth/.mcp.json +++ b/plugins/mcp-auth/.mcp.json @@ -1,12 +1,7 @@ { "mcpServers": { "scalekit": { - "command": "npx", - "args": [ - "-y", - "mcp-remote", - "https://mcp.scalekit.com" - ] + "url": "https://mcp.scalekit.com" } } } diff --git a/plugins/modular-scim/.mcp.json b/plugins/modular-scim/.mcp.json index 36dbbf4..baa0002 100644 --- a/plugins/modular-scim/.mcp.json +++ b/plugins/modular-scim/.mcp.json @@ -1,8 +1,7 @@ { "mcpServers": { "scalekit": { - "command": "npx", - "args": ["-y", "mcp-remote", "https://mcp.scalekit.com"] + "url": "https://mcp.scalekit.com" } } } diff --git a/plugins/modular-sso/.mcp.json b/plugins/modular-sso/.mcp.json index 36dbbf4..baa0002 100644 --- a/plugins/modular-sso/.mcp.json +++ b/plugins/modular-sso/.mcp.json @@ -1,8 +1,7 @@ { "mcpServers": { "scalekit": { - "command": "npx", - "args": ["-y", "mcp-remote", "https://mcp.scalekit.com"] + "url": "https://mcp.scalekit.com" } } } From 401f4b8a00fe105205e72567d64cd9f92aebdedc Mon Sep 17 00:00:00 2001 From: Saif Shines Date: Thu, 30 Apr 2026 10:25:21 +0530 Subject: [PATCH 2/3] revert: use mcp-remote until native HTTP plugin format is confirmed --- plugins/agent-auth/.mcp.json | 3 ++- plugins/full-stack-auth/.mcp.json | 3 ++- plugins/mcp-auth/.mcp.json | 3 ++- plugins/modular-scim/.mcp.json | 3 ++- plugins/modular-sso/.mcp.json | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/plugins/agent-auth/.mcp.json b/plugins/agent-auth/.mcp.json index baa0002..36dbbf4 100644 --- a/plugins/agent-auth/.mcp.json +++ b/plugins/agent-auth/.mcp.json @@ -1,7 +1,8 @@ { "mcpServers": { "scalekit": { - "url": "https://mcp.scalekit.com" + "command": "npx", + "args": ["-y", "mcp-remote", "https://mcp.scalekit.com"] } } } diff --git a/plugins/full-stack-auth/.mcp.json b/plugins/full-stack-auth/.mcp.json index baa0002..36dbbf4 100644 --- a/plugins/full-stack-auth/.mcp.json +++ b/plugins/full-stack-auth/.mcp.json @@ -1,7 +1,8 @@ { "mcpServers": { "scalekit": { - "url": "https://mcp.scalekit.com" + "command": "npx", + "args": ["-y", "mcp-remote", "https://mcp.scalekit.com"] } } } diff --git a/plugins/mcp-auth/.mcp.json b/plugins/mcp-auth/.mcp.json index baa0002..36dbbf4 100644 --- a/plugins/mcp-auth/.mcp.json +++ b/plugins/mcp-auth/.mcp.json @@ -1,7 +1,8 @@ { "mcpServers": { "scalekit": { - "url": "https://mcp.scalekit.com" + "command": "npx", + "args": ["-y", "mcp-remote", "https://mcp.scalekit.com"] } } } diff --git a/plugins/modular-scim/.mcp.json b/plugins/modular-scim/.mcp.json index baa0002..36dbbf4 100644 --- a/plugins/modular-scim/.mcp.json +++ b/plugins/modular-scim/.mcp.json @@ -1,7 +1,8 @@ { "mcpServers": { "scalekit": { - "url": "https://mcp.scalekit.com" + "command": "npx", + "args": ["-y", "mcp-remote", "https://mcp.scalekit.com"] } } } diff --git a/plugins/modular-sso/.mcp.json b/plugins/modular-sso/.mcp.json index baa0002..36dbbf4 100644 --- a/plugins/modular-sso/.mcp.json +++ b/plugins/modular-sso/.mcp.json @@ -1,7 +1,8 @@ { "mcpServers": { "scalekit": { - "url": "https://mcp.scalekit.com" + "command": "npx", + "args": ["-y", "mcp-remote", "https://mcp.scalekit.com"] } } } From 2828190591b500dceb8492381985863e1a6ffc7d Mon Sep 17 00:00:00 2001 From: Saif Shines Date: Thu, 30 Apr 2026 16:51:07 +0530 Subject: [PATCH 3/3] Use native HTTP config for Scalekit MCP --- README.md | 6 +++++- plugins/agent-auth/.mcp.json | 4 ++-- plugins/full-stack-auth/.mcp.json | 4 ++-- plugins/mcp-auth/.mcp.json | 4 ++-- plugins/mcp-auth/README.md | 2 ++ plugins/mcp-auth/references/scalekit-mcp-server.md | 6 ++++-- plugins/modular-scim/.mcp.json | 4 ++-- plugins/modular-sso/.mcp.json | 4 ++-- 8 files changed, 21 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 1ef9574..f3e4a77 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,11 @@ After the script runs: - `modular-sso` - `modular-scim` - `full-stack-auth` -5. Try one of the sample prompts from the installed plugin README +5. Run `codex mcp login scalekit` if the Scalekit MCP tools do not appear +6. Restart Codex so the session reloads the authenticated MCP tool list +7. Try one of the sample prompts from the installed plugin README + +If `/mcp` shows `Auth: Unsupported` but also lists Scalekit tools, the server is usable. If it shows `Tools: (none)`, authenticate with `codex mcp login scalekit` and restart Codex. --- diff --git a/plugins/agent-auth/.mcp.json b/plugins/agent-auth/.mcp.json index 36dbbf4..97dc405 100644 --- a/plugins/agent-auth/.mcp.json +++ b/plugins/agent-auth/.mcp.json @@ -1,8 +1,8 @@ { "mcpServers": { "scalekit": { - "command": "npx", - "args": ["-y", "mcp-remote", "https://mcp.scalekit.com"] + "type": "http", + "url": "https://mcp.scalekit.com/" } } } diff --git a/plugins/full-stack-auth/.mcp.json b/plugins/full-stack-auth/.mcp.json index 36dbbf4..97dc405 100644 --- a/plugins/full-stack-auth/.mcp.json +++ b/plugins/full-stack-auth/.mcp.json @@ -1,8 +1,8 @@ { "mcpServers": { "scalekit": { - "command": "npx", - "args": ["-y", "mcp-remote", "https://mcp.scalekit.com"] + "type": "http", + "url": "https://mcp.scalekit.com/" } } } diff --git a/plugins/mcp-auth/.mcp.json b/plugins/mcp-auth/.mcp.json index 36dbbf4..97dc405 100644 --- a/plugins/mcp-auth/.mcp.json +++ b/plugins/mcp-auth/.mcp.json @@ -1,8 +1,8 @@ { "mcpServers": { "scalekit": { - "command": "npx", - "args": ["-y", "mcp-remote", "https://mcp.scalekit.com"] + "type": "http", + "url": "https://mcp.scalekit.com/" } } } diff --git a/plugins/mcp-auth/README.md b/plugins/mcp-auth/README.md index 494fde3..92f8f77 100644 --- a/plugins/mcp-auth/README.md +++ b/plugins/mcp-auth/README.md @@ -44,5 +44,7 @@ The plugin also ships [`./.mcp.json`](/Users/saif/Projects/ai-first/codex-auth-s ## Troubleshooting - OAuth-capable MCP auth requires HTTP transport, not stdio transport. +- For Codex, run `codex mcp login scalekit` after installing the plugin, then restart Codex so the current session reloads MCP tools. +- Codex may display `Auth: Unsupported` for OAuth-backed HTTP MCP servers; treat `Tools: (none)` as the failure signal. - Missing or invalid bearer tokens should return `401` plus a `WWW-Authenticate` header that points hosts at your protected-resource metadata. - Keep dashboard resource settings and your metadata endpoint aligned before debugging token validation. diff --git a/plugins/mcp-auth/references/scalekit-mcp-server.md b/plugins/mcp-auth/references/scalekit-mcp-server.md index e950b57..05ab528 100644 --- a/plugins/mcp-auth/references/scalekit-mcp-server.md +++ b/plugins/mcp-auth/references/scalekit-mcp-server.md @@ -441,13 +441,15 @@ The Scalekit MCP server is already hosted and ready to use: { "mcpServers": { "scalekit": { - "command": "npx", - "args": ["-y", "mcp-remote", "https://mcp.scalekit.com/"] + "type": "http", + "url": "https://mcp.scalekit.com/" } } } ``` +For Codex, authenticate once with `codex mcp login scalekit` and restart Codex so the session reloads the authenticated tool catalog. + ### Running Your Own Instance ```bash diff --git a/plugins/modular-scim/.mcp.json b/plugins/modular-scim/.mcp.json index 36dbbf4..97dc405 100644 --- a/plugins/modular-scim/.mcp.json +++ b/plugins/modular-scim/.mcp.json @@ -1,8 +1,8 @@ { "mcpServers": { "scalekit": { - "command": "npx", - "args": ["-y", "mcp-remote", "https://mcp.scalekit.com"] + "type": "http", + "url": "https://mcp.scalekit.com/" } } } diff --git a/plugins/modular-sso/.mcp.json b/plugins/modular-sso/.mcp.json index 36dbbf4..97dc405 100644 --- a/plugins/modular-sso/.mcp.json +++ b/plugins/modular-sso/.mcp.json @@ -1,8 +1,8 @@ { "mcpServers": { "scalekit": { - "command": "npx", - "args": ["-y", "mcp-remote", "https://mcp.scalekit.com"] + "type": "http", + "url": "https://mcp.scalekit.com/" } } }