Skip to content

Instrument Toolhive with Observability Backends #474

@mauriciocoder

Description

@mauriciocoder

Feature Description
We’d like to request the addition of observability support to Toolhive. While MCP clients currently do not support integration with observability backends, we believe that MCP proxies created with the toolhive run commands can share some events for analytics.

We observed that pkg/transport/stdio.go already brings some context on the requests being sent to containers and the responses received. This could be a good place to add hooks for observability.


Reasons
Observability would help us better understand:

  • Which MCP servers and tools are most used by each user;
  • Why certain MCP servers may not be used as much;
  • Patterns of usage across different teams or developers;

This data will help us identify adoption challenges, gather insights, and improve the MCP ecosystem.


Solution Proposal
Specifically, our company supports two distinct observability backends:

  1. HTTP POST endpoint: Events could be sent to a backend using HTTP POST.
  2. Datadog integration: Collect events and send them to Datadog by leveraging a Go client.

Proposed Next Steps
Which proposal are you most willing to discuss? We’re happy to collaborate on designing and/or implementing this feature if it aligns with the product's roadmap.

Thanks!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestp0High

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions