DIAMCP

v1.0.0Developer Toolsstable

An all-in-one MCP server exposing file operations, web search, git operations, shell commands, code execution, and custom tools via HTTP. Designed for llama.cpp webui integration.

diamcpmcpai-integration
Share:
12
Stars
0
Downloads
0
Weekly
0/5

What is DIAMCP?

DIAMCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to all-in-one mcp server exposing file operations, web search, git operations, shell commands, code execution, and custom tools via http. designed for llama.cpp webui integration.

An all-in-one MCP server exposing file operations, web search, git operations, shell commands, code execution, and custom tools via HTTP. Designed for llama.cpp webui integration.

This server falls under the Developer Tools and File Systems categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • An all-in-one MCP server exposing file operations, web searc

Use Cases

Execute file operations, git commands, and shell scripts via HTTP.
Integrate with llama.cpp webui for code execution and web search.
chartrambiz

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 18, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx diamcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use DIAMCP

diaMCP is an all-in-one MCP server delivered as a Docker container that exposes 21+ tools via HTTP, covering file system operations, web search and fetch, Git operations, shell command execution, Python code evaluation, and custom user-defined tools. It is specifically designed for integration with llama.cpp's webui MCP proxy feature, allowing locally-running LLMs to gain agentic capabilities like reading files, running code, and searching the web — without requiring cloud API access.

Prerequisites

  • Docker and Docker Compose installed
  • Windows users: Docker Desktop with WSL2 and Ubuntu
  • llama.cpp built with webui and MCP proxy support (for the primary use case)
  • curl or PowerShell for the one-line installer
1

Install diaMCP (Linux/macOS)

Run the one-line installer script which downloads, configures, and starts the diaMCP Docker container.

curl -fsSL https://raw.githubusercontent.com/chartrambiz/diaMCP/main/install.sh | sh
2

Install diaMCP (Windows PowerShell)

On Windows, use the PowerShell installer instead.

irm https://raw.githubusercontent.com/chartrambiz/diaMCP/main/install.ps1 | iex
3

Manual setup with Docker Compose

Alternatively, clone the repository and use Docker Compose to build and start the server yourself.

git clone https://github.com/chartrambiz/diaMCP.git
cd diaMCP
docker compose up --build -d
4

Verify the server is running

The server listens on port 8000 by default. Confirm it is up by checking the health endpoint.

curl http://localhost:8000/mcp
5

Connect llama.cpp webui

Start llama-server with the webui and MCP proxy flags, then in the webui MCP Settings panel enable the proxy and set the MCP server URL.

llama-server --webui-mcp-proxy -m model.gguf -c 32768 --host 0.0.0.0 --port 8080
6

Add custom tools (optional)

Place Python files using the diaMCP decorator pattern in ./workspace/tools/ and restart the container to expose your own tools to the LLM.

./restart.sh

DIAMCP Examples

Client configuration

Environment variable configuration for the diaMCP Docker container with custom host and port settings.

{
  "mcpServers": {
    "diamcp": {
      "command": "docker",
      "args": [
        "run", "--rm", "-i",
        "-e", "MCP_HOST=0.0.0.0",
        "-e", "MCP_PORT=8000",
        "-p", "8000:8000",
        "-v", "./workspace:/workspace",
        "chartrambiz/diamcp:latest"
      ]
    }
  }
}

Prompts to try

Example prompts to use with diaMCP connected to a local LLM via llama.cpp webui.

- "Read the file at /workspace/data.csv and summarize its contents"
- "Search the web for the latest Python 3.13 release notes"
- "Clone the repository at https://github.com/example/repo into /workspace/repo"
- "Run a Python script to calculate the Fibonacci sequence up to 1000"
- "List all files in /workspace and show me which ones are larger than 1MB"

Troubleshooting DIAMCP

Container starts but MCP tools are not accessible in llama.cpp webui

Ensure the MCP proxy is enabled in the llama.cpp webui MCP Settings panel and the URL is set to http://localhost:8000/mcp. Also confirm the container is running with 'docker ps' and that port 8000 is not blocked by a firewall.

File operations fail with permission denied errors

The workspace directory defaults to UID 1000. If your host user has a different UID, edit docker-compose.yml to add 'user: "$(id -u):$(id -g)"' under the service definition, then restart the container.

run_command tool refuses to execute a shell command

diaMCP blocks commands matching dangerous patterns for security. Review the blocked patterns with the get_dangerous_patterns tool, and if your use case is legitimate, use manage_approved to whitelist specific commands.

Frequently Asked Questions about DIAMCP

What is DIAMCP?

DIAMCP is a Model Context Protocol (MCP) server that all-in-one mcp server exposing file operations, web search, git operations, shell commands, code execution, and custom tools via http. designed for llama.cpp webui integration. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install DIAMCP?

Follow the installation instructions on the DIAMCP GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with DIAMCP?

DIAMCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is DIAMCP free to use?

Yes, DIAMCP is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "diamcp": { "command": "npx", "args": ["-y", "diamcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use DIAMCP?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides