Skip to main content
Glama

MCPJungle mcp gateway

by mcpjungle
Mozilla Public License 2.0
638
  • Apple
noop_metrics.go•738 B
package telemetry import ( "context" "time" ) // NoopCustomMetrics is a no-op implementation of CustomMetrics that does nothing and adds minimal overhead. // This should be used when metrics are disabled or not needed. type NoopCustomMetrics struct{} // NewNoopCustomMetrics returns a no-op implementation of CustomMetrics. func NewNoopCustomMetrics() CustomMetrics { return &NoopCustomMetrics{} } func (m *NoopCustomMetrics) RecordToolCall( ctx context.Context, serverName, toolName string, outcome ToolCallOutcome, elapsedTime time.Duration, ) { // No-op } func (m *NoopCustomMetrics) RecordPromptCall( ctx context.Context, serverName, promptName string, outcome PromptCallOutcome, elapsedTime time.Duration, ) { // No-op }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mcpjungle/MCPJungle'

If you have feedback or need assistance with the MCP directory API, please join our Discord server