Skip to content

Context7 Platform -- Up-to-date docs for AI agents

feat: add configuration and assets for Context7 desktop extension

enesgules961d36b9eace
diff --git a/dxt/.dxtignore b/dxt/.dxtignore
new file mode 100644
index 00000000..3de90ea9
--- /dev/null
+++ b/dxt/.dxtignore
@@ -0,0 +1,8 @@
+./schema/
+prettier.config.mjs
+smithery.yaml
+Dockerfile
+eslint.config.js
+*.md
+*.ts
+LICENSE
\ No newline at end of file
diff --git a/dxt/context7.dxt b/dxt/context7.dxt
new file mode 100644
index 00000000..3ffd2bbd
Binary files /dev/null and b/dxt/context7.dxt differ
diff --git a/dxt/manifest.json b/dxt/manifest.json
new file mode 100644
index 00000000..303adf75
--- /dev/null
+++ b/dxt/manifest.json
@@ -0,0 +1,46 @@
+{
+ "dxt_version": "0.1",
+ "name": "context7",
+ "display_name": "Context7",
+ "version": "1.0.0",
+ "description": "Up-to-date Code Docs For Any Prompt",
+ "author": {
+ "name": "Upstash",
+ "email": "[email protected]",
+ "url": "https://upstash.com"
+ },
+ "homepage": "https://context7.com",
+ "documentation": "https://gihub.com/upstash/context7",
+ "icon": "public/context7logo.png",
+ "server": {
+ "type": "node",
+ "entry_point": "dist/index.js",
+ "mcp_config": {
+ "command": "node",
+ "args": ["${__dirname}/dist/index.js"],
+ "env": {}
+ }
+ },
+ "tools": [
+ {
+ "name": "Resolve Context7 Library ID",
+ "description": "Resolves a package/product name to a Context7-compatible library ID and returns a list of matching libraries."
+ },
+ {
+ "name": "Get Library Docs",
+ "description": "Fetches up-to-date documentation for a library."
+ }
+ ],
+ "compatibility": {
+ "platforms": ["darwin", "win32", "linux"],
+ "runtimes": {
+ "node": ">=v18.0.0"
+ }
+ },
+ "keywords": ["vibe-coding", "developer tools", "documentation", "context"],
+ "license": "MIT",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/upstash/context7.git"
+ }
+}
diff --git a/package.json b/package.json
index 0c8c77cf..25ff95c3 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,8 @@
"format": "prettier --write .",
"lint": "eslint \"**/*.{js,ts,tsx}\" --fix",
"lint:check": "eslint \"**/*.{js,ts,tsx}\"",
- "start": "node dist/index.js --transport http"
+ "start": "node dist/index.js --transport http",
+ "pack-dxt": "bun install && bun run build && rm -rf node_modules && bun install --production && mv dxt/.dxtignore .dxtignore && mv dxt/manifest.json manifest.json && dxt validate manifest.json && dxt pack . dxt/context7.dxt && mv manifest.json dxt/manifest.json && mv .dxtignore dxt/.dxtignore && bun install"
},
"repository": {
"type": "git",
diff --git a/public/context7logo.png b/public/context7logo.png
new file mode 100644
index 00000000..43ad8207
Binary files /dev/null and b/public/context7logo.png differ