Skip to content

Add /status HTTP endpoint to vMCP server (#2998) - #3066

Merged
jhrozek merged 1 commit into
mainfrom
status-endpoint
Dec 17, 2025
Merged

jhrozek merged 1 commit into
mainfrom
status-endpoint

Conversation

@jhrozek

@jhrozek jhrozek commented Dec 16, 2025

Copy link
Copy Markdown
Contributor

Add a new /status endpoint to the Virtual MCP server that exposes runtime status information for debugging and operator consumption.

The endpoint returns:

  • backends: List of backend servers with name, health, transport type, and auth type (internal URLs intentionally excluded for security)
  • healthy: Overall health status (true if at least one backend healthy)
  • version: Build-time version for operational debugging
  • group_ref: MCPGroup reference for the backend workloads

Closes #2998

Add a new /status endpoint to the Virtual MCP server that exposes
runtime status information for debugging and operator consumption.

The endpoint returns:
- backends: List of backend servers with name, health, transport type,
  and auth type (internal URLs intentionally excluded for security)
- healthy: Overall health status (true if at least one backend healthy)
- version: Build-time version for operational debugging
- group_ref: MCPGroup reference for the backend workloads

Closes #2998
@github-actions github-actions Bot added the size/M Medium PR: 300-599 lines changed label Dec 16, 2025
@codecov

codecov Bot commented Dec 16, 2025 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.28571% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 56.86%. Comparing base (589ecb5) to head (75f3bac).
⚠️ Report is 20 commits behind head on main.

Files with missing lines Patch % Lines
pkg/vmcp/server/status.go 93.93% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3066      +/-   ##
==========================================
+ Coverage   56.51%   56.86%   +0.34%     
==========================================
  Files         334      336       +2     
  Lines       33170    33498     +328     
==========================================
+ Hits        18747    19047     +300     
- Misses      12839    12859      +20     
- Partials     1584     1592       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jhrozek
jhrozek merged commit 3fa249b into main Dec 17, 2025
@jhrozek
jhrozek deleted the status-endpoint branch December 17, 2025 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Medium PR: 300-599 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add /status HTTP endpoint to vMCP server

2 participants