Skip to content

Commit 9d30456

Browse files
docs: Fix errors and typos in public documentation
- Fix `--private-key-file` to `--private-key` in `github-actions.mdx` DNS authentication example (the CLI expects hex-encoded key data, not a file path) - Add missing `./` prefix to `mcp-publisher` command in PAT authentication example - Fix typo `verfication` to `verification` in troubleshooting table - Remove duplicate word `authentication` in `quickstart.mdx` prerequisites - Fix `name` to `identifier` field in JSON examples in `versioning.mdx` - Fix `PyPi` to `PyPI` (correct capitalization) in `moderation-policy.mdx` Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 28360d5 commit 9d30456

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

docs/modelcontextprotocol-io/github-actions.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
113113
114114
- name: Authenticate to MCP Registry
115-
run: mcp-publisher login github --token ${{ secrets.MCP_GITHUB_TOKEN }}
115+
run: ./mcp-publisher login github --token ${{ secrets.MCP_GITHUB_TOKEN }}
116116

117117
# Optional:
118118
# - name: Set version in server.json
@@ -172,9 +172,7 @@ jobs:
172172
# TODO: Replace `example.com` with your domain name
173173
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
174174
- name: Authenticate to MCP Registry
175-
run: |
176-
echo "${{ secrets.MCP_PRIVATE_KEY }}" > key.pem
177-
mcp-publisher login dns --domain example.com --private-key-file key.pem
175+
run: ./mcp-publisher login dns --domain example.com --private-key ${{ secrets.MCP_PRIVATE_KEY }}
178176

179177
# Optional:
180178
# - name: Set version in server.json
@@ -218,6 +216,6 @@ The workflow will run tests, build the package, publish the package to npm, and
218216
| Error Message | Action |
219217
| --- | --- |
220218
| "Authentication failed" | Ensure `id-token: write` permission is set for OIDC, or check secrets. |
221-
| "Package validation failed" | Verify your package successfully published to the package registry (e.g., npm, PyPI), and that your package has the [necessary verfication information](./package-types.mdx). |
219+
| "Package validation failed" | Verify your package successfully published to the package registry (e.g., npm, PyPI), and that your package has the [necessary verification information](./package-types.mdx). |
222220

223221
{/* prettier-ignore-end */}

docs/modelcontextprotocol-io/moderation-policy.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Subregistries may have their own moderation policies. If you have questions abou
1515

1616
The MCP Registry **does not** make guarantees about moderation, and consumers should assume minimal-to-no moderation.
1717

18-
The MCP Registry is a community supported project, and we have limited active moderation capabilities. We largely rely on upstream package registries (like NPM, PyPi, and Docker) or downstream subregistries (like the GitHub MCP Registry) to do more in-depth moderation.
18+
The MCP Registry is a community supported project, and we have limited active moderation capabilities. We largely rely on upstream package registries (like NPM, PyPI, and Docker) or downstream subregistries (like the GitHub MCP Registry) to do more in-depth moderation.
1919

2020
This means there may be content in the MCP Registry that should be removed under this policy, but which we haven't yet removed. Consumers should treat scraped data accordingly.
2121

docs/modelcontextprotocol-io/quickstart.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This tutorial will show you how to publish an MCP server written in TypeScript t
99

1010
- **Node.js** — This tutorial assumes the MCP server is written in TypeScript.
1111
- **npm account** — The MCP Registry only hosts metadata, not artifacts. Before publishing to the MCP Registry, we will publish the MCP server's package to npm, so you will need an [npm](https://www.npmjs.com) account.
12-
- **GitHub account** — The MCP Registry supports [multiple authentication methods](./authentication.mdx). authentication. For simplicity, this tutorial will use GitHub-based authentication, so you will need a [GitHub](https://github.com/) account.
12+
- **GitHub account** — The MCP Registry supports [multiple authentication methods](./authentication.mdx). For simplicity, this tutorial will use GitHub-based authentication, so you will need a [GitHub](https://github.com/) account.
1313

1414
If you do not have an MCP server written in TypeScript, you can copy the `weather-server-typescript` server from the [`modelcontextprotocol/quickstart-resources` repository](https://github.com/modelcontextprotocol/quickstart-resources) to follow along with this tutorial:
1515

docs/modelcontextprotocol-io/versioning.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ For local servers, align the server version with the underlying package version
7777
"packages": [
7878
{
7979
"registryType": "npm",
80-
"name": "@my-username/my-server",
80+
"identifier": "@my-username/my-server",
8181
"version": "1.2.3",
8282
"transport": {
8383
"type": "stdio"
@@ -139,7 +139,7 @@ If you anticipate publishing a server multiple times _without_ changing the unde
139139
"packages": [
140140
{
141141
"registryType": "npm",
142-
"name": "@my-username/my-server",
142+
"identifier": "@my-username/my-server",
143143
"version": "1.2.3",
144144
"transport": {
145145
"type": "stdio"

0 commit comments

Comments
 (0)