Skip to content

Commit d4ed5b4

Browse files
fix: register build_link tool in MCP server (#83)
Co-authored-by: Claude Sonnet 4 <noreply@anthropic.com>
1 parent dec09ba commit d4ed5b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mcp-server.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { TwistApi } from '@doist/twist-sdk'
22
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'
33
import { registerTool } from './mcp-helpers.js'
4+
import { buildLink } from './tools/build-link.js'
45
import { fetchInbox } from './tools/fetch-inbox.js'
56
import { getUsers } from './tools/get-users.js'
67
import { getWorkspaces } from './tools/get-workspaces.js'
@@ -65,6 +66,7 @@ function getMcpServer({ twistApiKey, baseUrl }: { twistApiKey: string; baseUrl?:
6566
registerTool(loadThread, server, twist)
6667
registerTool(loadConversation, server, twist)
6768
registerTool(searchContent, server, twist)
69+
registerTool(buildLink, server, twist)
6870
registerTool(reply, server, twist)
6971
registerTool(react, server, twist)
7072
registerTool(markDone, server, twist)

0 commit comments

Comments
 (0)