MCP cover image
See in Github
2025-03-07

MCP服务器执行本地CLI命令

1

Github Watches

1

Github Forks

0

Github Stars

MCPExec

MCP Server to exec local cli commands

Set up your environment First, let’s install uv and set up our Python project and environment: curl -LsSf https://astral.sh/uv/install.sh | sh Make sure to restart your terminal afterwards to ensure that the uv command gets picked up.

Now, let’s create and set up our project:

Create a new directory for our project

uv init exec cd exec

Create virtual environment and activate it

uv venv source .venv/bin/activate

Install dependencies

uv add "mcp[cli]"

Add MCP Server

For Claude for Desktop:

{
    "mcpServers": {
        "exec-cli": {
            "command": "/Users/bruno/.local/bin/uv",
            "args": [
                "--directory",
                "/Users/bruno/example/path",
                "run",
                "app.py"
            ]
        }
    }
}

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • modelcontextprotocol
  • 模型上下文协议服务器

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

    Reviews

    2 (1)
    Avatar
    user_yiF2UTH9
    2025-04-15

    I've been using the n8n MCP Server by J2DevStudio, and it has significantly streamlined my workflow automation processes. Its intuitive design and powerful features make complex integrations simple and efficient. The user-friendly interface and comprehensive support have made it an indispensable tool. Highly recommended for anyone looking to enhance their automation capabilities! Check it out here: https://mcp.so/server/n8n-mcp-server/J2DevStudio