Skip to content

Commit 6a23b9c

Browse files
committed
use slug for path
1 parent 8064a4f commit 6a23b9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mcp-server/src/mcp/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ export async function get_sections() {
4545
export async function format_sections_list(): Promise<string> {
4646
const sections = await get_sections();
4747
return sections
48-
.map((s) => `* title: ${s.title}, use_cases: ${s.use_cases}, path: ${s.url}`)
48+
.map((s) => `* title: ${s.title}, use_cases: ${s.use_cases}, path: ${s.slug}`)
4949
.join('\n');
5050
}

0 commit comments

Comments
 (0)