Skip to content

Releases: prometheus/prometheus-mcp

v0.18.0

Choose a tag to compare

@github-actions github-actions released this 25 Apr 19:43

Changelog

New Features And Changes

  • 2f79d3a feat(mcptest): add ListTools method to test harness
  • e032979 feat: add AGENTS.md

Fixes

  • ffa5ff1 fix(mcp): ensure tools without params pass openapi schema validation

Other Changes

  • 34c5717 build(Makefile): better clean up generated docs commit hash file
  • 2a7a936 build(deps): Bump actions/setup-go from 6.3.0 to 6.4.0
  • a4168f6 build(deps): Bump azure/setup-helm from 4.3.1 to 5.0.0
  • 93f5ba3 build(deps): Bump docker/login-action from 3.7.0 to 4.0.0
  • ece822d build(deps): Bump docker/setup-buildx-action from 3.12.0 to 4.0.0
  • 3bfec4a build(deps): Bump docker/setup-qemu-action from 3.7.0 to 4.0.0
  • cf70f12 build(deps): go get -u ./...
  • 251eeab build(deps): go get -u ./...
  • 6bc72a9 build(deps): go get -u ./...
  • 2f296fd chore: bump prometheus docs checkout
  • 022da52 chore: bump prometheus docs checkout
  • 464333c chore: bump prometheus docs checkout
  • 388eef7 chore: fix LICENSE attribution
  • 924e43d docs(AGENTS.md): restructure/trim based on upstream research/best practices
  • f238400 tests(mcp): adapt to go-sdk v1.5 schema validation behavior change

v0.17.0

Choose a tag to compare

@github-actions github-actions released this 21 Mar 04:37

Changelog

New Features And Changes

  • c68bd43 feat(mcp): optimize server instructions
  • c9eae90 feat: use model.Duration to support d/w/y duration units

Other Changes

  • 613f341 build(deps): go get -u ./...
  • 85874c5 build: bump devbox tool versions
  • 2ef14a7 build: bump required go to go 1.26.0
  • b94460e chore: bump prometheus docs checkout
  • e146270 chore: bump prometheus docs checkout
  • 2c41654 ref: remove custom multihandler pkg in favor of slog.NewMultiHandler()

v0.16.0

Choose a tag to compare

@github-actions github-actions released this 10 Mar 05:23

Changelog

New Features And Changes

  • 7cfc090 feat(helm): enable auto installing grafana dashboard
  • d9b4588 feat: add grafana dashboard
  • d9ac499 feat: add helm chart

Fixes

  • 1e46cb0 fix(api): properly trim newlines in doManagementAPICall
  • e210eba fix(docs): don't retain chunks slice, not used after creating search index
  • 52c154e fix(docs): replace atomic pointer with RWMutex to prevent use-after-close
  • 840f411 fix(docsUpdater): use declared header size for archive decompression math
  • 9710ffa fix(docs_updater): prevent int64 overflow in decompression size check
  • a363d38 fix(errors): use exact string equality for 404 error message matching
  • c327f05 fix(handlers): ensure negative limits = unlimited in metadata API calls
  • a418ae6 fix(handlers): fix chunk ID guard and resourceReq mutation in DocsSearchHandler
  • 5c1c7bf fix(handlers): increment failure metric on non-ok HTTP responses in doHTTPRequest
  • 18f0599 fix(handlers): range query step must be positive
  • e2c1a77 fix(mcp): enable server side keep alive to prevent HTTP session timeouts
  • fb0f162 fix(server): cache http.Client in ServerContainer for management API calls
  • ed40fe4 fix(tests): send real error values in concurrent test IsError paths
  • bd4ddc1 fix(tools): require explicit time range for delete_series
  • db04e23 fix(types): align range query step description to match parser behavior
  • 5d07108 fix(utils): normalize negative duration strings to reference past
  • 15eca71 fix: disable HTTP write timeout, it breaks stream semantics
  • eecaef2 fix: revert tar extracted data calculation, use bytes read
  • baac0b6 fix: unexport logger in struct

Other Changes

  • 8f5b3cc build(deps): Bump github.com/modelcontextprotocol/go-sdk
  • fc98270 build(deps): Bump goreleaser/goreleaser-action from 6 to 7
  • c914f27 build(deps): go 1.26, uv 0.10.2, goreleaser 2.13.3, golangci-lint 2.9.0
  • 2555d98 build(deps): go get -u ./...
  • e26ba53 build(deps): go get -u ./...
  • 8ce978c build(deps): go get -u ./...
  • 22858a3 build(helm): add make target to sync grafana dash
  • 1affa5a chore: bump prometheus docs
  • b46d034 chore: bump prometheus docs
  • 6b4c091 chore: bump prometheus docs
  • 141f693 chore: bump prometheus docs
  • 41388b0 chore: bump prometheus docs checkout
  • 13f30b4 chore: update some naming to be more idiomatic
  • 8752a03 ref(handlers): add parseTimeRangeInputWithDefaults helper
  • c6e4af4 ref(handlers): use parseTimeWithDefault in QueryHandler
  • 33a47c7 ref(registration): build Thanos toolset from Prometheus toolset programmatically
  • 9465ff0 ref(resources)!: remove non-docs MCP resources
  • cd2ae0f ref(server): remove redundant Bleve search result truncation
  • 7a828c1 ref(server): remove redundant serverContainerConfig struct
  • 1f7e58f ref(tools): extract callAPIAndReturnToolResult helper
  • 6cbfdea ref(tools): extract doSimpleAPICall helper for repetitive API call methods
  • e6a895c ref(tools): extract formatTruncatedQueryAPIResponse helper
  • 25f917c ref: truncateStringByLines() now returns trailing new line

