Skip to content

docs: document API-to-product vocabulary mapping (gateway/server → MCP server/virtual server) - #6770

Open
marekdano wants to merge 1 commit into
chore/mcp-sdk-v2from
docs/6543-api-vocab-mapping
Open

docs: document API-to-product vocabulary mapping (gateway/server → MCP server/virtual server)#6770
marekdano wants to merge 1 commit into
chore/mcp-sdk-v2from
docs/6543-api-vocab-mapping

Conversation

@marekdano

Copy link
Copy Markdown
Collaborator

Closes #6543

Summary

The React UI uses product terms — MCP server, virtual server, A2A agent — while the API still uses its original vocabulary (gateway, server) in routes, models, permission strings, and audit records. That gap was undocumented, so readers couldn't tell whether a mismatch was a bug or expected. This adds the mapping.

  • Adds docs/docs/overview/terminology.md: a mapping table (product term → routes / model & table / RBAC permissions / audit resource_type), a callout that "server" is ambiguous and must always be qualified, guidance to lead with the /v1/mcp-servers and /v1/virtual-servers paths over the deprecated unversioned aliases (sunset Sat, 26 Sep 2026), and a pointer to _RESOURCE_LABELS in mcpgateway/routers/log_search.py as the one place that already renders product terms correctly.
  • Notes that A2A actions don't reach the audit/activity feed today, since a2a_service logs through StructuredLogEntry rather than AuditTrail.
  • States explicitly that the API vocabulary itself is unchanged for now — the actual rename is tracked separately in [API]: Adopt product terminology in the REST API (MCP servers and virtual servers) #6544 — so the doc doesn't read as stale once that work lands.
  • Registers the new page in docs/docs/overview/.pages.

Docs only, no code changes.

Test plan

  • npx markdownlint-cli2 passes on the new file
  • mkdocs build succeeds; new page renders at /overview/terminology/ and appears in nav. (--strict fails only on 16 pre-existing broken anchors elsewhere in the docs tree, unrelated to this change.)

…P server/virtual server)

Signed-off-by: Marek Dano <mk.dano@gmail.com>
@marekdano
marekdano requested a review from a-effort September 10, 2026 15:09
@marekdano marekdano self-assigned this Sep 10, 2026
@marekdano marekdano added the 1.5 CF 1.0 + update MCP support + new UI label Sep 10, 2026

@a-effort a-effort left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good! Non-blocking considerations LLM review surfaced:

Consideration: the doc says contextforge-web-ui#85 tracks moving the React UI onto the /v1 paths and describes the UI as currently calling the legacy paths directly. contextforge-web-ui PR #98 (closes #85) is already open and under review, migrating all frontend calls to /v1/mcp-servers and /v1/virtual-servers. If #98 merges before this doc does, the statement is immediately stale. The fix is to replace the forward-looking sentence with something that stays accurate regardless of merge order, for example: note that #85 tracked this migration, and that PR #98 completed it.

Minor issue: the base branch for this PR is chore/mcp-sdk-v2, not main. If this doc merges into that integration branch and chore/mcp-sdk-v2 later merges to main, the page will arrive correctly. But if the branch is abandoned or rebased before merge, the doc needs to be retargeted. Not a blocker, just worth confirming the intended merge path.

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

Labels

1.5 CF 1.0 + update MCP support + new UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants