Meet [Prefect Horizon](https://prefect.io/horizon?utm_source=gofastmcp&utm_medium=docs&utm_campaign=docs_banner&utm_content=sitewide_banner), the enterprise MCP gateway built by the team behind FastMCP.

---

# `fastmcp.server.providers.skills.directory_provider`

Directory scanning provider for discovering multiple skills.

## Classes

### `SkillsDirectoryProvider`

Provider that scans directories and creates a SkillProvider per skill folder. This extends AggregateProvider to combine multiple SkillProviders into one.
Each subdirectory containing a main file (default: SKILL.md) becomes a skill.
Can scan multiple root directories - if a skill name appears in multiple roots, the first one found wins.

**Args:**
- `roots`: Root directory(ies) containing skill folders. Can be a single path or a sequence of paths.
- `reload`: If True, re-discover skills on each request. Defaults to False.
- `main_file_name`: Name of the main skill file. Defaults to “SKILL.md”.
- `supporting_files`: How supporting files are exposed in child SkillProviders:
  - “template”: Accessed via ResourceTemplate, hidden from list_resources().
  - “resources”: Each file exposed as individual Resource in list_resources().

---

[claude_provider\ Previous](/content/python-sdk/fastmcp-server-providers-skills-claude_provider/index.html) [skill_provider\ Next](/content/python-sdk/fastmcp-server-providers-skills-skill_provider/index.html)
