diff --git a/packages/mcp/mcpb/.mcpbignore b/packages/mcp/mcpb/.mcpbignore index 83f2e883..3d0a13e2 100644 --- a/packages/mcp/mcpb/.mcpbignore +++ b/packages/mcp/mcpb/.mcpbignore @@ -1,9 +1,39 @@ -schema/context7.json +# npx-based bundle - exclude all source code +# Only manifest.json and icon.png are needed + +# Source and build +*.ts +*.js +dist/ +src/ +node_modules/ + +# Config files +*.json +!manifest.json +*.yaml +*.mjs +tsconfig.json +eslint.config.js prettier.config.mjs smithery.yaml -Dockerfile -eslint.config.js + +# Documentation *.md -*.ts LICENSE -public/* \ No newline at end of file + +# Docker +Dockerfile + +# Schema +schema/ + +# Public assets (icon is copied separately) +public/* + +# Package files +package.json +pnpm-lock.yaml + +# Old bundle +*.mcpb diff --git a/packages/mcp/mcpb/context7.mcpb b/packages/mcp/mcpb/context7.mcpb index b34a3a4a..ab1d4639 100644 Binary files a/packages/mcp/mcpb/context7.mcpb and b/packages/mcp/mcpb/context7.mcpb differ diff --git a/packages/mcp/mcpb/icon.png b/packages/mcp/mcpb/icon.png new file mode 100644 index 00000000..43ad8207 Binary files /dev/null and b/packages/mcp/mcpb/icon.png differ diff --git a/packages/mcp/mcpb/manifest.json b/packages/mcp/mcpb/manifest.json index 8901b065..d412dee4 100644 --- a/packages/mcp/mcpb/manifest.json +++ b/packages/mcp/mcpb/manifest.json @@ -1,8 +1,8 @@ { - "dxt_version": "0.1", + "manifest_version": "0.3", "name": "context7", "display_name": "Context7", - "version": "2.0.0", + "version": "2.1.0", "description": "Up-to-date Code Docs For Any Prompt", "long_description": "Context7 MCP pulls up-to-date, version-specific documentation and code examples straight from the source — and places them directly into your prompt.", "author": { @@ -12,13 +12,15 @@ }, "homepage": "https://context7.com", "documentation": "https://github.com/upstash/context7", + "support": "https://github.com/upstash/context7/issues", + "privacy_policies": ["https://upstash.com/privacy"], "icon": "icon.png", "server": { "type": "node", "entry_point": "dist/index.js", "mcp_config": { - "command": "node", - "args": ["${__dirname}/dist/index.js"], + "command": "npx", + "args": ["-y", "--package=@upstash/context7-mcp", "context7-mcp"], "env": {} } },