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.1.0.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.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metool_mcp-0.1.0.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.1.0.tar.gz
Algorithm Hash digest
SHA256 7e6af261227ca804c4475fa76c457257b7e1b405c14ee81d6bf0e71e9eab6c43
MD5 088e088bf5d1b76fd0af07a131fa5caf
BLAKE2b-256 5f1c88f7518e838feeb57c8728d5eaeca5cc692743dd1af42bab686ec2da0cf4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: metool_mcp-0.1.0-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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e65266a492ba1f5783e21bc98d60a3769818db147e37d0a5fc0e47dd538753c
MD5 bd4516bfd0e688171b8f49ed1c9e07f9
BLAKE2b-256 5db4786d32ddfae4acb68fd80813c0ac2f7faa7530c50ff031b03d2acfd04ed0

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