Convo

Convo

Convo is a class that runs Model Context Protocol (MCP) server with registered tools having node handler function and info metadata.

Constructor

new Convo(name:, version:, tools:, toolOpts:)

Initialise MCP server and register MCP tools.
Source:
Parameters:
Name Type Description
name: String name of the MCP server
version: String version of the MCP server
tools: Array array of MCP tools to be registered
toolOpts: Object options object that contains properties to be passed to each tool handler function.

Methods

(async) run()

Run the MCP server.
Source: