Here’s a quick guide on using Enzyme with the Zed editor through the Model Context Protocol. This integration opens up new possibilities for working with your notes directly in Zed as a writing environment.
Setup
- Download the Enzyme context server here
- Add to your Zed settings:
"context_servers": {
"enzyme-script": {
"command": {
"path": "path/to/node",
"args": [
"path/to/server.cjs"
]
}
}
}
- Restart Zed or use the command palette to invoke
context servers: restart
Basic Usage
The query syntax is intentionally minimal:
/enz #pkm<30
pulls your 30 most recent PKM-tagged notes- Chain queries to combine contexts from different parts of your vault
- Context persists throughout your editing session
What makes this powerful is how seamlessly it integrates with Zed’s AI capabilities. Your notes become active context for the AI assistant, allowing you to write with the full breadth of your knowledge base at hand.
Here’s an example context:
# Background on project
/enz #enzyme<10
/enz #pkm<40
# Past posts
/enz #blog<3
# Task
Write me a succinct blog post on using Enzyme.
What’s Next
This is just the beginning of how we envision Enzyme bridging personal knowledge with emerging AI workflows. We’re actively exploring new ways to make your notes more accessible while preserving their meaning and connections.
Try it out and let us know how you’re using it in your workflow.
This integration is part of Enzyme’s mission to serve the natural flow of how we work with our notes. See previous posts on the author’s original blog for more context.