This oversimplified Zed extension employs MCP server configuration dialog to display results of HTTP request.
Tested with Zed 0.225.10, zed_extension_api v0.7.0, Rust 1.93.1.
Make sure you have Rust toolchain and wasm32-wasip2 target installed.
- Install this demo as dev extension ( docs ):
a. Clone this repo:
git clone --depth=1 https://github.com/wasm-outbound-http-examples/zed-extension.gitb. Run zed: install dev extension from command palette or activate it from menu Zed -> Extensions -> Install Dev Extension
c. Select the folder containing this extension.
-
Press
Configurebutton for this extension in Zed Extensions list. -
See the response for HTTP request in the dialog (and in debug output for
--foregroundmode too). -
Press
Cancel/DismissorEscto close the dialog.
Perform your own experiments if desired.