skill_to_mcp.mcp#

Attributes#

mcp

Functions#

initialize_mcp(→ fastmcp.FastMCP)

Initialize the FastMCP server with a specific skills directory.

Module Contents#

skill_to_mcp.mcp.initialize_mcp(skills_dir: str | pathlib.Path) fastmcp.FastMCP#

Initialize the FastMCP server with a specific skills directory.

Parameters:

skills_dir (str | Path) – Path to the directory containing skill subdirectories with SKILL.md files.

Returns:

Initialized MCP server with skill tools registered.

Return type:

FastMCP

skill_to_mcp.mcp.mcp: fastmcp.FastMCP | None = None#