From 0cc7ef2f3080aa8dd271de3382ed842642cba6e2 Mon Sep 17 00:00:00 2001 From: DrSmoothl <1787882683@qq.com> Date: Wed, 3 Jun 2026 22:17:58 +0800 Subject: [PATCH] fix(mcp): add repository metadata so the provenance publish validates npm publish --provenance rejected @snowluma/mcp@1.9.5 with E422 because package.json had no repository.url to match the GitHub repo asserted in the provenance statement. Add repository/homepage/bugs (mirroring @snowluma/sdk and @snowluma/ui, directory packages/mcp) and refresh the now-inaccurate 'read-only' description. 1.9.5 was never successfully published, so re-running the publish workflow will ship it. --- packages/mcp/package.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/mcp/package.json b/packages/mcp/package.json index eaa20351..01e97107 100644 --- a/packages/mcp/package.json +++ b/packages/mcp/package.json @@ -1,7 +1,16 @@ { "name": "@snowluma/mcp", "version": "1.9.5", - "description": "MCP server exposing the SnowLuma OneBot action catalog (read-only docs + JSON Schemas) to LLM clients.", + "description": "MCP server exposing the SnowLuma OneBot action catalog (docs + JSON Schemas) and optional execution to LLM clients.", + "repository": { + "type": "git", + "url": "git+https://github.com/SnowLuma/SnowLuma.git", + "directory": "packages/mcp" + }, + "homepage": "https://github.com/SnowLuma/SnowLuma#readme", + "bugs": { + "url": "https://github.com/SnowLuma/SnowLuma/issues" + }, "type": "module", "bin": { "snowluma-mcp": "./dist/server.js"