Skip to content

Modernize extension: hosted HTTP MCP server, API key setting, housekeeping#9

Merged
enesgules merged 4 commits into
masterfrom
modernize-extension
Jun 11, 2026
Merged

Modernize extension: hosted HTTP MCP server, API key setting, housekeeping#9
enesgules merged 4 commits into
masterfrom
modernize-extension

Conversation

@enesgules

Copy link
Copy Markdown
Collaborator

Brings the extension up to date after ~11 months. Includes #3 (merged in, preserving authorship — it will close as merged when this lands).

Changes

  • Switch to the hosted Context7 MCP server (https://mcp.context7.com/mcp) via McpHttpServerDefinition instead of bundling and spawning @upstash/context7-mcp over stdio. The pinned 1.0.14 was two major versions behind (latest 3.1.0); with the hosted server the extension never goes stale, spawns no local Node process, and the VSIX shrinks from ~bundled-server size to 14 KB.
  • Add context7.apiKey setting (fixes How to set the API KEY for this library #2): sent as the CONTEXT7_API_KEY header for higher rate limits / private repos; takes effect without reloading the window.
  • Consistent server id upstash/context7 across package.json and the registerMcpServerDefinitionProvider call (update id to match with mcp registry #3 only updated the manifest side, which would have caused an id mismatch).
  • Fill in the empty LICENSE file with MIT text (fixes Empty license file #5).
  • Drop the 722 KB proposed-API vscode.d.ts and @vscode/dts in favor of stable @types/vscode (the MCP API is stable since VS Code 1.101, which engines already targets).
  • Housekeeping: .gitignore, .vscodeignore, CHANGELOG.md, CI build workflow, tag-triggered Marketplace publish workflow (needs a VSCE_PAT repo secret), issue templates, rewritten README and DEPLOYMENT.md. Bump @types/node to 22, version to 1.1.0.

Verification

  • npm install && npm run compile — clean
  • npx @vscode/vsce package — packages successfully (9 files, 14.6 KB)

🤖 Generated with Claude Code

enesgules and others added 4 commits June 11, 2026 14:26
…eping

- Connect to https://mcp.context7.com/mcp via McpHttpServerDefinition
  instead of bundling and spawning @upstash/context7-mcp over stdio,
  so the server is always current (the pinned 1.0.14 was two majors stale)
- Add context7.apiKey setting, sent as CONTEXT7_API_KEY header; changes
  apply without window reload (fixes #2)
- Register provider as upstash/context7 to match package.json and the
  MCP registry id from #3
- Add MIT license text to the empty LICENSE file (fixes #5)
- Replace proposed-API vscode.d.ts/@vscode/dts with stable @types/vscode
- Add .gitignore, .vscodeignore, CHANGELOG, CI + tag-triggered publish
  workflows, issue templates; rewrite README and DEPLOYMENT for v1.1.0

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@enesgules enesgules merged commit 4ddd775 into master Jun 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Empty license file How to set the API KEY for this library

2 participants