A merged MCP PR brings agent loops, resources, and prompts into llama.cpp WebUI

Reddit thread: LocalLLaMA discussion
Merged PR: llama.cpp PR #18655

Another LocalLLaMA thread worth tracking is the merge of llama.cpp PR #18655, titled “webui: Agentic Loop + MCP Client with support for Tools, Resources and Prompts.” This matters because it brings Model Context Protocol features directly into the llama.cpp WebUI and server workflow instead of leaving that layer to external wrappers.

What the merged PR adds

MCP server selection and server capability cards.

Tool calls with an agentic loop and processing statistics.

Prompt pickers, prompt attachments, resource browsing, preview, and templates.

A backend CORS proxy via the --webui-mcp-proxy flag for llama-server.

The pull request also bundles a long list of UI refinements, including better code blocks, collapsible reasoning and tool-call displays, attachment improvements, and message statistics. In other words, this is not just “MCP support” on paper. It is a usability layer for actually driving prompts, files, and resources from the browser.

The strategic importance is that local inference stacks are converging with the agent tooling people previously associated with hosted products. If this matures, llama.cpp users get a more complete path from local model serving to tool-aware workflows, prompt composition, and structured resource access without needing a separate orchestration product as the first step.