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

Accessing USB Webcams in WSL2 for Local Motion Detection
A developer shares how to use usbipd-win to pass USB webcams from Windows to WSL2, enabling local motion detection with OpenCV without cloud dependencies.

Solving Gemini CLI write_file Not Found in OpenClaw: Two Fixes Required
OpenClaw agents using google-gemini-cli can't write files (write_file / default_api_write_file missing) due to wrong tools.profile and missing --approval-mode auto_edit flag in the subprocess. Fix: set profile to full and inject the flag via cliBackends config.

Anthropic publishes Champion Kit for Claude Code adoption
A playbook for engineers pushing Claude Code at their company: share reusable prompts, answer in public channels, and host a weekly show-and-tell thread — ~40 minutes total per week.

Claude Code folder structure cheat sheet from Reddit user
A Reddit user created a cheat sheet for Claude Code's folder structure after encountering common pitfalls, covering .claude/ directory layout, hook events, settings.json, MCP config, skill structure, and context management thresholds.