Skip to content

fix(board): PARITY_STUDIO_URL accepts a full MCP endpoint (v0.28.1) - #317

Merged
JonasJesus42 merged 1 commit into
mainfrom
studio-endpoint-url
Aug 24, 2026
Merged

fix(board): PARITY_STUDIO_URL accepts a full MCP endpoint (v0.28.1)#317
JonasJesus42 merged 1 commit into
mainfrom
studio-endpoint-url

Conversation

@JonasJesus42

@JonasJesus42 JonasJesus42 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Studio deployments are org-scoped (/api/<org>/mcp/self); the client appended /mcp/self to whatever was set and hit the root path, which 404s on a real deployment.

Now uses the value as-is when it already points at an /mcp/ endpoint, and only appends for a bare host. On an org-scoped URL the organization comes from the URL, not only the token — corrects the earlier note.

Verified against the live Electrolux org: TASK_BOARD_ITEM_LIST returns {items: [], repos: ["ELX-LATAM-DevOps/electrolux-poc"]}.

1384 tests pass; new cases cover bare host, org-scoped URL, and trailing slashes.

🤖 Generated with Claude Code


Summary by cubic

Fixes Studio board endpoint resolution to support org‑scoped deployments. Previously we always posted to /mcp/self (root), which 404s on org‑scoped Studio; now PARITY_STUDIO_URL may be a full /mcp/self endpoint, and we only append /mcp/self for a bare host.

  • Updates docs and tests; publishes @decocms/parity v0.28.1.

Migration

  • For Studio deployments, set PARITY_STUDIO_URL to the full org‑scoped endpoint: https://studio.decocms.com/api//mcp/self. The organization comes from the URL. Bare hosts still work for root deployments.

Written for commit 67573ac. Summary will update on new commits.

Review in cubic

Studio deployments are org-scoped (https://studio.decocms.com/api/<org>/mcp/self)
and the client appended /mcp/self to whatever was set, hitting the root path,
which 404s on a real deployment. Use the value as-is when it already points at an
/mcp/ endpoint; only append for a bare host.

On an org-scoped URL the organization comes from the URL, not only the token —
corrects the earlier note.

Verified against the live Electrolux org: TASK_BOARD_ITEM_LIST returns
{items: [], repos: ["ELX-LATAM-DevOps/electrolux-poc"]}.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@JonasJesus42
JonasJesus42 merged commit 01991f4 into main Aug 24, 2026
4 checks passed
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