The `serve` args baked into the bundle's `.mcp.json`.
(self)
| 476 | |
| 477 | /// The `serve` args baked into the bundle's `.mcp.json`. |
| 478 | fn mcp_args(self) -> serde_json::Value { |
| 479 | match self.scope { |
| 480 | InstallScope::Global => json!(["serve"]), |
| 481 | InstallScope::ProjectLocal => json!(["serve", "--path", "."]), |
| 482 | } |
| 483 | } |
| 484 | |
| 485 | /// The `env` baked into the bundle's `.mcp.json`; `None` strips the key. |
| 486 | fn mcp_env(self) -> Option<serde_json::Value> { |