Skip to content

Commit a650103

Browse files
author
Vincent Molinié
committed
feat(forest mcp): add has many tool
1 parent f7c1ff5 commit a650103

File tree

6 files changed

+1059
-2
lines changed

6 files changed

+1059
-2
lines changed

packages/mcp-server/src/server.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import * as http from 'http';
1818

1919
import ForestOAuthProvider from './forest-oauth-provider';
2020
import { isMcpRoute } from './mcp-paths';
21+
import declareListHasManyTool from './tools/has-many';
2122
import declareListTool from './tools/list';
2223
import { fetchForestSchema, getCollectionNames } from './utils/schema-fetcher';
2324
import { NAME, VERSION } from './version';
@@ -117,6 +118,7 @@ export default class ForestMCPServer {
117118
}
118119

119120
declareListTool(this.mcpServer, this.forestServerUrl, collectionNames);
121+
declareListHasManyTool(this.mcpServer, this.forestServerUrl, collectionNames);
120122
}
121123

122124
private ensureSecretsAreSet(): { envSecret: string; authSecret: string } {

0 commit comments

Comments
 (0)