Skip to content

feat(inner): add MCP server lookup API - #3160

Merged
wklken merged 1 commit into
TencentBlueKing:masterfrom
wklken:feat/inner-mcp-server-lookup
Aug 13, 2026
Merged

feat(inner): add MCP server lookup API#3160
wklken merged 1 commit into
TencentBlueKing:masterfrom
wklken:feat/inner-mcp-server-lookup

Conversation

@wklken

@wklken wklken commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Description

Separate exact MCP server lookup from the paginated list endpoint.

  • keep /api/v2/inner/mcp-servers/ as the paginated list API
  • add /api/v2/inner/mcp-servers/-/lookup/ as an unpaginated lookup API
  • accept ids and names without the mcp_server_ prefix
  • synchronize gateway resources, grants, API documentation, and regression tests

Verification

  • focused MCP inner API tests: 29 passed
  • uv run make edition-ee && uv run make lint-check: passed
  • OpenAPI consistency: 0 errors, 41 baseline warnings
  • uv run make edition-ee && uv run make test: 3821 passed

Checklist

  • 填写 PR 描述及相关 issue (write PR description and related issue)
  • 代码风格检查通过 (code style check passed)
  • PR 中包含单元测试 (include unit test)
  • 单元测试通过 (unit test passed)
  • 本地开发联调环境验证通过 (local development environment verification passed)

Separate exact MCP server lookup from the paginated list endpoint. The new unpaginated API accepts ids or names, preserves dynamic field selection, and synchronizes the route, gateway definition, documentation, permissions, and regression coverage.
@wklken
wklken merged commit b5c09f6 into TencentBlueKing:master Aug 13, 2026
4 checks passed
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.

1 participant