
MCP Skills Server
io.github.srprasanna由 GitHub 帳號 srprasanna 發布v1.0.0更新於 Oct 24, 2026
MCP server that loads and serves skills from a mounted directory with hot reload.
概覽
一個本機 MCP 伺服器,從掛載的 SKILL.md 技能目錄載入技能定義,並以可搜尋的資源與工具形式提供給助理。
- 可以做什麼
- 依查詢字詞、分類、標籤或複雜度搜尋技能,並列出技能目錄中有效的技能資料夾。以資源形式讀取完整技能目錄或單一技能的 Markdown 內容,並可在不載入全文的情況下取得技能中繼資料。手動觸發全部技能重新載入,SKILL.md 檔案變更時也會自動熱重載。
- 適用情境
- 適合在 Markdown 中維護個人或團隊可重用的技能說明庫,並希望助理依需求探索、搜尋與閱讀這些技能,包括在編輯過程中即時生效的情境。
- 執行需求
- 以 Docker 容器或 Python 3.13 搭配 Poetry 在本機執行。需要透過掛載或 MCP_SKILLS_DIR 指定技能目錄,每個技能必須位於獨立資料夾並包含 SKILL.md 檔案。選用設定包括 MCP_SKILLS_HOT_RELOAD 與 MCP_SKILLS_LOG_LEVEL。未宣告身分驗證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 MCP Skills Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
MCP Skills Server
[Python 3.13+] [Poetry] [License: MIT] [MCP Registry] [Docker] [Docker Pulls]
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!
Features
- Dynamic Skill Loading: Automatically discovers and loads skills from a directory
- Hot-Reloading: Detects changes to SKILL.md files and reloads without restart
- Folder Structure Validation: Enforces best practices with clear error messages
- MCP Protocol Compliant: Full implementation of resources and tools
- Production Ready: Comprehensive error handling, logging, and validation
- Docker Support: Run in containers with volume mounting
- Type Safe: Full type hints using Python 3.13 features
- Well Tested: >80% code coverage with comprehensive test suite
Table of Contents
- Skills Directory Structure
- Quick Start
- Installation
- Usage
- Configuration
- Skill File Format
- MCP Resources and Tools
- Development
- Troubleshooting
- Contributing
- License
Skills Directory Structure
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.
✅ Valid Structure
❌ Invalid Structures (Will Be Ignored)
Folder Naming Conventions
Valid folder names:
- Lowercase with hyphens:
my-skill-name - Lowercase with underscores:
excel_advanced - Alphanumeric:
skill-name-v2
Invalid (will be skipped):
- Hidden folders starting with
. - Private folders starting with
_ - System folders:
__pycache__,node_modules,.git, etc.
Quick Start
Using Docker (Recommended)
- Create your skills directory:
- Create a skill file:
- Run the server:
Using Poetry (Development)
- Clone and install:
- Create your skills directory:
- Run the server:
Installation
Prerequisites
- Python 3.13+ (for development)
- Poetry 1.7+ (for dependency management)
- Docker (optional, for containerized deployment)
Install with Poetry
Build Docker Image
Usage
Running Locally
Running with Docker
Running with Docker Compose
Integrating with Claude Desktop
Add to your Claude Desktop configuration (claude_desktop_config.json):
Or using Poetry:
Important: Make sure your ${HOME}/claude-skills directory contains skill folders, not loose SKILL.md files!
Configuration
Configuration is done via environment variables with the prefix MCP_SKILLS_:
Example .env File
Skill File Format
Skills are defined in SKILL.md files with YAML frontmatter:
Minimal Example
Complete Example
Available Metadata Fields
Required:
name: Unique identifier (kebab-case recommended)description: Brief description
Optional:
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)
MCP Resources and Tools
Resources
The server exposes these MCP resources:
skill://catalog- JSON catalog of all skills with metadataskill://{name}- Individual skill markdown content
Tools
Four tools are available for interacting with skills:
1. search_skills
Search for skills by query, category, tag, or complexity.
2. reload_skills
Manually trigger a reload of all skills from the directory.
3. get_skill_info
Get metadata for a specific skill without loading full content.
4. list_skill_folders
List all valid skill folders found in the skills directory.
Development
Setup Development Environment
Running Tests
Code Quality
Development Workflow
-
Create a branch:
-
Make changes and test:
-
Format and lint:
-
Commit and push:
Project Structure
Troubleshooting
Common Issues
Skills Not Loading
Problem: No skills are loaded when the server starts.
Solution:
- Check that your skills are in dedicated folders:
- Verify folder names don't start with
.or_ - Check logs for detailed error messages
Hot-Reload Not Working
Problem: Changes to SKILL.md files aren't detected.
Solution:
- Ensure
MCP_SKILLS_HOT_RELOAD=true - Check file is named exactly
SKILL.md - Verify file is in a valid skill folder
- Look for file watcher errors in logs
Parsing Errors
Problem: SKILL.md files fail to parse.
Solution:
- Validate YAML frontmatter syntax
- Ensure frontmatter is between
---delimiters - Check required fields (
name,description) are present - Use a YAML validator to check syntax
Validation Command
Check your skills directory structure:
Expected output:
Logging
Enable debug logging for detailed information:
Logs include:
- Folder structure validation messages
- Scan progress and results
- Parse successes and failures
- Hot-reload events
- Detailed error context
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
Quick Contributing Guide
- Fork the repository
- Create a feature branch
- Make your changes with tests
- Ensure all tests pass and code is formatted
- Submit a pull request
Code Standards
- Python 3.13+ with type hints
- Black for formatting (88 char line length)
- Ruff for linting
- Mypy for type checking (strict mode)
- Pytest for testing (>80% coverage)
Releases
This project uses automated releases via GitHub Actions.
Creating a Release
- Go to Actions → Release workflow
- Click Run workflow
- Choose version bump type:
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)- Or specify exact version (e.g.,
1.2.3)
- Select Docker registry (
docker.ioorghcr.io) - Click Run workflow
The workflow will:
- ✅ Bump version in
pyproject.toml - ✅ Create Git tag and GitHub release
- ✅ Build and push Docker image
- ✅ Run tests to verify release
Docker Images:
- Docker Hub:
{username}/mcp-skill-hub:{version} - GitHub:
ghcr.io/{owner}/mcp-skill-hub:{version}
See RELEASING.md for detailed release documentation.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Built with MCP Python SDK
- Inspired by the need for dynamic skill management in Claude
- Thanks to all contributors!
Note: This server makes it impossible to misunderstand the folder structure requirement through:
- Clear error messages with folder context
- Comprehensive logging
- Validation at multiple levels
- Detailed documentation
- Working examples
Each skill MUST be in its own folder. This design decision ensures clean organization, easy management, and unambiguous structure. 🎯
來源:README.md,提交 09b22be
工具
0版本歷史
1- v1.0.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分