knolo-core icon indicating copy to clipboard operation
knolo-core copied to clipboard

Feature request: Zed editor MCP context server extension

Open The3seus opened this issue 2 weeks ago • 0 comments

For human review. This issue was drafted from the Knolo Adoption Targets research (candidate for the week of 2026-11-16). A human will review it and implement it manually. No code or pull request accompanies it.

Motivation

Zed is an AI-native editor whose extension registry accepts MCP context-server extensions. A Knolo extension would give Knolo a marketplace listing in Zed, similar to the ClawHub, Cline and Goose listings. Zed context servers are packaged as small Rust extensions compiled to WebAssembly that tell Zed how to launch the server, so knolo-core needs a small extension crate plus docs. Submitting it to zed-industries/extensions is a separate manual step.

Adoption case

Sheet entry (Knolo Adoption Targets, row 23, Candidate):

Traction:

  • zed-industries/zed: 95,119 GitHub stars; zed-industries/extensions: 1,969 stars (GitHub API, checked 2026-11-16)

Why it fits Knolo (from the sheet): Zed's extension registry accepts MCP context-server extensions, giving Knolo a marketplace listing in a fast-growing AI-native editor, similar to the ClawHub listing.

Sources: https://zed.dev/docs/extensions/mcp-extensions ; https://github.com/zed-industries/extensions

What exists today

  • @knolo/mcp (npm latest 0.2.3): read-only stdio MCP server for a pinned V5 Knowledge Image (knolo_search, knolo_get, knolo_verify, knolo_status, plus KAR, Cortex and KITE tools when enabled). Started with npx -y @knolo/mcp --config /absolute/knolo-mcp.json or KNOLO_MCP_CONFIG.
  • Draft listing files for other directories live under packages/mcp/listings/.
  • No Zed config, doc, or extension exists in the repo.

Proposed design

  1. Doc first (low effort): add a Zed section to the @knolo/mcp README "Clients" list showing a context_servers entry in Zed settings.json that runs npx -y @knolo/mcp@<pinned version> --config <absolute path>/knolo-mcp.json.
  2. Extension: add packages/zed-extension/ (or packages/mcp/listings/zed/) containing extension.toml with a [context_servers.knolo] entry and a minimal Rust zed_extension_api crate that implements context_server_command. It resolves Node through Zed, installs or locates a pinned @knolo/mcp, and passes the config path from the extension settings (settings_schema with a required config path).
  3. Add configuration/default_settings.jsonc and installation_instructions.md so Zed's configure-server modal tells users to point at a pinned knolo-mcp.json.
  4. Add a CI job that builds the extension for wasm32-wasip2 (or the target Zed currently requires) so the crate stays buildable.
  5. Add docs/integrations/zed.md covering both the settings route and the extension route, plus the steps a human follows to open the PR to zed-industries/extensions.

Scope

  • In scope: README snippet, integration doc, the extension crate and its metadata, a CI build check.
  • Out of scope: changes to @knolo/mcp, write tools, a networked transport. Opening the PR to zed-industries/extensions and passing their review is a manual step done by a human.

Acceptance criteria

  • The settings snippet works in the current stable Zed and the Knolo tools show up in the Agent panel.
  • The extension installs locally with "Install Dev Extension", prompts for the config path, and starts @knolo/mcp at an exact pinned version.
  • A bad pin in the config surfaces as a failed context server in Zed, not a silent fallback.
  • CI builds the extension to WebAssembly.
  • The extension license (Apache-2.0) and metadata meet zed-industries/extensions submission rules.

Related work

  • #79 (@knolo/mcp and MCP Registry listing)
  • #91 (Cline MCP Marketplace), #94 (Goose extensions directory), #96 (Docker MCP Catalog), #100 (awesome-mcp-servers): same listing pattern.

The3seus avatar Nov 16 '26 08:11 The3seus