Skip to content

fix(release): add missing server.json for MCP registry publish - #41

Closed
asachs01 wants to merge 1 commit into
mainfrom
fix/add-missing-server-json
Closed

fix(release): add missing server.json for MCP registry publish#41
asachs01 wants to merge 1 commit into
mainfrom
fix/add-missing-server-json

Conversation

@asachs01

@asachs01 asachs01 commented Aug 7, 2026

Copy link
Copy Markdown
Member

Problem

Release run 31139355966 (2026-08-07) fails at 'Publish to MCP Registry': jq: error: Could not open file server.json. This repo never had a server.json — every other *-mcp repo does, since the shared release workflow's 'Stamp version into server.json' step expects one committed with 0.0.0 placeholders. Reference: task_1786072998734.

Fix

Added server.json, modeled on action1-mcp's (same schema, same reusable release workflow). Environment variables verified directly against source (src/auth/azureAuth.ts, src/client/afkbotClient.ts) rather than guessed from the README:

  • AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET — required
  • AFKBOT_API_URL, AFKBOT_APP_CLIENT_ID — optional
  • transport: stdio only (this repo doesn't read MCP_TRANSPORT/AUTH_MODE, unlike some siblings that support gateway header-injection)

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Release run 31139355966 (2026-08-07) failed at the 'Publish to MCP
Registry' step: jq: error: Could not open file server.json -- this
repo never had one, unlike every other *-mcp repo. Every release will
fail at this step until it exists.

Modeled on action1-mcp's server.json (same reusable release workflow,
same schema). Environment variables match src/auth/azureAuth.ts and
src/client/afkbotClient.ts exactly (AZURE_TENANT_ID, AZURE_CLIENT_ID,
AZURE_CLIENT_SECRET required; AFKBOT_API_URL, AFKBOT_APP_CLIENT_ID
optional) -- transport is stdio-only, no MCP_TRANSPORT/AUTH_MODE vars
(this repo doesn't support gateway header-injection mode).

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
@asachs01

Copy link
Copy Markdown
Member Author

Closing — superseded by Aaron's decision (2026-08-19, decision batch 3, item 5): afkbot-mcp stays private/internal, the deliberate 2026-04-29 revert of server.json stands. Option (b) instead: decouple the deploy job in release.yml from the mcp-registry sub-job's (expected) failure. See follow-up PR.

@asachs01 asachs01 closed this Aug 20, 2026
@asachs01
asachs01 deleted the fix/add-missing-server-json branch August 20, 2026 00:19
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