mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-11-24 12:01:25 +01:00
13 lines
357 B
Python
13 lines
357 B
Python
"""Serve sample Skills. Run with: uv run python -m examples.skills.server"""
|
|
|
|
from pathlib import Path
|
|
|
|
from fastmcp import FastMCP
|
|
from fastmcp.skills.provider import SkillsDirectoryProvider
|
|
|
|
root = Path(__file__).parent / "sample_skills"
|
|
mcp = FastMCP("Skills Server", providers=[SkillsDirectoryProvider(root)])
|
|
|
|
|
|
if __name__ == "__main__":
|
|
mcp.run()
|