Skip to content

Commit 7cc4f99

Browse files
updated the sample code
1 parent 036abf7 commit 7cc4f99

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs_src/skills/tutorial002.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99

1010
async def build_server(root: Path) -> MCPServer:
11-
catalog = await SkillCatalog.load(
11+
ext_skills = await SkillCatalog.load(
1212
FilesystemSkillProvider(root),
1313
parse_frontmatter=yaml.safe_load,
1414
directory_read=True,
1515
)
16-
return MCPServer("skills", extensions=[catalog])
16+
return MCPServer("MCP-over-skills", extensions=[ext_skills])
1717

1818

1919
async def main() -> None:

0 commit comments

Comments
 (0)