v0.15.0

Choose a tag to compare

@github-actions github-actions released this 04 Feb 20:59

Changelog

New Features And Changes

  • 6f4294b feat(docs): add --docs.auto-update flag for live documentation updates
  • 3ddc799 feat: add helper to parse timestamps with default, reduce boilerplate
  • 3d3a925 feat: gracefully handle endpoints not implemented yet
  • 76cba8d feat: set user agent on docs updater

Fixes

  • a364e96 fix(resources): improve template for docs read resource URI
  • 6343b6c fix: don't use root context for webserver graceful shutdown

Other Changes

  • 07edb90 build(deps): go get -u ./...
  • a8c5132 build: bump devbox packages
  • 4989d78 chore: bump prometheus docs
  • 93ce9bf chore: bump prometheus docs checkout
  • 1a1fdac chore: renaming for go conventions
  • d2a2884 chore: typo
  • 6202603 ref!: use official MCP go sdk
  • 60b694c tests: add param call tracking, make tests parallel, more tests

v0.14.0

Choose a tag to compare

@github-actions github-actions released this 02 Jan 04:28
1080c4b

Changelog

New Features And Changes

  • 9a21194 feat(server): improve system prompt, add common workflows
  • 08131d1 feat(tools): support time duration strings in addition to epoch/rfc3339
  • d441e78 feat: Add tool annotations for improved LLM tool understanding

Other Changes

  • 53f2fee build: update devbox packages
  • a79d4ea chore: bump prometheus docs

v0.13.0

Choose a tag to compare

@github-actions github-actions released this 18 Dec 03:20

Changelog

New Features And Changes

  • 88970e5 feat(tools): add optional response truncation via --prometheus.truncation-limit=N

Other Changes

  • 87ddf92 build(depds): go get -u ./...
  • 22826a2 build(deps): Bump actions/checkout from 5 to 6
  • 91b161b build(deps): Bump github.com/mark3labs/mcp-go from 0.43.0 to 0.43.1
  • 8e4f685 build(deps): Bump github.com/prometheus/common from 0.67.3 to 0.67.4
  • 6dc3388 build(deps): Bump github.com/prometheus/common from 0.67.3 to 0.67.4
  • cab6d21 build: update devbox packages
  • 2cf9a81 chore: bump prometheus docs

v0.12.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 15:53
d00d240

Changelog

New Features And Changes

  • b9155f1 feat: add healthy/ready tools to thanos backend toolset
  • 41a583d feat: add tools for management endpoints (healthy, ready, reload, quit)

Fixes

  • f81394a fix: return actual status code in non-ok error return

Other Changes

  • ff624ac chore: bump prometheus docs
  • f11dad2 ref: allow doHttpRequest() to work with non-json responses better
  • 2f15d02 ref: move toonOrJsonOutput() alongside other tool helper funcs

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 05:46

Changelog

New Features And Changes

  • 217e049 feat(flags): make list in core tool description automatic
  • 18cc407 feat(logging): improve api client creation logs
  • 4586e53 feat(tools): add list_stores tool for thanos backend support
  • f8323e2 feat(tools): add general way to make HTTP request for 3rd party systems
  • 4763812 feat: add TOON output support for tools
  • ffde197 feat: allow customizing tools for select backends, add thanos support
  • d854837 feat: compile regex once at package level, not in hotpath
  • 469558e feat: improve logging around build toolset
  • 738ca01 feat: make prometheus api client timeout configurable

Other Changes

  • 9431d07 build(Makefile): use golangci-lint from devbox
  • f73522b build(depds): go get -u ./...
  • db86ef6 build(deps): go get -u ./...
  • ee23cfe build: remove build from inspector-http target
  • ec7f8ca chore: bump prometheus docs
  • 5602169 chore: bump prometheus docs
  • 2265db4 chore: bump prometheus docs
  • 331325a chore: bump prometheus docs
  • 2d3304d chore: bump prometheus docs
  • 8d53bd6 chore: bump prometheus docs
  • 09add3c chore: remove outdated code comment
  • 88d3f4c ref: add wrapper container to handle per-request api client mods
  • eb2f94f ref: move prometheus tools to their own file for organization
  • 4798745 ref: remove querytimeout that was inconsistently used
  • 1b36d5b ref: rename and move tool helper func, align with resource helper
  • 94705d6 ref: use user agent roundtripper from prom common

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 28 Oct 20:46
4516458

Changelog

New Features And Changes

  • 0b9f38b feat: improve tool result error messages

Other Changes

  • 6fb2500 build(deps): bump mcp-go to v0.42.0 to get resource template middlewares
  • b4b8d4a build(deps): go get -u ./...
  • bb833ae chore: bump prometheus docs
  • 0c5599b chore: remove resource template closures, now supported in lib

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 20:47
3427f09

Changelog

New Features And Changes

  • 89efbe3 feat(tools): add docs search
  • 1c80699 feat: add environment variable support to compliment flags
  • 2d2252a feat: enable chunking of embedded docs
  • aa4cb18 feat: use embedded resources for docs related tool responses

Fixes

  • 8cd3430 fix(typo): add docs_search core tools list in flag output

Other Changes

  • 0b77d1e authorization var
  • 2fd05b0 build(Makefile): run tests before building binary
  • 206a7ed chore: update prometheus docs
  • 053f73f gacefully handle newApiClientLoaderMiddleware error
  • 64b6113 pass Authorization header to prometheus queries
  • 995c8a1 ref(mcp): split docs to their own file, prep for search
  • caf8e28 ref: move asset embed line back to server file
  • a39f5d0 rely on X-Request-ID for logging