Skip to main content

MCP server for metool - a shell environment incubator

Project description

metool-mcp

MCP (Model Context Protocol) server for metool - a shell environment incubator.

Features

This MCP server provides AI assistants with tools to manage metool repository manifests and synchronization:

Tools

  • add_repo_entry - Add repository entries to .repos.txt files
  • sync_directory - Run mt sync to clone/update repositories and create symlinks
  • list_repos - List repositories from .repos.txt files

Prompts

  • conventions_add - Guide for adding conventions repositories
  • manage_repos - Comprehensive guide for repository management

Resources

  • repos-file - Access contents of repos.txt files

Installation

Via uvx (recommended)

uvx install metool-mcp

Via pip

pip install metool-mcp

From source

git clone https://github.com/mbailey/metool.git
cd metool/mcp
pip install -e .

Usage

With Claude Desktop

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "metool": {
      "command": "uvx",
      "args": ["metool-mcp"]
    }
  }
}

Slash Commands

After configuring, you can use these commands in Claude:

  • /metool:conventions-add mbailey/conventions - Add conventions to your project
  • /metool:manage-repos - Get help managing repository files

Example Workflow

  1. Add a conventions repository:

    /metool:conventions-add mbailey/conventions
    

    This will:

    • Add "mbailey/conventions .conventions" to .repos.txt
    • Run mt sync to clone and symlink the repository
  2. Add custom repositories:

    # The MCP server can help you:
    - Add entries to .repos.txt
    - Sync to clone/update repositories
    - List current repository configuration
    

Requirements

  • Python 3.10+
  • metool installed and available in PATH
  • Git for repository operations

Development

# Install in development mode
cd metool/mcp
pip install -e .

# Run tests
pytest

# Run the server directly
python -m metool_mcp.server

License

Same as metool - see main repository for license information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metool_mcp-0.0.1.tar.gz (30.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

metool_mcp-0.0.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file metool_mcp-0.0.1.tar.gz.

File metadata

  • Download URL: metool_mcp-0.0.1.tar.gz
  • Upload date:
  • Size: 30.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for metool_mcp-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d771c0a569988f6407040dda094cc53c5e8273b0b9b18dddc299f5892cf71222
MD5 9f08d9d7ab0109ad58a356cd1fe719d2
BLAKE2b-256 2c4ccd9ba822017642ad6456d9320ca91744e7e0efc4553ee0084ff28829c2e1

See more details on using hashes here.

File details

Details for the file metool_mcp-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: metool_mcp-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for metool_mcp-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2d86c2c1b300c2576b13f5433344e5ac7da8261e5b2c2ba686fe3006689909be
MD5 51162d4a88e637d1a06856ea103230e6
BLAKE2b-256 43921d45e6830ce1f3f71d820019bf37605015cdcef3b99bd97d4f44aadfce09

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page