Back to Home
saygex9965 icon

-mcp-to-skill-converter

by saygex9965

Overview

Converts any Model Context Protocol (MCP) server into a Claude Skill to enable dynamic tool invocation and achieve significant context savings.

Installation

Run Command
python mcp_to_skill.py --mcp-config [path_to_mcp_config.json] --output-dir [output_directory]

Environment Variables

  • GITHUB_TOKEN

Security Notes

The `mcp_to_skill.py` script generates an `executor.py` script and `mcp-config.json` based on a user-provided MCP configuration. The `mcp-config.json` specifies a `command` field which the generated `executor.py` will run via `subprocess`. If the initial `mcp-config.json` is sourced from an untrusted party, it can lead to arbitrary code execution on the system running the converter or the generated skill. Additionally, sensitive environment variables like `GITHUB_TOKEN` are stored directly within the generated `mcp-config.json` file, posing a risk if the file's permissions are not properly managed.

Similar Servers

Stats

Interest Score30
Security Score3
Cost ClassMedium
Avg Tokens5000
Stars1
Forks0
Last Update2026-01-19

Tags

MCP ServerClaude SkillContext SavingsAI IntegrationTool Converter