Skill-to-MCP
Convert AI Skills (following Claude Skills format) into MCP server resources, making them accessible through the Model Context Protocol.
Part of - A community-driven initiative connecting agentic AI with biomedical resources through standardized MCP servers. While this package is domain-agnostic and can be used for any skill collection, it was developed to support the biomedical research community.
Overview
This MCP server exposes Claude Skills as resources that can be accessed by LLM applications through the Model Context Protocol. Skills are self-contained directories containing a SKILL.md file with YAML frontmatter, along with supporting files like scripts, references, and examples.
Features
Automatic skill discovery: Recursively finds all
SKILL.mdfiles in theskills/directoryFrontmatter parsing: Extracts skill metadata (name, description) from YAML frontmatter
Three core tools:
get_available_skills: Lists all available skills with descriptionsget_skill_details: Returns SKILL.md content and file listing for a specific skillget_skill_related_file: Reads any file within a skill directory (with directory traversal protection)
Security: Path validation prevents access outside skill directories
Getting Started
Please refer to the for comprehensive guides, or jump to:
Configuration - Set up your skills directory
Usage - Learn about the three core tools
Creating Skills - Build your own skills
Installation - Multiple installation options
Quick Links
Documentation:
BioContextAI Registry:
API Reference:
Source Code:
Issue Tracker:
Configuration
The MCP server requires a skills directory to be specified. This allows you to:
Install the package separately from your skills
Edit skills without modifying the package
Use different skill collections for different projects
Set the skills directory using either:
Command-line option:
--skills-dir /path/to/skillsEnvironment variable:
SKILLS_DIR=/path/to/skills
Example Configuration for MCP Clients
Or using environment variables:
Usage
Once configured in your MCP client, the server provides three tools:
get_available_skills
Returns a list of all available skills with metadata:
get_skill_details
Returns the full SKILL.md content and list of files for a specific skill:
The return_type parameter controls what data is returned:
"content": Returns only the SKILL.md content as text"file_path": Returns only the absolute path to SKILL.md"both"(default): Returns both content and file path in a dict
get_skill_related_file
Reads a specific file within a skill directory:
Example Configurations
Claude Desktop Configuration
Add to your claude_desktop_config.json:
Multiple Skill Collections
You can run multiple instances with different skill directories:
Creating Skills
Skills should be placed in your configured skills directory. Each skill must:
Have its own subdirectory
Contain a
SKILL.mdfile with YAML frontmatterFollow the frontmatter format:
Skill Naming Requirements
Use lowercase letters, numbers, and hyphens only
Maximum 64 characters
No XML tags or reserved words
See the included example skills/single-cell-rna-qc/SKILL.md for a complete reference.
Example Skills Directory Structure
Installation
You need to have Python 3.11 or newer installed on your system. If you don't have Python installed, we recommend installing .
There are several alternative options to install skill-to-mcp:
Use
uvxto run it immediately (requires SKILLS_DIR environment variable):
Or with the command-line option:
Include it in various MCP clients that support the
mcp.jsonstandard:
Install it through
pip:
Install the latest development version:
Deployment Options
Local Development
For development and testing:
Production Deployment
For production environments with HTTP transport:
Docker Deployment
Create a Dockerfile:
Build and run:
About BioContextAI
BioContextAI is a community effort to connect agentic artificial intelligence with biomedical resources using the Model Context Protocol. The Registry is a community-driven catalog of MCP servers for biomedical research, enabling researchers and developers to discover, access, and contribute specialized tools and databases.
Key Principles:
FAIR4RS Compliant: Findable, Accessible, Interoperable, Reusable for Research Software
Community-Driven: Open-source and collaborative development
Standardized: Built on the Model Context Protocol specification
Contributing
Contributions are welcome! See CONTRIBUTING.md for guidelines on:
Development setup
Code style requirements
Testing procedures
Pull request process
To contribute skills to the biomedical community, consider adding them to the BioContextAI Registry.
Contact
If you found a bug, please use the .
For questions about BioContextAI or the registry, visit biocontext.ai.
Citation
If you use this software in your research, please cite the BioContextAI paper:
Acknowledgments
Example Skill: The included
single-cell-rna-qcskill is adapted from Anthropic's Life Sciences repositoryAnthropic: For developing Claude Skills and the Model Context Protocol
scverse®: The scverse community (scverse.org) for best practices in single-cell analysis
BioContextAI Community: For fostering open-source biomedical AI infrastructure
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Note: While this software is open-source, individual skills may have their own licenses. Users are responsible for compliance with the licenses of any skills they use or distribute.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Converts AI Skills (following Claude Skills format) into MCP server resources, enabling LLM applications to discover, access, and utilize self-contained skill directories through the Model Context Protocol. Provides tools to list available skills, retrieve skill details and content, and read supporting files with security protections.