← 返回 Skills 市场
Local MCP Server
作者
Solomon Watkins
· GitHub ↗
· v1.0.0
· MIT-0
54
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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.
使用说明 (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]
安全使用建议
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install local-mcp-server - 安装完成后,直接呼叫该 Skill 的名称或使用
/local-mcp-server触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release - Full MCP server for Termux with Read/Bash/Grep/glob tools
元数据
常见问题
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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 54 次。
如何安装 Local MCP Server?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install local-mcp-server」即可一键安装,无需额外配置。
Local MCP Server 是免费的吗?
是的,Local MCP Server 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Local MCP Server 支持哪些平台?
Local MCP Server 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Local MCP Server?
由 Solomon Watkins(@wizelements)开发并维护,当前版本 v1.0.0。
推荐 Skills