-
Notifications
You must be signed in to change notification settings - Fork 14.6k
MCP MVP #18655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
MCP MVP #18655
Conversation
…d per-chat overrides
|
The simplified popover is great! |
|
sure would be nice to have a MCP server built into llama.cpp, instead of a client, or at least an intuitive user controlled way to install an apache 2.0 MCP server (from elsewhere) from the webui. |
Oh yes, we absolutely have to integrate an MCP server, the bare minimum of example Python/Node.js. There are also several C++ server implementations that could be integrated. Even a relay to SSH so that anyone can turn a Raspberry Pi or a VM into a sandbox is the ultimate in terms of fun, education and utility. An LLM with access to bash in a dedicated environment is just the MCP server to rule them all. I've validated scraping, RAGing on data, and even machine learning within a sandbox simply by prompting the LLM correctly. Nothing else is needed since everything is possible! |
Honestly I still like having some well defined MCPs, but "only access to Bash" seems to be exactly how SWE-Bench evaluates using their "100 lines of Python" mini-swe-agent. If it's good enough for SWE-Bench...
|
Yes, this approach is interesting! The documentation for the tools is identical to the model, which suggests prioritizing their use over bash_tool. This reduces entropy. It works so well that one day, as an off-topic idea for this PR, we could integrate a similar set of optimized commands into a "virtual MCP server / fake terminal OS" for client-side creation/editing/execution of JavaScript and have a good computer-use sandbox mode embedded in the client. If we want the model to have memory, a create_file is stored in the indexdb. This could be very powerful. on the fake os, bash_file would essentially be run_file, simply the execution of a .js file within the sandbox iframe. etc.... |
First we focus on the MCP Client and having a solid core implementation. Then we can expand. |
|
I have WIP code for Prompts, Ellicitation and Sampling locally, but before i push it i need to re-review the PR, potentially clean up and remove some out-of-scope code. |
- Include images from all message roles (not just user) - Add multipart content support for tool responses - Images from MCP tools now accessible in same agentic turn
WIP