fastmcp.skills.provider
Provider that serves Skill objects defined in code or loaded from any source.
Classes
SkillFileResource
One file of a Skill, served with its exact bytes.
Methods:
read
SkillManifestResource
The resource-mode _manifest listing used by sync_skills and download_skill.
Methods:
read
SkillCatalogProvider
Serve Skill objects as MCP resources and Skills extension entries.
Each skill’s files are served under skill://{path}/, where path defaults
to the skill’s name. Pass a mapping to choose paths; the last path segment
must equal the skill’s name. Every client can read the files as resources,
and the provider registers SkillsExtension so discovery clients can use
skills/list and skills/get.
For skills that change at runtime, such as rows in a database, subclass and
override load_skills(). It is called once per MCP request.
Methods: