Agent Mesh
Go a2aa2a-protocolagent-meshagentic-aiinferencemcpmeshmesh-networknetwork-securitynetworking-aip2p-network
docs: an mcp service with command and target_url uses target_url
Tomas Tormobcfccc2c5d8e
diff --git a/site/content/docs/guides/exposing-services.md b/site/content/docs/guides/exposing-services.mdindex db82b3e1..82f8ab27 100644--- a/site/content/docs/guides/exposing-services.md+++ b/site/content/docs/guides/exposing-services.md@@ -64,10 +64,10 @@ and does not manage it:target_url: "http://127.0.0.1:7777/mcp"```-`command` and `target_url` are mutually exclusive. Before the node advertises-a service of either kind, it probes the backend. A subprocess that needs more-than two seconds to answer its first request is not advertised unless you-raise `--backend-probe-timeout`.+When both `command` and `target_url` are set, the node uses `target_url`.+Before the node advertises a service of either kind, it probes the backend. A+subprocess that needs more than two seconds to answer its first request is+not advertised unless you raise `--backend-probe-timeout`.Callers see the whole tool list of the server. If a third-party serverbundles tools that you do not want to offer, put a small MCP server in frontdiff --git a/site/content/docs/reference/node-config.md b/site/content/docs/reference/node-config.mdindex b7ffe9c4..4eeffc8d 100644--- a/site/content/docs/reference/node-config.md+++ b/site/content/docs/reference/node-config.md@@ -88,7 +88,8 @@ A list. Each entry has these keys:Rules by type:-- **`mcp`**: `command` or `target_url`, not both. A `target_url` must be a+- **`mcp`**: `command` or `target_url`. When both are set, the node uses+ `target_url` and ignores `command` and `env`. A `target_url` must be aStreamable HTTP MCP endpoint.- **`inference`**: `target_url` only. It must be the root URL of the backendwithout `/v1`. The node adds the prefix. Callers reach the service through