My first Zed-focused project: MPC servers for everyone #21353
phil65
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If someone wants to have an easy way to set up custom slash commands, I created a MPC server serving content declared in a YAML file.
minimal working example
Start server with this YAML file by putting the start command into Zed settings and you get a new slash command in Zed to quickly get READMEs for external packages. Easy way to let a LLM deal with external unknown packages.
There are probably lot more cool use cases, you can just reference any python function in the YAML.
This also allows declaring tools for LLMs in a super simple way, lookin at the logs they also get registered, but I think Zed is lacking that functionality up to today.
Make sure that all functions are well typed with docstrings etc since the tool uses that information for the mpc part.
https://github.com/phil65/LLMling
Enjoy!
Beta Was this translation helpful? Give feedback.
All reactions