Skip to content

[OPIK-6783] [DOCS] Use OPIK_WORKSPACE (optional) for opik-mcp instead of COMET_WORKSPACE#6960

Merged
awkoy merged 1 commit into
mainfrom
awkoy/opik-6783-docs-opik-workspace
Jun 4, 2026
Merged

[OPIK-6783] [DOCS] Use OPIK_WORKSPACE (optional) for opik-mcp instead of COMET_WORKSPACE#6960
awkoy merged 1 commit into
mainfrom
awkoy/opik-6783-docs-opik-workspace

Conversation

@awkoy

@awkoy awkoy commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Details

Docs counterpart to comet-ml/opik-mcp#141 (OPIK-6783). The opik-mcp server now uses OPIK_WORKSPACE as the primary, OPIK_-prefixed env var for the workspace (matching the Opik SDK and the server's own OPIK_API_KEY). It is optional and defaults to default; COMET_WORKSPACE stays as a deprecated backward-compat alias (OPIK_WORKSPACE wins if both are set).

  • prompt_engineering/mcp-server.mdx: "Before you start" description + all host setup snippets (Claude Code, Cursor, VS Code Copilot, MCP Inspector) now use OPIK_WORKSPACE.
  • Adds an explicit tip that OPIK_WORKSPACE is optional and can be omitted (the server defaults to default); set it only for a named cloud workspace.
  • No other docs reference the opik-mcp workspace env var (the legacy v1 JS-server page uses --apiKey CLI flags).

Change checklist

  • User facing
  • Documentation update

Issues

AI-WATERMARK

AI-WATERMARK: yes

Testing

Docs-only change (single .mdx file), so no code/tests in this PR. Verified:

  • grep confirms every opik-mcp workspace env reference on the page now uses OPIK_WORKSPACE; only the intentional deprecated-alias mention of COMET_WORKSPACE remains.
  • The behavior being documented (OPIK_WORKSPACE primary / optional / defaults to default, COMET_WORKSPACE alias) was verified end-to-end against the running opik-mcp server in feat(config): OPIK_WORKSPACE env var + optional workspace (default "default") [OPIK-6783] opik-mcp#141 (initialize handshake + a real tool call; all four env permutations resolved as documented).

Documentation

This PR is the documentation update — apps/opik-documentation/documentation/fern/docs-v2/prompt_engineering/mcp-server.mdx.

…ad of COMET_WORKSPACE

Mirrors comet-ml/opik-mcp#141: OPIK_WORKSPACE is now the primary, OPIK_-prefixed
env var for the opik-mcp server workspace (matching the Opik SDK). It is optional
and defaults to "default"; COMET_WORKSPACE stays as a deprecated backward-compat
alias. Updates the description and all host setup snippets (Claude Code, Cursor,
VS Code Copilot, MCP Inspector).

OPIK-6783

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@awkoy
awkoy requested review from a team as code owners June 3, 2026 15:00
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jun 3, 2026
@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

🌿 Preview your docs: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik

The following broken links were found:

Page: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/v1/changelog/2026/6/2
❌ Broken link: https://www.comet.com/docs/opik/changelog/2026-06-02 (404)

Page: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/v1/changelog/2026/6/2/
❌ Broken link: https://www.comet.com/docs/opik/changelog/2026-06-02 (404)

Page: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/latest/reference/rest-api/dashboards/delete-dashboards-batch
❌ Broken link: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/latest/reference/rest-api/dashboards/get-dashboard-by-id (500)

Page: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/latest/reference/rest-api/dashboards/delete-dashboards-batch/
❌ Broken link: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/latest/reference/rest-api/dashboards/get-dashboard-by-id (500)

Page: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/latest/reference/rest-api/dashboards/delete-dashboard
❌ Broken link: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/latest/reference/rest-api/dashboards/get-dashboard-by-id (500)

Page: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/latest/reference/rest-api/dashboards/create-dashboard
❌ Broken link: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/latest/reference/rest-api/dashboards/get-dashboard-by-id (500)

Page: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/latest/reference/rest-api/dashboards/create-dashboard/
❌ Broken link: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/latest/reference/rest-api/dashboards/get-dashboard-by-id (500)

Page: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/latest/reference/rest-api/dashboards/update-dashboard
❌ Broken link: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/latest/reference/rest-api/dashboards/get-dashboard-by-id (500)

Page: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/latest/reference/rest-api/dashboards/update-dashboard/
❌ Broken link: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/latest/reference/rest-api/dashboards/get-dashboard-by-id (500)

Page: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/latest/reference/rest-api/dashboards/find-dashboards
❌ Broken link: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/latest/reference/rest-api/dashboards/get-dashboard-by-id (500)

Page: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/latest/reference/rest-api/dashboards/delete-dashboard/
❌ Broken link: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/latest/reference/rest-api/dashboards/get-dashboard-by-id (500)

Page: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/latest/reference/rest-api/dashboards/find-dashboards/
❌ Broken link: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/latest/reference/rest-api/dashboards/get-dashboard-by-id (500)

Page: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/latest/changelog/2026/6/2
❌ Broken link: https://www.comet.com/docs/opik/changelog/2026-06-02 (404)

Page: https://opik-preview-a8d2a1b6-ddb8-4cb7-a07c-2733b4dba940.docs.buildwithfern.com/docs/opik/latest/changelog/2026/6/2/
❌ Broken link: https://www.comet.com/docs/opik/changelog/2026-06-02 (404)


📌 Results for commit 011e8de

@awkoy awkoy changed the title docs(mcp): OPIK_WORKSPACE (optional) for opik-mcp instead of COMET_WORKSPACE [OPIK-6783] [OPIK-6783] [DOCS] Use OPIK_WORKSPACE (optional) for opik-mcp instead of COMET_WORKSPACE Jun 3, 2026
@awkoy
awkoy merged commit 8848327 into main Jun 4, 2026
9 of 14 checks passed
@awkoy
awkoy deleted the awkoy/opik-6783-docs-opik-workspace branch June 4, 2026 08:51
jverre pushed a commit that referenced this pull request Jun 12, 2026
…ad of COMET_WORKSPACE (#6960)

Mirrors comet-ml/opik-mcp#141: OPIK_WORKSPACE is now the primary, OPIK_-prefixed
env var for the opik-mcp server workspace (matching the Opik SDK). It is optional
and defaults to "default"; COMET_WORKSPACE stays as a deprecated backward-compat
alias. Updates the description and all host setup snippets (Claude Code, Cursor,
VS Code Copilot, MCP Inspector).

OPIK-6783

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants