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

  • install_or_update_metool - Install or update metool on your system
  • setup_project_standards - Set up standard conventions and AI docs for a project
  • 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

  • setup_metool - Guide for setting up metool on a new system
  • project_setup - Guide for setting up a new project with standards
  • 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:setup-metool - Install or update metool on your system
  • /metool:project-setup - Set up a new project with conventions and AI docs
  • /metool:conventions-add mbailey/conventions - Add conventions to your project
  • /metool:manage-repos - Get help managing repository files

Example Workflow

  1. Set up a new project with standards:

    /metool:project-setup
    

    This will automatically:

    • Add mbailey/conventions and mbailey/ai_docs to .repos.txt
    • Run mt sync to clone and create symlinks
    • Set up docs/conventions/ and docs/ai_docs/ directories
  2. Add a specific conventions repository:

    /metool:conventions-add mbailey/conventions
    

    This will:

    • Add "mbailey/conventions docs/conventions" to .repos.txt
    • Run mt sync to clone and symlink the repository
  3. 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+
  • Git for repository operations
  • metool - Can be installed via the MCP server's install_or_update_metool tool

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.2.2.tar.gz (32.1 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.2.2-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metool_mcp-0.2.2.tar.gz
  • Upload date:
  • Size: 32.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for metool_mcp-0.2.2.tar.gz
Algorithm Hash digest
SHA256 ea7fa2fd5e30739d612d87c2f1522625f25768b0e2a12665779359158f9cc14f
MD5 a2c8488b38e04a9ccbaca1f7eed1fa89
BLAKE2b-256 f98a6ebe427823882bc6f4562bdc97df9afa0d1bc0a94351e98cee1d45b0f73b

See more details on using hashes here.

Provenance

The following attestation bundles were made for metool_mcp-0.2.2.tar.gz:

Publisher: publish-pypi.yml on mbailey/metool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: metool_mcp-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for metool_mcp-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d048b4ff3db3e5e6fdb0270f474540bfe591102aaec74207e2b4104174fc963c
MD5 c3b5a2f40442abe9f97d1f7ff8ebe62d
BLAKE2b-256 64a62c275d45747bd9f84e6886fec2fcc32179c39f81265235952252822b8505

See more details on using hashes here.

Provenance

The following attestation bundles were made for metool_mcp-0.2.2-py3-none-any.whl:

Publisher: publish-pypi.yml on mbailey/metool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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