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 syncto 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
-
Set up a new project with standards:
/metool:project-setupThis will automatically:
- Add mbailey/conventions and mbailey/ai_docs to .repos.txt
- Run
mt syncto clone and create symlinks - Set up docs/conventions/ and docs/ai_docs/ directories
-
Add a specific conventions repository:
/metool:conventions-add mbailey/conventionsThis will:
- Add "mbailey/conventions docs/conventions" to .repos.txt
- Run
mt syncto clone and symlink the repository
-
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_metooltool
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file metool_mcp-0.2.3.tar.gz.
File metadata
- Download URL: metool_mcp-0.2.3.tar.gz
- Upload date:
- Size: 33.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0be534079d9e889a969e605fc07417264c1176d2bc7868895c79f13a2767e36f
|
|
| MD5 |
08565f74e3b93ee3d176437a1c433ac9
|
|
| BLAKE2b-256 |
c1309e4db24d0ab733d1481fc3b4dfeef3359ef37d7747f84193d4433d52247b
|
Provenance
The following attestation bundles were made for metool_mcp-0.2.3.tar.gz:
Publisher:
publish-pypi.yml on mbailey/metool
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
metool_mcp-0.2.3.tar.gz -
Subject digest:
0be534079d9e889a969e605fc07417264c1176d2bc7868895c79f13a2767e36f - Sigstore transparency entry: 264414569
- Sigstore integration time:
-
Permalink:
mbailey/metool@5de5d917333bc3c63aac83caf0764e084f845d3f -
Branch / Tag:
refs/tags/mcp-v0.2.3 - Owner: https://github.com/mbailey
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@5de5d917333bc3c63aac83caf0764e084f845d3f -
Trigger Event:
push
-
Statement type:
File details
Details for the file metool_mcp-0.2.3-py3-none-any.whl.
File metadata
- Download URL: metool_mcp-0.2.3-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4b5c5505a8621f33698d51d0ca97fd72c7e3005c7c7b313b123d0429923000b
|
|
| MD5 |
db02261bce89322d3fc2920c69fe9b7c
|
|
| BLAKE2b-256 |
b96b14890483802f44723892e213ea3c87bab9d459c389fa57a2b825233b5f9e
|
Provenance
The following attestation bundles were made for metool_mcp-0.2.3-py3-none-any.whl:
Publisher:
publish-pypi.yml on mbailey/metool
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
metool_mcp-0.2.3-py3-none-any.whl -
Subject digest:
b4b5c5505a8621f33698d51d0ca97fd72c7e3005c7c7b313b123d0429923000b - Sigstore transparency entry: 264414570
- Sigstore integration time:
-
Permalink:
mbailey/metool@5de5d917333bc3c63aac83caf0764e084f845d3f -
Branch / Tag:
refs/tags/mcp-v0.2.3 - Owner: https://github.com/mbailey
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@5de5d917333bc3c63aac83caf0764e084f845d3f -
Trigger Event:
push
-
Statement type: