Skip to content

feat: add health check and build info support#41

Merged
disintegrator merged 1 commit intomainfrom
build-info
Mar 6, 2026
Merged

feat: add health check and build info support#41
disintegrator merged 1 commit intomainfrom
build-info

Conversation

@disintegrator
Copy link
Contributor

@disintegrator disintegrator commented Mar 6, 2026

Closes GEN-2685

This change adds GET /healthz endpoint to server and support for passing build info to server and playground. On the server this build info is included in every http response in the DOCS-MCP header and the response body of GET /healthz.

Environment variables are:

  • SERVER_NAME: the name of the MCP server
  • SERVER_VERSION: the version of the MCP server
  • GIT_COMMIT: the git commit hash of the current build
  • BUILD_DATE: the date of the current build
CleanShot 2026-03-06 at 16 27 21@2x CleanShot 2026-03-06 at 16 27 37@2x localhost_3000_

This change adds `GET /healthz` endpoint to server and support for
passing build info to server and playground. On the server this build
info is included in every http response in the `DOCS-MCP` header and the
response body of `GET /healthz`.

Environment variables are:

- `SERVER_NAME`: the name of the MCP server
- `SERVER_VERSION`: the version of the MCP server
- `GIT_COMMIT`: the git commit hash of the current build
- `BUILD_DATE`: the date of the current build
@disintegrator disintegrator requested a review from a team March 6, 2026 16:22
@changeset-bot
Copy link

changeset-bot bot commented Mar 6, 2026

🦋 Changeset detected

Latest commit: 0728bf6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@speakeasy-api/docs-mcp-playground Minor
@speakeasy-api/docs-mcp-server Minor
@speakeasy-api/docs-mcp-core Minor
@speakeasy-api/docs-mcp-cli Minor
@speakeasy-api/docs-mcp-eval Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@linear
Copy link

linear bot commented Mar 6, 2026

@disintegrator disintegrator merged commit a669636 into main Mar 6, 2026
1 check passed
@disintegrator disintegrator deleted the build-info branch March 6, 2026 17:21
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