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

Building a Custom Hindi Glossary System with Claude: From 76% to 92% Accuracy in 10 Months
A solo dev in Bangalore built a custom glossary system for Claude to improve Hindi domain vocabulary accuracy from 76% to 92%. Example-based terms with context sentences worked best.

Evaluating Agent Skill Safety: Key Considerations Before Installation
Installing new agent skills can enhance functionality but also comes with risks. Learn how to evaluate the safety of these skills to protect your system.

Common OpenClaw installation errors and how to fix them
A Reddit post consolidates solutions for several common OpenClaw installation issues, including PATH configuration, permission errors, Node.js version requirements, TTY problems, and plugin state issues.

Building a Full BI System with Claude Code and Metabase for Under $50/month
A Reddit user built a complete BI system using Claude Code, BigQuery, and self-hosted Metabase — replacing $15k expert quotes with 3 days of work and $30/month in cloud costs.