Skip to content

spec: Add edit and open config actions for file-based MCP servers#9884

Open
oz-for-oss[bot] wants to merge 1 commit intomasterfrom
oz-agent/spec-issue-9882
Open

spec: Add edit and open config actions for file-based MCP servers#9884
oz-for-oss[bot] wants to merge 1 commit intomasterfrom
oz-agent/spec-issue-9882

Conversation

@oz-for-oss
Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot commented May 2, 2026

Summary

  • Add a product spec for opening file-based MCP backing config files from active and errored MCP server cards.
  • Add a tech spec covering the FileBasedMCPManager config-path resolver, MCP card edit-event routing, editor opening path, and validation plan.

Related issue: #9882

Validation

  • Spec-only change; reviewed the generated product and tech specs for path, scope, and code-path accuracy.

Conversation: https://app.warp.dev/conversation/484c90f0-c999-4d86-b74d-ced0ae637456
Run: https://oz.warp.dev/runs/019de6b0-ba76-70f1-ada2-800b5b937252
This PR was generated with Oz.

Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Varoon Kodithala <116049637+vkodithala@users.noreply.github.com>
@oz-for-oss
Copy link
Copy Markdown
Contributor Author

oz-for-oss Bot commented May 2, 2026

@oz-for-oss[bot]

I'm starting a first review of this spec-only pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor Author

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR adds product and tech specs for opening backing config files from file-based MCP server cards. The specs cover the user-facing behavior, routing plan, resolver shape, validation, and non-local build constraints.

Concerns

  • The tech spec's global Warp root assumption conflicts with the current managed MCP path helper, which can lead implementation and tests to validate the wrong stored root for global Warp configs.

Verdict

Found: 0 critical, 1 important, 0 suggestions

Request changes

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Comment thread specs/GH9882/tech.md
- Convert each `(root_path, provider)` pair to the same concrete config path that `FileMCPWatcher` scans:
- For project roots, use `root_path.join(provider.project_config_path())`.
- For non-Warp global roots, use `root_path.join(provider.home_config_path())`.
- For global Warp, use `warp_core::paths::warp_home_mcp_config_file_path()` or the same path exposed by `warp_managed_mcp_config_path()`, not `root_path.join(provider.home_config_path())`, because the stored root is Warp's data directory rather than the home directory.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [IMPORTANT] The current warp_managed_mcp_config_path() stores root_path as the home directory, not Warp's data directory, so this resolver/test plan can exercise a different key from runtime global Warp discovery. Specify which root key is canonical and add coverage for the actual managed MCP path before implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant