Setting Up MCP Servers in llama-server Web UI: A Practical Guide

llama-server recently added MCP (Model Context Protocol) support, and a Reddit user documented the exact steps to get it working in the web UI. This guide provides concrete setup instructions for developers who want to integrate MCP servers with their local llama-server instance.
Setup Requirements
First, ensure uv is installed. The guide references the official installation documentation at https://docs.astral.sh/uv/getting-started/installation/.
Configuration File
Create a config.json file in your chosen directory with MCP server definitions. The example includes three servers:
{
"mcpServers": {
"time": {
"command": "uv",
"args": ["run", "mcp-server-time", "--local-timezone=America/Chicago"]
},
"fetch": {
"command": "uvx",
"args": ["mcp-server-fetch"]
},
"ddg-search": {
"command": "uvx",
"args": ["duckduckgo-mcp-server"]
}
}
}
Running the Proxy
From the same directory, run this command:
uvx mcp-proxy --named-server-config config.json --allow-origin "*" --port 8001 --stateless
When you run this command, it lists the name of each MCP server. You need to replace the sse at the end of each URL with mcp for the servers to work in the llama-server web UI.
Example: Change http://127.0.0.1:8001/servers/time/sse to http://127.0.0.1:8001/servers/time/mcp
Web UI Configuration
In the llama-server web UI, go to Settings → MCP → Add New Server, and add each server from your config. For example:
http://127.0.0.1:8001/servers/time/mcphttp://127.0.0.1:8001/servers/fetch/mcphttp://127.0.0.1:8001/servers/ddg-search/mcp
Click Add to finish adding each server, then check the toggle to activate it. The configured MCP servers should now work in the llama-server web UI.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Debugging OpenClaw + Ollama Local Model Timeouts: Five Fixes for Silent Failures
A developer identified five root causes for OpenClaw agents silently timing out with local Ollama models like Gemma 4 26B, including a blocking slug generator, a 38K character system prompt, and hidden timeouts. The fixes involve disabling hooks, modifying configs, and adjusting Ollama settings.

OpenClaw 4.1 with Gemma 4 Stack: Hybrid Architecture and Setup Fixes
A Reddit post details an optimized local agent stack combining OpenClaw 4.1 with Google's Gemma 4 model, featuring a hybrid architecture, specific configuration fixes for Ollama tool calling, and context window adjustments.

Maximizing Value in Claude Code Sessions: Token Efficiency Tips
Learn practical token-saving strategies for Claude Code, including /clear and @-mention files, from Anthropic's official guide.

Vibe Coding Rules: Build Side Projects from Your Phone Using Claude Code Without Reading Code
A senior engineer shares their rules for building side projects entirely from a phone using Claude Code without reading code: start in plan mode, commit to git, write tests, use subagents for reviews, and auto-mode.