Skip to content

Commit b692726

Browse files
committed
feat(mcp-registry): add MCP Registry metadata and server manifest
Add required metadata for publishing to the official Model Context Protocol (MCP) Registry: - Add mcpName field to npm package.json generation - Add mcp-name metadata to README.md for Python package - Create server.json manifest with npm and PyPI package definitions Signed-off-by: Marc Nuri <[email protected]>
1 parent 3959fd5 commit b692726

File tree

3 files changed

+39
-2
lines changed

3 files changed

+39
-2
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,4 +567,8 @@ Compile the project and run the Kubernetes MCP server with [mcp-inspector](https
567567
make build
568568
# Run the Kubernetes MCP server with mcp-inspector
569569
npx @modelcontextprotocol/inspector@latest $(pwd)/kubernetes-mcp-server
570-
```
570+
```
571+
572+
---
573+
574+
mcp-name: io.github.containers/kubernetes-mcp-server

build/node.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ npm-copy-project-files: npm-copy-binaries ## Copy the project files to the main
4141
@echo '"author": {"name": "Marc Nuri", "url": "https://www.marcnuri.com"},' >> $(MAIN_PACKAGE_JSON)
4242
@echo '"license": "Apache-2.0",' >> $(MAIN_PACKAGE_JSON)
4343
@echo '"bugs": {"url": "https://github.com/containers/kubernetes-mcp-server/issues"},' >> $(MAIN_PACKAGE_JSON)
44-
@echo '"homepage": "https://github.com/containers/kubernetes-mcp-server#readme"' >> $(MAIN_PACKAGE_JSON)
44+
@echo '"homepage": "https://github.com/containers/kubernetes-mcp-server#readme",' >> $(MAIN_PACKAGE_JSON)
45+
@echo '"mcpName": "io.github.containers/kubernetes-mcp-server"' >> $(MAIN_PACKAGE_JSON)
4546
@echo '}' >> $(MAIN_PACKAGE_JSON)
4647
$(foreach os,$(OSES),$(foreach arch,$(ARCHS), \
4748
OS_PACKAGE_JSON=./npm/$(NPM_PACKAGE)-$(os)-$(arch)/package.json; \

server.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json",
3+
"name": "io.github.containers/kubernetes-mcp-server",
4+
"description": "A Model Context Protocol (MCP) server for Kubernetes and OpenShift",
5+
"status": "active",
6+
"repository": {
7+
"url": "https://github.com/containers/kubernetes-mcp-server",
8+
"source": "github"
9+
},
10+
"version": "0.0.0",
11+
"packages": [
12+
{
13+
"registryType": "npm",
14+
"registryBaseUrl": "https://registry.npmjs.org",
15+
"identifier": "kubernetes-mcp-server",
16+
"version": "0.0.0",
17+
"transport": {
18+
"type": "stdio"
19+
}
20+
},
21+
{
22+
"registryType": "pypi",
23+
"registryBaseUrl": "https://pypi.org",
24+
"identifier": "kubernetes-mcp-server",
25+
"version": "0.0.0",
26+
"runtimeHint": "uvx",
27+
"transport": {
28+
"type": "stdio"
29+
}
30+
}
31+
]
32+
}

0 commit comments

Comments
 (0)