MCP server that loads and serves skills from a mounted directory with hot reload.
MCP server that loads and serves skills from a mounted directory with hot reload.
Valid MCP server (2 strong, 1 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.
4 files analyzed ยท No issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: MCP_SKILLS_DIR
Environment variable: MCP_SKILLS_HOT_RELOAD
Environment variable: MCP_SKILLS_LOG_LEVEL
From the project's GitHub README.
A production-ready Model Context Protocol (MCP) server that dynamically loads and exposes skills from a mounted volume with hot-reloading support.
๐ฆ Available on MCP Registry - Install with one command!
CRITICAL REQUIREMENT: Each skill MUST be in its own dedicated folder within the skills directory. The server will ONLY recognize skills that follow this structure.
your-skills-directory/
โโโ skill-one/
โ โโโ SKILL.md โ Required
โโโ skill-two/
โ โโโ SKILL.md โ Required
โ โโโ examples/ โ Optional
โ โโโ example.py
โโโ skill-three/
โโโ SKILL.md
โโโ examples/
โ โโโ demo.py
โโโ templates/
โโโ template.txt
your-skills-directory/
โโโ SKILL.md โ Not in a folder - WILL BE SKIPPED
โโโ random-file.txt โ Not a skill folder
โโโ .hidden-folder/ โ Hidden folder - WILL BE SKIPPED
โ โโโ SKILL.md
โโโ __pycache__/ โ System folder - WILL BE SKIPPED
โโโ SKILL.md
Valid folder names:
my-skill-nameexcel_advancedskill-name-v2Invalid (will be skipped):
.___pycache__, node_modules, .git, etc.mkdir -p ~/claude-skills/my-first-skill
cat > ~/claude-skills/my-first-skill/SKILL.md << 'EOF'
---
name: "my-first-skill"
description: "My first Claude skill"
---
# My First Skill
This is my first skill for Claude!
## Usage
Simply describe what your skill does here.
EOF
docker run -i --rm \
-v ~/claude-skills:/skills:ro \
mcp-skill-hub
git clone https://github.com/srprasanna/mcp-skill-hub.git
cd mcp-skill-hub
poetry install
mkdir -p ~/claude-skills/my-first-skill
# Create SKILL.md as shown above
export MCP_SKILLS_DIR=~/claude-skills
poetry run mcp-skills
# Clone the repository
git clone https://github.com/srprasanna/mcp-skill-hub.git
cd mcp-skill-hub
# Install dependencies
poetry install
# Verify installation
poetry run mcp-skills --help
# Build the image
docker build -t mcp-skill-hub .
# Or use docker-compose
docker-compose build
# Set the skills directory
export MCP_SKILLS_DIR=/path/to/your/skills
# Run the server
poetry run mcp-skills
docker run -i --rm \
-v /path/to/your/skills:/skills:ro \
-e MCP_SKILLS_LOG_LEVEL=INFO \
mcp-skill-hub
# Edit docker-compose.yml to set your skills directory path
docker-compose up mcp-skills
Add to your Claude Desktop configuration (claude_desktop_config.json):
{
"mcpServers": {
"skills": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-v",
"${HOME}/claude-skills:/skills:ro",
"mcp-skill-hub"
]
}
}
}
Or using Poetry:
{
"mcpServers": {
"skills": {
"command": "poetry",
"args": ["run", "mcp-skills"],
"cwd": "/path/to/mcp-skill-hub",
"env": {
"MCP_SKILLS_DIR": "/path/to/your/skills"
}
}
}
}
Important: Make sure your ${HOME}/claude-skills directory contains skill folders, not loose SKILL.md files!
Configuration is done via environment variables with the prefix MCP_SKILLS_:
| Variable | Default | Description |
|---|---|---|
MCP_SKILLS_DIR | /skills | Root directory containing skill folders |
MCP_SKILLS_HOT_RELOAD | true | Enable automatic reloading |
MCP_SKILLS_DEBOUNCE_DELAY | 0.5 | Delay (seconds) before reload |
MCP_SKILLS_LOG_LEVEL | INFO | Log level (DEBUG, INFO, WARNING, ERROR) |
MCP_SKILLS_SCAN_DEPTH | 1 | Scan depth (always 1) |
MCP_SKILLS_DIR=/path/to/skills
MCP_SKILLS_HOT_RELOAD=true
MCP_SKILLS_DEBOUNCE_DELAY=0.5
MCP_SKILLS_LOG_LEVEL=INFO
Skills are defined in SKILL.md files with YAML frontmatter:
---
name: "my-skill"
description: "Brief description"
---
# My Skill
Your skill content here in Markdown.
---
# Required fields
name: "excel-advanced"
description: "Advanced Excel automation techniques"
# Version and authorship
version: "1.2.0"
author: "Your Name"
created: "2025-01-15"
updated: "2025-10-23"
# Dependencies
dependencies:
python: ["openpyxl>=3.0.0", "pandas>=2.0.0"]
system: ["libreoffice"]
# Categorization
category: "office-automation"
tags: ["excel", "spreadsheet", "automation"]
complexity: "intermediate" # beginner|intermediate|advanced
# Usage guidance
when_to_use:
- "Automating Excel report generation"
- "Processing multiple Excel files"
- "Creating complex formulas programmatically"
# Relationships
related_skills: ["csv-processing", "data-analysis"]
# Examples
has_examples: true
example_files: ["examples/report_generator.py", "templates/report_template.xlsx"]
---
# Excel Advanced Automation
This skill covers advanced Excel automation techniques...
## Features
- Automated report generation
- Formula creation
- Bulk processing
## Examples
See `examples/report_generator.py` for a working example.
Required:
name: Unique identifier (kebab-case recommended)description: Brief descriptionOptional:
version: Semantic versionauthor: Creator namecreated, updated: ISO dates (YYYY-MM-DD)dependencies: Python packages or system toolscategory: Main category for groupingtags: Array of tags for searchcomplexity: beginner, intermediate, or advancedwhen_to_use: Array of usage scenariosrelated_skills: Names of related skillshas_examples: Boolean flagexample_files: Paths to example files (relative to skill folder)The server exposes these MCP resources:
skill://catalog - JSON catalog of all skills with metadataskill://{name} - Individual skill markdown contentFour tools are available for interacting with skills:
search_skillsSearch for skills by query, category, tag, or complexity.
{
"query": "excel",
"category": "office-automation",
"tag": "automation",
"complexity": "intermediate"
}
reload_skillsManually trigger a reload of all skills from the directory.
{}
get_skill_infoGet metadata for a specific skill without loading full content.
{
"name": "excel-advanced"
}
list_skill_foldersList all valid skill folders found in the skills directory.
{}
# Clone repository
git clone https://github.com/srprasanna/mcp-skill-hub.git
cd mcp-skill-hub
# Install dependencies (including dev dependencies)
poetry install
# Activate virtual environment
poetry shell
# Run all tests
poetry run pytest
# Run with coverage
poetry run pytest --cov=mcp_skills --cov-report=html
# Run specific test file
poetry run pytest tests/test_scanner.py
# Run with verbose output
poetry run pytest -v
# Format code
poetry run black .
# Lint code
poetry run ruff check .
# Type checking
poetry run mypy src
# Run all quality checks
poetry run black . && poetry run ruff check . && poetry run mypy src
Create a branch:
git checkout -b feature/my-feature
Make changes and test:
poetry run pytest
poetry run mypy src
Format and lint:
poetry run black .
poetry run ruff check .
Commit and push:
git commit -m "Add feature: description"
git push origin feature/my-feature
mcp-skill-hub/
โโโ src/mcp_skills/ # Source code
โ โโโ models/ # Data models
โ โโโ parsers/ # Skill parsers
โ โโโ storage/ # Repository pattern
โ โโโ scanner.py # Directory scanning
โ โโโ watcher.py # Hot-reload watcher
โ โโโ server.py # MCP server
โ โโโ config.py # Configuration
โ โโโ __main__.py # CLI entry point
โโโ tests/ # Test suite
โโโ examples/ # Example skills
โโโ docs/ # Documentation
โโโ pyproject.toml # Poetry configuration
Problem: No skills are loaded when the server starts.
Solution:
/skills/my-skill/SKILL.md โ
/skills/SKILL.md โ
. or _Problem: Changes to SKILL.md files aren't detected.
Solution:
MCP_SKILLS_HOT_RELOAD=trueSKILL.mdProblem: SKILL.md files fail to parse.
Solution:
--- delimitersname, description) are presentCheck your skills directory structure:
poetry run mcp-skills --validate
Expected output:
โ /skills/excel-advanced: Valid skill
โ /skills/python-automation: Valid skill
โ /skills/SKILL.md: Error - Skills must be in folders
โ /skills/.hidden: Skipped - Hidden folder
โ /skills/empty-folder: Warning - No SKILL.md found
Summary: 2 valid, 1 error, 1 warning, 1 skipped
Enable debug logging for detailed information:
export MCP_SKILLS_LOG_LEVEL=DEBUG
poetry run mcp-skills
Logs include:
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
This project uses automated releases via GitHub Actions.
patch - Bug fixes (0.1.0 โ 0.1.1)minor - New features (0.1.0 โ 0.2.0)major - Breaking changes (0.1.0 โ 1.0.0)1.2.3)docker.io or ghcr.io)The workflow will:
pyproject.tomlDocker Images:
{username}/mcp-skill-hub:{version}ghcr.io/{owner}/mcp-skill-hub:{version}See RELEASING.md for detailed release documentation.
This project is licensed under the MIT License - see the LICENSE file for details.
Note: This server makes it impossible to misunderstand the folder structure requirement through:
Each skill MUST be in its own folder. This design decision ensures clean organization, easy management, and unambiguous structure. ๐ฏ
Be the first to review this server!
by Modelcontextprotocol ยท Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno ยท Developer Tools
Toleno Network MCP Server โ Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace ยท Developer Tools
Create, build, and publish Python MCP servers to PyPI โ conversationally.