Skip to content

docs: node-configuration - target_url works for type: mcp, not just H… - #380

Merged
aojea merged 2 commits into
google:mainfrom
fer-marino:docs/node-config-mcp-target-url
Sep 9, 2026
Merged

docs: node-configuration - target_url works for type: mcp, not just H…#380
aojea merged 2 commits into
google:mainfrom
fer-marino:docs/node-config-mcp-target-url

Conversation

@fer-marino

Copy link
Copy Markdown
Contributor

…TTP/inference/A2A

The property table and example config only showed command (stdio subprocess) for MCP services, and described target_url as HTTP/inference/A2A only. That's not what the code does: buildRegisterRequest maps target_url to a backend regardless of service type, and MCPService.backendTransport() proxies to it the same way for MCP as any other type - verified end to end against a real Streamable HTTP MCP server, not just by reading the source.

Adds a second MCP example (HTTP backend via target_url, no subprocess) and clarifies the two backend kinds are mutually exclusive.

…TTP/inference/A2A

The property table and example config only showed command (stdio
subprocess) for MCP services, and described target_url as
HTTP/inference/A2A only. That's not what the code does:
buildRegisterRequest maps target_url to a backend regardless of
service type, and MCPService.backendTransport() proxies to it the
same way for MCP as any other type - verified end to end against a
real Streamable HTTP MCP server, not just by reading the source.

Adds a second MCP example (HTTP backend via target_url, no
subprocess) and clarifies the two backend kinds are mutually
exclusive.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the node configuration documentation to include an example and detailed descriptions for exposing an existing HTTP MCP server using the target_url parameter, clarifying that it is mutually exclusive with the command parameter. The review feedback suggests a grammatical improvement to the description of target_url to fix a comma splice and use more standard phrasing.

Comment thread site/content/docs/user/node-configuration.md Outdated
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@aojea
aojea merged commit 5f75029 into google:main Sep 9, 2026
13 of 15 checks passed
@aojea

aojea commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

Thanks

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants