Context7 Platform -- Up-to-date docs for AI agents
ci: update MCP registry publisher to v1.4.0 and update server.json file (#1254)
Enes Gules072fa09cfcb6
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 40d04628..ae3ded06 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -84,6 +84,6 @@ jobs:- name: Publish to MCP Registryif: steps.check-mcp.outputs.mcp_published == 'true'run: |- curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.3.3/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher+ curl -L "https://github.com/modelcontextprotocol/registry/releases/download/v1.4.0/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher./mcp-publisher login github-oidc./mcp-publisher publishdiff --git a/server.json b/server.jsonindex 2b9b9e40..7b9057da 100644--- a/server.json+++ b/server.json@@ -7,6 +7,13 @@"url": "https://github.com/upstash/context7","source": "github"},+ "websiteUrl": "https://context7.com",+ "icons": [+ {+ "src": "https://raw.githubusercontent.com/upstash/context7/master/public/icon.png",+ "mimeType": "image/png"+ }+ ],"version": "1.0.0","packages": [{@@ -18,11 +25,41 @@},"environmentVariables": [{+ "name": "CONTEXT7_API_KEY",+ "description": "API key for authentication",+ "isRequired": false,+ "isSecret": true+ }+ ]+ },+ {+ "registryType": "mcpb",+ "identifier": "https://raw.githubusercontent.com/upstash/context7/master/packages/mcp/mcpb/context7.mcpb",+ "version": "1.0.1",+ "fileSha256": "aea76f179ceb92d22c289147c9d8343fb558d6dec93b144c9794e99239bb8194",+ "transport": {+ "type": "stdio"+ },+ "environmentVariables": [+ {+ "name": "CONTEXT7_API_KEY",+ "description": "API key for authentication",+ "isRequired": false,+ "isSecret": true+ }+ ]+ }+ ],+ "remotes": [+ {+ "type": "streamable-http",+ "url": "https://mcp.context7.com/mcp",+ "headers": [+ {+ "name": "CONTEXT7_API_KEY","description": "API key for authentication","isRequired": false,- "format": "string",- "isSecret": true,- "name": "CONTEXT7_API_KEY"+ "isSecret": true}]}