From 50e819c36950c5a8b5fd35a62aa494472d822d1e Mon Sep 17 00:00:00 2001 From: "Jonathan D. Rhyne" Date: Thu, 23 Jul 2026 20:24:37 -0400 Subject: [PATCH 1/3] Add MCP registry metadata (server.json + mcpName) Adds server.json at repo root and an mcpName field to package.json so this server can be published to the official MCP registry (registry.modelcontextprotocol.io), which cascades to Glama, PulseMCP, and mcp.so. Namespace io.github.PSPDFKit/*. No runtime code changed. --- package.json | 1 + server.json | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 server.json diff --git a/package.json b/package.json index 99e1ba3..e69ac38 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "@nutrient-sdk/document-engine-mcp-server", "version": "0.0.1", + "mcpName": "io.github.PSPDFKit/nutrient-document-engine-mcp-server", "description": "MCP server for Nutrient Document Engine", "license": "MIT", "author": "Nutrient (https://www.nutrient.io)", diff --git a/server.json b/server.json new file mode 100644 index 0000000..c25779e --- /dev/null +++ b/server.json @@ -0,0 +1,35 @@ +{ + "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", + "name": "io.github.PSPDFKit/nutrient-document-engine-mcp-server", + "title": "Nutrient Document Engine MCP Server", + "description": "Self-hosted MCP server for Nutrient Document Engine: on-premises document processing with natural-language control, designed for HIPAA, SOC 2, and GDPR compliance.", + "version": "0.0.1", + "repository": { + "url": "https://github.com/PSPDFKit/nutrient-document-engine-mcp-server", + "source": "github" + }, + "packages": [ + { + "registryType": "npm", + "identifier": "@nutrient-sdk/document-engine-mcp-server", + "version": "0.0.1", + "transport": { "type": "stdio" }, + "environmentVariables": [ + { + "name": "DOCUMENT_ENGINE_BASE_URL", + "description": "Base URL of your Nutrient Document Engine instance (e.g. http://localhost:5000).", + "isRequired": true, + "isSecret": false, + "format": "string" + }, + { + "name": "DOCUMENT_ENGINE_API_AUTH_TOKEN", + "description": "API auth token for your Document Engine instance.", + "isRequired": true, + "isSecret": true, + "format": "string" + } + ] + } + ] +} From f16b93529c8a2172b66bcb73dfd3f882763ac790 Mon Sep 17 00:00:00 2001 From: "Jonathan D. Rhyne" Date: Mon, 24 Aug 2026 12:18:48 -0400 Subject: [PATCH 2/3] chore(registry): align metadata to 0.0.3 and list optional env vars in server.json npm latest is 0.0.2 (published without a corresponding git commit); the registry validator requires mcpName inside the published package, so the next publish is 0.0.3. server.json now marks the auth token secret/required and lists the optional dashboard, log-level and transport variables. Claude-Session: https://claude.ai/code/session_0168QbHA5yAyXyYLUfPxvSoQ --- package.json | 2 +- server.json | 36 +++++++++++++++++++++++++++++++++--- 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index e69ac38..3dc606d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nutrient-sdk/document-engine-mcp-server", - "version": "0.0.1", + "version": "0.0.3", "mcpName": "io.github.PSPDFKit/nutrient-document-engine-mcp-server", "description": "MCP server for Nutrient Document Engine", "license": "MIT", diff --git a/server.json b/server.json index c25779e..e7111a4 100644 --- a/server.json +++ b/server.json @@ -3,7 +3,7 @@ "name": "io.github.PSPDFKit/nutrient-document-engine-mcp-server", "title": "Nutrient Document Engine MCP Server", "description": "Self-hosted MCP server for Nutrient Document Engine: on-premises document processing with natural-language control, designed for HIPAA, SOC 2, and GDPR compliance.", - "version": "0.0.1", + "version": "0.0.3", "repository": { "url": "https://github.com/PSPDFKit/nutrient-document-engine-mcp-server", "source": "github" @@ -12,8 +12,10 @@ { "registryType": "npm", "identifier": "@nutrient-sdk/document-engine-mcp-server", - "version": "0.0.1", - "transport": { "type": "stdio" }, + "version": "0.0.3", + "transport": { + "type": "stdio" + }, "environmentVariables": [ { "name": "DOCUMENT_ENGINE_BASE_URL", @@ -28,6 +30,34 @@ "isRequired": true, "isSecret": true, "format": "string" + }, + { + "name": "DASHBOARD_USERNAME", + "description": "Optional: enables the local status dashboard (Basic auth username).", + "isRequired": false, + "isSecret": false, + "format": "string" + }, + { + "name": "DASHBOARD_PASSWORD", + "description": "Optional: local status dashboard password.", + "isRequired": false, + "isSecret": true, + "format": "string" + }, + { + "name": "LOG_LEVEL", + "description": "Optional log level (default info).", + "isRequired": false, + "isSecret": false, + "format": "string" + }, + { + "name": "MCP_TRANSPORT", + "description": "Optional transport, stdio (default) or http; http binds loopback unless configured otherwise.", + "isRequired": false, + "isSecret": false, + "format": "string" } ] } From e3a36a5c7f5bce19aeae85c3c424ef0d3468ee22 Mon Sep 17 00:00:00 2001 From: Jonathan Rhyne Date: Mon, 24 Aug 2026 15:17:59 -0400 Subject: [PATCH 3/3] Address PR review feedback (#12) - Shorten server.json description to the registry's 100-character limit - Drop MCP_TRANSPORT from the stdio package metadata (an installing client must not be able to launch HTTP mode through the stdio entry) --- server.json | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/server.json b/server.json index e7111a4..e9bbb3f 100644 --- a/server.json +++ b/server.json @@ -2,7 +2,7 @@ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", "name": "io.github.PSPDFKit/nutrient-document-engine-mcp-server", "title": "Nutrient Document Engine MCP Server", - "description": "Self-hosted MCP server for Nutrient Document Engine: on-premises document processing with natural-language control, designed for HIPAA, SOC 2, and GDPR compliance.", + "description": "MCP server for self-hosted Nutrient Document Engine: extract, edit, redact, and annotate documents.", "version": "0.0.3", "repository": { "url": "https://github.com/PSPDFKit/nutrient-document-engine-mcp-server", @@ -51,13 +51,6 @@ "isRequired": false, "isSecret": false, "format": "string" - }, - { - "name": "MCP_TRANSPORT", - "description": "Optional transport, stdio (default) or http; http binds loopback unless configured otherwise.", - "isRequired": false, - "isSecret": false, - "format": "string" } ] }