Skip to content

Commit 2e7108d

Browse files
authored
Big docs tidy up in preparation for launch (#364)
## Motivation and Context Docs currently don't have very clear organisation, and don't explain core flows. This fixes #89 (although we still might want to push these to `https://modelcontextprotocol.io/docs/`), based on the plan there. One minor change from that plan is that I merged tutorials and guides, because they ended up basically being duplicates which I thought would be annoying for us to keep in sync. Additionally in the Diátaxis framework, tutorials and guides are separated by whether they are focused on acquisition of skills (e.g. in a learning environment) or application of skills (e.g. in a work environment). I expect the registry to be something that will be used occasionally in a work environment, rather than a fundamental 'learnable' skill so I think it's reasonable not to have tutorials and fold these into guides. ## How Has This Been Tested? - Read through all these updated docs - Unit and integration tests (that previously used examples.md and use the schema) working - Ran `npx markdown-link-check .` to check all the links work ## Breaking Changes Links to old docs will break, but I don't think there are any. All internal links have been checked and updated. ## Types of changes <!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [x] Documentation update
1 parent e9884c1 commit 2e7108d

37 files changed

+1200
-376
lines changed

README.md

Lines changed: 8 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,14 @@
11
# MCP Registry
22

3-
> [!WARNING]
4-
> The registry is under [active development](#development-status). The registry API spec is unstable and the official MCP registry database may be wiped at any time.
5-
6-
📖 **[API Documentation](https://staging.registry.modelcontextprotocol.io/docs)** | 📚 **[Technical Docs](./docs)**
7-
8-
## What is the registry?
9-
10-
The registry will provide MCP clients with a list of MCP servers, like an app store for MCP servers. (In the future it might do more, like also hosting a list of clients).
11-
12-
There are two parts to the registry project:
13-
1. 🟦 **The MCP registry spec**: An [API specification](./docs/server-registry-api/) that allows anyone to implement a registry.
14-
2. 🟥 **The Official MCP registry**: A hosted registry following the MCP registry spec at [`registry.modelcontextprotocol.io`](https://registry.modelcontextprotocol.io). This serves as the **authoritative repository** for publicly-available MCP servers. Server creators publish once, and all consumers (MCP clients, aggregators, marketplaces) reference the same canonical data. This is owned by the MCP open-source community, backed by major trusted contributors to the MCP ecosystem such as Anthropic, GitHub, PulseMCP and Microsoft.
15-
16-
The registry is built around the [`server.json`](./docs/server-json/) format - a standardized way to describe MCP servers that works across discovery, initialization, and packaging scenarios.
3+
The MCP registry provides MCP clients with a list of MCP servers, like an app store for MCP servers.
174

18-
In time, we expect the ecosystem to look a bit like this:
19-
20-
![](./docs/ecosystem-diagram.excalidraw.svg)
21-
22-
Note that MCP registries are _metaregistries_. They host metadata about packages, but not the package code or binaries. Instead, they reference other package registries (like NPM, PyPi or Docker) for this.
23-
24-
Additionally, we expect clients pull from _subregistries_. These subregistries add value to the registry ecosystem by providing curation, or extending it with additional metadata. The Official MCP registry expects a lot of API requests from ETL jobs from these subregistries.
5+
📖 **[Full documentation](./docs)**
256

267
## Development Status
278

9+
> [!WARNING]
10+
> The registry is under [active development](#development-status). The registry API spec is unstable and the official MCP registry database may be wiped at any time.
11+
2812
**2025-09-04 update**: We're targeting a 'preview' go-live on 8th September. This may still be unstable and not provide durability guarantees, but is a step towards being more solidified. A general availability (GA) release will follow later.
2913

3014
Current key maintainers:
@@ -106,7 +90,7 @@ make publisher
10690
./cmd/publisher/bin/mcp-publisher --help
10791
```
10892

109-
See [the publisher README](./cmd/publisher/README.md) for more details.
93+
See [the publisher guide](./docs/guides/publishing/publish-server.md) for more details.
11094

11195
#### Other commands
11296

@@ -130,9 +114,7 @@ For Claude and other AI tools: Always prefer make targets over custom commands w
130114
│ └── publisher/ # Server publishing tool
131115
├── data/ # Seed data
132116
├── deploy/ # Deployment configuration (Pulumi)
133-
├── docs/ # Technical documentation
134-
│ ├── server-json/ # server.json specification & examples
135-
│ └── server-registry-api/ # API specification
117+
├── docs/ # Documentation
136118
├── internal/ # Private application code
137119
│ ├── api/ # HTTP handlers and routing
138120
│ ├── auth/ # Authentication (GitHub OAuth, JWT, namespace blocking)
@@ -165,4 +147,4 @@ The registry validates namespace ownership when publishing. E.g. to publish...:
165147

166148
## More documentation
167149

168-
See the [docs](./docs) folder for more details if your question has not been answered here!
150+
See the [documentation](./docs) for more details if your question has not been answered here!

cmd/publisher/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
CLI tool for publishing MCP servers to the registry.
44

5-
> These docs are for contributors. See the [Publisher User Guide](../../docs/publisher/guide.md) for end-user documentation.
5+
> These docs are for contributors. See the [Publisher User Guide](../../docs/guides/publishing/publish-server.md) for end-user documentation.
66
77
## Quick Development Setup
88

docs/README.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1-
# Official Registry Documentation
1+
# MCP Registry Documentation
22

3-
This extends [the main README](../README.md).
3+
The MCP registry provides MCP clients with a list of MCP servers, like an app store for MCP servers.
44

5-
## Project Documentation
5+
## I want to...
66

7-
- [`faq.md`](./faq.md) - Frequently asked questions about the MCP Registry
8-
- [`design_principles.md`](./design_principles.md) - Core constraints and principles guiding the registry design
9-
- [`roadmap.md`](./roadmap.md) - High-level roadmap for the MCP Registry development
10-
- [`MCP Developers Summit 2025 - Registry Talk Slides.pdf`](./MCP%20Developers%20Summit%202025%20-%20Registry%20Talk%20Slides.pdf) - Slides from a talk given at the MCP Developers Summit on May 23, 2025, with an up-to-date vision of how we are thinking about the official registry.
7+
- **📤 Publish my MCP server**[Publishing Guide](guides/publishing/publish-server.md)
8+
- **📥 Consume registry data**[API Usage Guide](guides/consuming/use-rest-api.md)
9+
- **🔌 Understand the registry's purpose**[Ecosystem vision](explanations/ecosystem-vision.md)
10+
- **📋 Look up specific information**[server.json spec](reference/server-json/generic-server-json.md) | [API spec](reference/api/generic-registry-api.md) | [CLI reference](reference/cli/commands.md)
1111

12-
## API & Technical Specifications
12+
## Documentation Index
1313

14-
- [`openapi.yaml`](./server-registry-api/openapi.yaml) - OpenAPI specification for the official registry API
15-
- [`api_examples.md`](./api_examples.md) - Examples of what data will actually look like coming from the official registry API
16-
- [`architecture.md`](./architecture.md) - Technical architecture, deployment strategies, and data flows
17-
- [`server.json` README](./server-json/README.md) - description of the `server.json` purpose and schema
18-
- [`new_package_registry.md`](./new_package_registry.md) - steps to add a new package registry for local server packages
14+
- 🛠️ [How-To Guides: Task-focused instructions](./guides/)
15+
- 💡 [Explanations: Understanding-oriented content](./explanations/)
16+
- 📖 [Reference: Technical specifications and lookup material](./reference/)

docs/explanations/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Explanations
2+
3+
Understanding-oriented documentation that clarifies and illuminates the MCP Registry.
4+
5+
- [Design principles](design-principles.md)
6+
- [Ecosystem vision](ecosystem-vision.md)
7+
- [Roadmap](roadmap.md)
8+
- [Tech architecture](tech-architecture.md)
9+
- [Namespacing](namespacing.md)
10+
- [Versioning](versioning.md)
File renamed without changes.
File renamed without changes.
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Ecosystem Vision
2+
3+
How the MCP Registry fits into the broader ecosystem and our vision for the future.
4+
5+
## The Registry Ecosystem
6+
7+
The MCP registry provides MCP clients with a list of MCP servers, like an app store for MCP servers. (In the future it might do more, like also hosting a list of clients).
8+
9+
There are two parts to the registry project:
10+
11+
1. 🟦 **The MCP registry spec**: An [API specification](../reference/api/) that allows anyone to implement a registry.
12+
2. 🟥 **The Official MCP registry**: A hosted registry following the MCP registry spec at [`registry.modelcontextprotocol.io`](https://registry.modelcontextprotocol.io). This serves as the **authoritative repository** for publicly-available MCP servers. Server creators publish once, and all consumers (MCP clients, aggregators, marketplaces) reference the same canonical data. This is owned by the MCP open-source community, backed by major trusted contributors to the MCP ecosystem such as Anthropic, GitHub, PulseMCP and Microsoft.
13+
14+
The registry is built around the [`server.json`](../reference/server-json/) format - a standardized way to describe MCP servers that works across discovery, initialization, and packaging scenarios.
15+
16+
In time, we expect the ecosystem to look a bit like this:
17+
18+
![](./ecosystem-diagram.excalidraw.svg)
19+
20+
Note that MCP registries are _metaregistries_. They host metadata about packages, but not the package code or binaries. Instead, they reference other package registries (like NPM, PyPi or Docker) for this.
21+
22+
Additionally, we expect clients pull from _subregistries_. These subregistries add value to the registry ecosystem by providing curation, or extending it with additional metadata. The Official MCP registry expects a lot of API requests from ETL jobs from these subregistries.
23+
24+
## Registry vs Package Registry
25+
26+
Key distinction: MCP Registries are **metaregistries**.
27+
28+
- **Package registries** (npm, PyPI, Docker Hub) host actual code/binaries
29+
- **The MCP Registry** hosts metadata pointing to those packages
30+
31+
```
32+
MCP Registry: "weather-server v1.2.0 is at npm:weather-mcp"
33+
NPM Registry: [actual weather-mcp package code]
34+
```
35+
36+
## Official vs Community Registries
37+
38+
**Official MCP Registry** (`registry.modelcontextprotocol.io`):
39+
- Canonical source for publicly-available servers
40+
- Community-owned, backed by trusted contributors
41+
- Focuses on discoverability and basic metadata
42+
43+
**Subregistries** (Smithery, PulseMCP, etc.):
44+
- Add value through curation, ratings, enhanced metadata
45+
- ETL from official registry + additional annotations
46+
- Serve specific communities or use cases
47+
48+
## How Servers Are Represented
49+
50+
Each server entry contains:
51+
- **Identity**: Unique name (`io.github.user/server-name`)
52+
- **Packages**: Where to download it (`npm`, `pypi`, `docker`, etc.)
53+
- **Runtime**: How to execute it (args, env vars)
54+
- **Metadata**: Description, capabilities, version
55+
56+
This is stored in a standardized `server.json` format that works across discovery, installation, and execution.

docs/explanations/namespacing.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Namespacing and Security
2+
3+
Namespacing prevents name squatting, makes impersonation and typo squatting much harder, and provides attribution through domain-based identity.
4+
5+
For practical steps on how to authenticate for different namespaces, see the [publishing guide](../guides/publishing/publish-server.md#authenticate).
6+
7+
## Namespace Format
8+
9+
All server names follow reverse-DNS format. Examples:
10+
- `io.github.alice/weather-server` - GitHub user `alice`
11+
- `com.acme/internal-tool` - Company domain `acme.com`
12+
- `org.nonprofit.research/data-analyzer` - Subdomain `research.nonprofit.org`
13+
14+
## Security Model
15+
16+
### Ownership Verification
17+
18+
Publishing to a namespace requires proving you control the corresponding identity:
19+
20+
**GitHub namespaces** (`io.github.*`):
21+
- OAuth login to GitHub account/organization
22+
- OIDC tokens in GitHub Actions workflows
23+
24+
**Domain namespaces** (`com.company.*`):
25+
- DNS verification: TXT record at `_mcp-registry.company.com`
26+
- HTTP verification: File at `https://company.com/.well-known/mcp-registry-auth`
27+
28+
## Namespace Scoping
29+
30+
Different authentication methods grant different namespace access:
31+
32+
**GitHub OAuth/OIDC**:
33+
- `io.github.username/*` (for personal accounts)
34+
- `io.github.orgname/*` (for organizations)
35+
36+
**DNS verification**:
37+
- `com.domain/*` and `com.domain.*/*` (domain + all subdomains)
38+
39+
**HTTP verification**:
40+
- `com.domain/*` only (exact domain, no subdomains)
41+
42+
## Limitations
43+
44+
**Domain ownership changes**: If someone loses/sells a domain, they lose publishing rights. Similarly if someone gains a domain, they gain publishing rights.
45+
**Package validation**: Registry validates namespace ownership, but actual packages may still be malicious etc.

docs/MCP Developers Summit 2025 - Registry Talk Slides.pdf renamed to docs/explanations/registry-goals-presentation.pdf

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)