MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / mcp_args

Method mcp_args

src/agents/codex.rs:478–483  ·  view source on GitHub ↗

The `serve` args baked into the bundle's `.mcp.json`.

(self)

Source from the content-addressed store, hash-verified

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> {

Callers 1

codex_plugin_mcpFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected