← Back to Skills Marketplace
wizelements

Local MCP Server

by Solomon Watkins · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
54
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install local-mcp-server
Description
Run a full Model Context Protocol (MCP) server in Termux. Exposes Read, Bash, Grep, glob tools for local Ollama models. Privacy-first, offline-capable, ~10MB.
README (SKILL.md)

Local MCP Server for Termux

Run a full MCP server in Termux that exposes the same tools as Amp but for local AI models via Ollama.

What Is MCP?

The Model Context Protocol is the standard for AI tool integration. This server implements it locally, so your Ollama models can:

  • Read files and directories
  • Execute bash commands
  • Search code with grep
  • Pattern match files with glob

Perfect For

  • Developers who want local AI without cloud dependency
  • Privacy-conscious users keeping code on-device
  • Termux power users building AI workflows
  • Offline development environments

What's Included

  • Full MCP server implementation (Node.js, ~10MB)
  • Tool wrappers for local CLI utilities
  • Path sandboxing for security
  • HTTP and stdio transport options
  • Amp-compatible interface (easy switching)
  • Health checks and graceful shutdown

Integration Examples

  • Connect Ollama models to local file system
  • Use with Claude Desktop as local tool provider
  • Build custom AI workflows with tool access

Quick Start

# Install dependencies
pnpm install

# Setup server
bash scripts/setup.sh

# Start MCP server
mcp-start

# Verify health
mcp-health

# Connect Ollama model
ollama run llama3.2 --mcp-server http://localhost:8080

Configuration

{
  "server": {
    "port": 8080,
    "transport": "http",
    "sandbox": "~/.openclaw/mcp-sandbox"
  },
  "tools": {
    "read": true,
    "bash": true,
    "grep": true,
    "glob": true
  },
  "security": {
    "allowedPaths": ["~/projects", "~/.openclaw"],
    "forbiddenCommands": ["rm -rf", "dd", "mkfs"]
  }
}

Requirements

  • Termux (Android) or Linux environment
  • Node.js v16+
  • Ollama installed (optional, for LLM integration)
  • pnpm or npm

Support

Email: [email protected]

Usage Guidance
Install only if you intentionally want an AI model to access local files and run shell commands. Before use, inspect the repository and setup script, disable Bash unless needed, restrict allowed paths to a throwaway or least-privilege workspace, require confirmation for risky commands, and do not expose the MCP server beyond localhost.
Capability Assessment
Purpose & Capability
The stated purpose is a local MCP server for Ollama/Termux, and Read/Bash/Grep/Glob are purpose-aligned, but those are high-impact capabilities because they expose local files and command execution to a model.
Instruction Scope
The artifact advertises reading files, executing bash, grep, and glob, with bash enabled in the example configuration; it mentions sandboxing and a short forbidden-command list but does not clearly require opt-in, approval gates, strict allowlists, or warnings about sensitive data exposure.
Install Mechanism
The artifact itself contains documentation and metadata only, but the quick start tells users to run dependency installation and a setup shell script from the project, so users should inspect the referenced code before running it.
Credentials
Local AI development is a reasonable environment for filesystem tools, but exposing shell execution and broad allowed paths such as project directories is more powerful than the documentation safely scopes.
Persistence & Privilege
The skill describes starting a local MCP server over HTTP/stdio and does not show privilege escalation or startup persistence, but a long-running local server with shell access should be kept localhost-only and tightly restricted.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install local-mcp-server
  3. After installation, invoke the skill by name or use /local-mcp-server
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release - Full MCP server for Termux with Read/Bash/Grep/glob tools
Metadata
Slug local-mcp-server
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Local MCP Server?

Run a full Model Context Protocol (MCP) server in Termux. Exposes Read, Bash, Grep, glob tools for local Ollama models. Privacy-first, offline-capable, ~10MB. It is an AI Agent Skill for Claude Code / OpenClaw, with 54 downloads so far.

How do I install Local MCP Server?

Run "/install local-mcp-server" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Local MCP Server free?

Yes, Local MCP Server is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Local MCP Server support?

Local MCP Server is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Local MCP Server?

It is built and maintained by Solomon Watkins (@wizelements); the current version is v1.0.0.

💬 Comments