Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 383b09c

Browse files
committed
refactor: remove unused search_repositories tool from Gitee repository operations
Signed-off-by: 诺墨 <[email protected]>
1 parent 7281632 commit 383b09c

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

index.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,6 @@ export function createGiteeMCPServer() {
5858
},
5959
});
6060

61-
server.registerTool({
62-
name: "search_repositories",
63-
description: "搜索 Gitee 仓库",
64-
schema: repoOperations.SearchRepositoriesSchema,
65-
handler: async (params: any) => {
66-
const { query, page, perPage } = params;
67-
return await repoOperations.searchRepositories(query, page, perPage);
68-
},
69-
});
70-
7161
// 注册分支操作工具
7262
server.registerTool({
7363
name: "create_branch",

0 commit comments

Comments
 (0)