feat: add Markov chain-based made-up word generation tool
This commit is contained in:
2
stdio.ts
2
stdio.ts
@@ -2,6 +2,7 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"
|
||||
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"
|
||||
import { registerDictionariesFunctionality } from "@/resources/dictionaries"
|
||||
import { addRandomWordsTool } from "@/tools/getRandomWords"
|
||||
import { addMakeUpWordsTool } from "@/tools/makeUpWords"
|
||||
|
||||
const server = new McpServer({
|
||||
name: "writer-helpers",
|
||||
@@ -10,6 +11,7 @@ const server = new McpServer({
|
||||
|
||||
registerDictionariesFunctionality(server)
|
||||
addRandomWordsTool(server)
|
||||
addMakeUpWordsTool(server)
|
||||
|
||||
const transport = new StdioServerTransport()
|
||||
await server.connect(transport)
|
||||
|
||||
Reference in New Issue
Block a user