Skip to content

Feature Request: Do you plan to include support for MCP? #17

Closed

Description

@ycFreddy

Prerequisites

  • I am running the latest code. Mention the version if possible as well.
  • I carefully followed the README.md.
  • I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
  • I reviewed the Discussions, and have a new and useful enhancement to share.

Feature Description

Support for MCP

Motivation

Hello,

Do you plan to include support for MCP?

That would be great to have MCP.

Possible Implementation

No response

Activity

  1. added
    enhancement
    on Apr 7, 2026
  2. Marxist-Leninist commented on Apr 8, 2026

    @Marxist-Leninist

    MCP support works with any model that is intelligent enough to use it. Try an 8B model: https://huggingface.co/prism-ml/Bonsai-8B-gguf

    If it doesn’t work with that one, it likely won’t work with others, as they won’t be intelligent enough. Tool use and MCP depend entirely on the model’s intelligence

  3. ycFreddy commented on Apr 8, 2026

    @ycFreddy
    Author

    It works on llama.ccp official but not on your fork.

    It works but it's slow because the official llama.cpp runs 1-bit models on CPU.

  4. khosravipasha commented on Apr 9, 2026

    @khosravipasha
    Collaborator

    Which branch did you try on?
    Probably best wait for our changes to be merged with main llama.cpp (Metal backend already merged, CUDA and x86 and few other backends pending)

  5. Marxist-Leninist commented on Apr 10, 2026

    @Marxist-Leninist

    If you mean MCP support in the llama.cpp CLI/runtime itself, that’s separate from whether the model is capable enough to use tools once MCP is available. My earlier comment was about model capability, but it sounds like you’re asking about fork-level MCP integration.

  6. khosravipasha commented on Apr 10, 2026

    @khosravipasha
    Collaborator

    Yeah our branch was a bit older maybe MCP support was added to llama.cpp in the meantime.
    Most backends should be merged in main llama.cpp by sometime next week so closing this for now.

  7. Marxist-Leninist commented on Apr 10, 2026

    @Marxist-Leninist

    f6235a4 guess we could sync this with our current local copy probably pretty harmless and will save others headache rather then waiting for upstream stuff

  8. khosravipasha commented on Apr 16, 2026

    @khosravipasha
    Collaborator

    @Marxist-Leninist I think the newly updated prism branch should have this right? And llama.cpp has our main backends merged now (Except x86 optimization remaining)

  9. khosravipasha commented on Apr 19, 2026

    @khosravipasha
    Collaborator

    related: PrismML-Eng/Bonsai-demo#13

    Just recently realized we already have the support just need to run llama-server differnetly, for now can make this edit in our Bonsai-demo repo and be able to use mcps, will add it the the Bonsai-demo, and our gpu demo prism-ml/Bonsai-demo when I get a chance.

    # Single-model setup with tool calling + MCP proxy for the WebUI
    llama-server \
       --model /path/to/model.gguf \
       --host 0.0.0.0 --port <port> \
       -ngl 99 \
       -fa on \
       -c 65536 \
       --jinja \
       --webui-mcp-proxy 
    
  10. ycFreddy commented on Apr 19, 2026

    @ycFreddy
    Author

    Guys,
    Bonsai works on the official Lamacpp since version b8806
    (cuda: Q1_0 initial backend)

    I tried Bonsai with MCPs that provide internet access and it works pretty well

  11. khosravipasha commented on Apr 19, 2026

    @khosravipasha
    Collaborator
  12. khosravipasha commented on Apr 19, 2026

    @khosravipasha
    Collaborator

    @ycFreddy know any fun mcps to try with? I mostly added web search, have not tried anything else.

    Might add a few to our GitHub demo and the hugging face demo.

  13. ycFreddy commented on Apr 19, 2026

    @ycFreddy
    Author

    Currently, I am trying different MCPs with varying degrees of success or interest

    Awesome MCP Servers

    I'm not sure they are very fun 🙂

  14. added a commit that references this issue on Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions