- Go 92.9%
- PLpgSQL 3.1%
- HTML 1.9%
- Shell 1.6%
- Makefile 0.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
[//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Bumps [go.opentelemetry.io/otel/exporters/prometheus](https://github.com/open-telemetry/opentelemetry-go) from 0.60.0 to 0.61.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/open-telemetry/opentelemetry-go/releases">go.opentelemetry.io/otel/exporters/prometheus's releases</a>.</em></p> <blockquote> <h2>Release v1.38.0/v0.60.0/v0.14.0/v0.0.13</h2> <h2>Overview</h2> <p>This release is the last to support [Go 1.23]. The next release will require at least [Go 1.24].</p> <h3>Added</h3> <ul> <li>Add native histogram exemplar support in <code>go.opentelemetry.io/otel/exporters/prometheus</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/6772">#6772</a>)</li> <li>Add template attribute functions to the <code>go.opentelmetry.io/otel/semconv/v1.34.0</code> package. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/6939">#6939</a>) <ul> <li><code>ContainerLabel</code></li> <li><code>DBOperationParameter</code></li> <li><code>DBSystemParameter</code></li> <li><code>HTTPRequestHeader</code></li> <li><code>HTTPResponseHeader</code></li> <li><code>K8SCronJobAnnotation</code></li> <li><code>K8SCronJobLabel</code></li> <li><code>K8SDaemonSetAnnotation</code></li> <li><code>K8SDaemonSetLabel</code></li> <li><code>K8SDeploymentAnnotation</code></li> <li><code>K8SDeploymentLabel</code></li> <li><code>K8SJobAnnotation</code></li> <li><code>K8SJobLabel</code></li> <li><code>K8SNamespaceAnnotation</code></li> <li><code>K8SNamespaceLabel</code></li> <li><code>K8SNodeAnnotation</code></li> <li><code>K8SNodeLabel</code></li> <li><code>K8SPodAnnotation</code></li> <li><code>K8SPodLabel</code></li> <li><code>K8SReplicaSetAnnotation</code></li> <li><code>K8SReplicaSetLabel</code></li> <li><code>K8SStatefulSetAnnotation</code></li> <li><code>K8SStatefulSetLabel</code></li> <li><code>ProcessEnvironmentVariable</code></li> <li><code>RPCConnectRPCRequestMetadata</code></li> <li><code>RPCConnectRPCResponseMetadata</code></li> <li><code>RPCGRPCRequestMetadata</code></li> <li><code>RPCGRPCResponseMetadata</code></li> </ul> </li> <li>Add <code>ErrorType</code> attribute helper function to the <code>go.opentelmetry.io/otel/semconv/v1.34.0</code> package. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/6962">#6962</a>)</li> <li>Add <code>WithAllowKeyDuplication</code> in <code>go.opentelemetry.io/otel/sdk/log</code> which can be used to disable deduplication for log records. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/6968">#6968</a>)</li> <li>Add <code>WithCardinalityLimit</code> option to configure the cardinality limit in <code>go.opentelemetry.io/otel/sdk/metric</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/6996">#6996</a>, <a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7065">#7065</a>, <a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7081">#7081</a>, <a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7164">#7164</a>, <a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7165">#7165</a>, <a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7179">#7179</a>)</li> <li>Add <code>Clone</code> method to <code>Record</code> in <code>go.opentelemetry.io/otel/log</code> that returns a copy of the record with no shared state. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7001">#7001</a>)</li> <li>Add experimental self-observability span and batch span processor metrics in <code>go.opentelemetry.io/otel/sdk/trace</code>. Check the <code>go.opentelemetry.io/otel/sdk/trace/internal/x</code> package documentation for more information. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7027">#7027</a>, <a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/6393">#6393</a>, <a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7209">#7209</a>)</li> <li>The <code>go.opentelemetry.io/otel/semconv/v1.36.0</code> package. The package contains semantic conventions from the <code>v1.36.0</code> version of the OpenTelemetry Semantic Conventions. See the <a href="https://github.com/open-telemetry/opentelemetry-go/blob/HEAD/semconv/v1.36.0/MIGRATION.md">migration documentation</a> for information on how to upgrade from <code>go.opentelemetry.io/otel/semconv/v1.34.0.</code>(<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7032">#7032</a>, <a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7041">#7041</a>)</li> <li>Add support for configuring Prometheus name translation using <code>WithTranslationStrategy</code> option in <code>go.opentelemetry.io/otel/exporters/prometheus</code>. The current default translation strategy when UTF-8 mode is enabled is <code>NoUTF8EscapingWithSuffixes</code>, but a future release will change the default strategy to <code>UnderscoreEscapingWithSuffixes</code> for compliance with the specification. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7111">#7111</a>)</li> <li>Add experimental self-observability log metrics in <code>go.opentelemetry.io/otel/sdk/log</code>. Check the <code>go.opentelemetry.io/otel/sdk/log/internal/x</code> package documentation for more information. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7121">#7121</a>)</li> <li>Add experimental self-observability trace exporter metrics in <code>go.opentelemetry.io/otel/exporters/stdout/stdouttrace</code>. Check the <code>go.opentelemetry.io/otel/exporters/stdout/stdouttrace/internal/x</code> package documentation for more information. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7133">#7133</a>)</li> <li>Support testing of [Go 1.25]. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7187">#7187</a>)</li> <li>The <code>go.opentelemetry.io/otel/semconv/v1.37.0</code> package. The package contains semantic conventions from the <code>v1.37.0</code> version of the OpenTelemetry Semantic Conventions. See the <a href="https://github.com/open-telemetry/opentelemetry-go/blob/HEAD/semconv/v1.37.0/MIGRATION.md">migration documentation</a> for information on how to upgrade from <code>go.opentelemetry.io/otel/semconv/v1.36.0.</code>(<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7254">#7254</a>)</li> </ul> <h3>Changed</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md">go.opentelemetry.io/otel/exporters/prometheus's changelog</a>.</em></p> <blockquote> <h2>[1.39.0/0.61.0/0.15.0/0.0.14] 2025-12-05</h2> <h3>Added</h3> <ul> <li>Greatly reduce the cost of recording metrics in <code>go.opentelemetry.io/otel/sdk/metric</code> using hashing for map keys. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7175">#7175</a>)</li> <li>Add <code>WithInstrumentationAttributeSet</code> option to <code>go.opentelemetry.io/otel/log</code>, <code>go.opentelemetry.io/otel/metric</code>, and <code>go.opentelemetry.io/otel/trace</code> packages. This provides a concurrent-safe and performant alternative to <code>WithInstrumentationAttributes</code> by accepting a pre-constructed <code>attribute.Set</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7287">#7287</a>)</li> <li>Add experimental observability for the Prometheus exporter in <code>go.opentelemetry.io/otel/exporters/prometheus</code>. Check the <code>go.opentelemetry.io/otel/exporters/prometheus/internal/x</code> package documentation for more information. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7345">#7345</a>)</li> <li>Add experimental observability metrics in <code>go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7353">#7353</a>)</li> <li>Add temporality selector functions <code>DeltaTemporalitySelector</code>, <code>CumulativeTemporalitySelector</code>, <code>LowMemoryTemporalitySelector</code> to <code>go.opentelemetry.io/otel/sdk/metric</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7434">#7434</a>)</li> <li>Add experimental observability metrics for simple log processor in <code>go.opentelemetry.io/otel/sdk/log</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7548">#7548</a>)</li> <li>Add experimental observability metrics in <code>go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7459">#7459</a>)</li> <li>Add experimental observability metrics in <code>go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7486">#7486</a>)</li> <li>Add experimental observability metrics for simple span processor in <code>go.opentelemetry.io/otel/sdk/trace</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7374">#7374</a>)</li> <li>Add experimental observability metrics in <code>go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7512">#7512</a>)</li> <li>Add experimental observability metrics for manual reader in <code>go.opentelemetry.io/otel/sdk/metric</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7524">#7524</a>)</li> <li>Add experimental observability metrics for periodic reader in <code>go.opentelemetry.io/otel/sdk/metric</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7571">#7571</a>)</li> <li>Support <code>OTEL_EXPORTER_OTLP_LOGS_INSECURE</code> and <code>OTEL_EXPORTER_OTLP_INSECURE</code> environmental variables in <code>go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7608">#7608</a>)</li> <li>Add <code>Enabled</code> method to the <code>Processor</code> interface in <code>go.opentelemetry.io/otel/sdk/log</code>. All <code>Processor</code> implementations now include an <code>Enabled</code> method. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7639">#7639</a>)</li> <li>The <code>go.opentelemetry.io/otel/semconv/v1.38.0</code> package. The package contains semantic conventions from the <code>v1.38.0</code> version of the OpenTelemetry Semantic Conventions. See the <a href="https://github.com/open-telemetry/opentelemetry-go/blob/main/semconv/v1.38.0/MIGRATION.md">migration documentation</a> for information on how to upgrade from <code>go.opentelemetry.io/otel/semconv/v1.37.0.</code>(<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7648">#7648</a>)</li> </ul> <h3>Changed</h3> <ul> <li><code>Distinct</code> in <code>go.opentelemetry.io/otel/attribute</code> is no longer guaranteed to uniquely identify an attribute set. Collisions between <code>Distinct</code> values for different Sets are possible with extremely high cardinality (billions of series per instrument), but are highly unlikely. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7175">#7175</a>)</li> <li><code>WithInstrumentationAttributes</code> in <code>go.opentelemetry.io/otel/trace</code> synchronously de-duplicates the passed attributes instead of delegating it to the returned <code>TracerOption</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7266">#7266</a>)</li> <li><code>WithInstrumentationAttributes</code> in <code>go.opentelemetry.io/otel/meter</code> synchronously de-duplicates the passed attributes instead of delegating it to the returned <code>MeterOption</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7266">#7266</a>)</li> <li><code>WithInstrumentationAttributes</code> in <code>go.opentelemetry.io/otel/log</code> synchronously de-duplicates the passed attributes instead of delegating it to the returned <code>LoggerOption</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7266">#7266</a>)</li> <li>Rename the <code>OTEL_GO_X_SELF_OBSERVABILITY</code> environment variable to <code>OTEL_GO_X_OBSERVABILITY</code> in <code>go.opentelemetry.io/otel/sdk/trace</code>, <code>go.opentelemetry.io/otel/sdk/log</code>, and <code>go.opentelemetry.io/otel/exporters/stdout/stdouttrace</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7302">#7302</a>)</li> <li>Improve performance of histogram <code>Record</code> in <code>go.opentelemetry.io/otel/sdk/metric</code> when min and max are disabled using <code>NoMinMax</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7306">#7306</a>)</li> <li>Improve error handling for dropped data during translation by using <code>prometheus.NewInvalidMetric</code> in <code>go.opentelemetry.io/otel/exporters/prometheus</code>. ⚠️ <strong>Breaking Change:</strong> Previously, these cases were only logged and scrapes succeeded. Now, when translation would drop data (e.g., invalid label/value), the exporter emits a <code>NewInvalidMetric</code>, and Prometheus scrapes <strong>fail with HTTP 500</strong> by default. To preserve the prior behavior (scrapes succeed while errors are logged), configure your Prometheus HTTP handler with: <code>promhttp.HandlerOpts{ ErrorHandling: promhttp.ContinueOnError }</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7363">#7363</a>)</li> <li>Replace fnv hash with xxhash in <code>go.opentelemetry.io/otel/attribute</code> for better performance. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7371">#7371</a>)</li> <li>The default <code>TranslationStrategy</code> in <code>go.opentelemetry.io/exporters/prometheus</code> is changed from <code>otlptranslator.NoUTF8EscapingWithSuffixes</code> to <code>otlptranslator.UnderscoreEscapingWithSuffixes</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7421">#7421</a>)</li> <li>Improve performance of concurrent measurements in <code>go.opentelemetry.io/otel/sdk/metric</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7427">#7427</a>)</li> <li>Include W3C TraceFlags (bits 0–7) in the OTLP <code>Span.Flags</code> field in <code>go.opentelemetry.io/exporters/otlp/otlptrace/otlptracehttp</code> and <code>go.opentelemetry.io/exporters/otlp/otlptrace/otlptracegrpc</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7438">#7438</a>)</li> <li>The <code>ErrorType</code> function in <code>go.opentelemetry.io/otel/semconv/v1.37.0</code> now handles custom error types. If an error implements an <code>ErrorType() string</code> method, the return value of that method will be used as the error type. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7442">#7442</a>)</li> </ul> <h3>Fixed</h3> <ul> <li>Fix <code>WithInstrumentationAttributes</code> options in <code>go.opentelemetry.io/otel/trace</code>, <code>go.opentelemetry.io/otel/metric</code>, and <code>go.opentelemetry.io/otel/log</code> to properly merge attributes when passed multiple times instead of replacing them. Attributes with duplicate keys will use the last value passed. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7300">#7300</a>)</li> <li>The equality of <code>attribute.Set</code> when using the <code>Equal</code> method is not affected by the user overriding the empty set pointed to by <code>attribute.EmptySet</code> in <code>go.opentelemetry.io/otel/attribute</code>. (<a href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/7357">#7357</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
| .githooks | ||
| .github | ||
| .vscode | ||
| cmd | ||
| data | ||
| deploy | ||
| docs | ||
| internal | ||
| pkg | ||
| scripts | ||
| tests/integration | ||
| tools | ||
| .env.example | ||
| .gitignore | ||
| .golangci.yml | ||
| .goreleaser.yaml | ||
| .ko.dockerignore | ||
| .ko.yaml | ||
| CLAUDE.md | ||
| complete.md | ||
| docker-compose.yml | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
MCP Registry
The MCP registry provides MCP clients with a list of MCP servers, like an app store for MCP servers.
📤 Publish my MCP server | ⚡️ Live API docs | 👀 Ecosystem vision | 📖 Full documentation
Development Status
2025-10-24 update: The Registry API has entered an API freeze (v0.1) 🎉. For the next month or more, the API will remain stable with no breaking changes, allowing integrators to confidently implement support. This freeze applies to v0.1 while development continues on v0. We'll use this period to validate the API in real-world integrations and gather feedback to shape v1 for general availability. Thank you to everyone for your contributions and patience—your involvement has been key to getting us here!
2025-09-08 update: The registry has launched in preview 🎉 (announcement blog post). While the system is now more stable, this is still a preview release and breaking changes or data resets may occur. A general availability (GA) release will follow later. We'd love your feedback in GitHub discussions or in the #registry-dev Discord (joining details here).
Current key maintainers:
- Adam Jones (Anthropic) @domdomegg
- Tadas Antanavicius (PulseMCP) @tadasant
- Toby Padilla (GitHub) @toby
- Radoslav (Rado) Dimitrov (Stacklok) @rdimitrov
Contributing
We use multiple channels for collaboration - see modelcontextprotocol.io/community/communication.
Often (but not always) ideas flow through this pipeline:
- Discord - Real-time community discussions
- Discussions - Propose and discuss product/technical requirements
- Issues - Track well-scoped technical work
- Pull Requests - Contribute work towards issues
Quick start:
Pre-requisites
- Docker
- Go 1.24.x
- ko - Container image builder for Go (installation instructions)
- golangci-lint v2.4.0
Running the server
# Start full development environment
make dev-compose
This starts the registry at localhost:8080 with PostgreSQL. The database uses ephemeral storage and is reset each time you restart the containers, ensuring a clean state for development and testing.
Note: The registry uses ko to build container images. The make dev-compose command automatically builds the registry image with ko and loads it into your local Docker daemon before starting the services.
By default, the registry seeds from the production API with a filtered subset of servers (to keep startup fast). This ensures your local environment mirrors production behavior and all seed data passes validation. For offline development you can seed from a file without validation with MCP_REGISTRY_SEED_FROM=data/seed.json MCP_REGISTRY_ENABLE_REGISTRY_VALIDATION=false make dev-compose.
The setup can be configured with environment variables in docker-compose.yml - see .env.example for a reference.
Alternative: Running a pre-built Docker image
Pre-built Docker images are automatically published to GitHub Container Registry:
# Run latest stable release
docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:latest
# Run latest from main branch (continuous deployment)
docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:main
# Run specific release version
docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:v1.0.0
# Run development build from main branch
docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:main-20250906-abc123d
Available tags:
- Releases:
latest,v1.0.0,v1.1.0, etc. - Continuous:
main(latest main branch build) - Development:
main-<date>-<sha>(specific commit builds)
Publishing a server
To publish a server, we've built a simple CLI. You can use it with:
# Build the latest CLI
make publisher
# Use it!
./bin/mcp-publisher --help
See the publisher guide for more details.
Other commands
# Run lint, unit tests and integration tests
make check
There are also a few more helpful commands for development. Run make help to learn more, or look in Makefile.
Architecture
Project Structure
├── cmd/ # Application entry points
│ └── publisher/ # Server publishing tool
├── data/ # Seed data
├── deploy/ # Deployment configuration (Pulumi)
├── docs/ # Documentation
├── internal/ # Private application code
│ ├── api/ # HTTP handlers and routing
│ ├── auth/ # Authentication (GitHub OAuth, JWT, namespace blocking)
│ ├── config/ # Configuration management
│ ├── database/ # Data persistence (PostgreSQL)
│ ├── service/ # Business logic
│ ├── telemetry/ # Metrics and monitoring
│ └── validators/ # Input validation
├── pkg/ # Public packages
│ ├── api/ # API types and structures
│ │ └── v0/ # Version 0 API types
│ └── model/ # Data models for server.json
├── scripts/ # Development and testing scripts
├── tests/ # Integration tests
└── tools/ # CLI tools and utilities
└── validate-*.sh # Schema validation tools
Authentication
Publishing supports multiple authentication methods:
- GitHub OAuth - For publishing by logging into GitHub
- GitHub OIDC - For publishing from GitHub Actions
- DNS verification - For proving ownership of a domain and its subdomains
- HTTP verification - For proving ownership of a domain
The registry validates namespace ownership when publishing. E.g. to publish...:
io.github.domdomegg/my-cool-mcpyou must login to GitHub asdomdomegg, or be in a GitHub Action on domdomegg's reposme.adamjones/my-cool-mcpyou must prove ownership ofadamjones.mevia DNS or HTTP challenge
Community Projects
Check out community projects to explore notable registry-related work created by the community.
More documentation
See the documentation for more details if your question has not been answered here!