MCPStdioServer

org.llm4s.mcp.MCPStdioServer
See theMCPStdioServer companion class

Attributes

Companion
class
Source
MCPStdioServer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(name: String, version: String, tools: Seq[ToolFunction[_]], annotations: Map[String, MCPToolAnnotations], outputSchemas: Map[String, Value], drain: FiniteDuration): MCPStdioServer

A stdio server for tools.

A stdio server for tools.

Value parameters

annotations

the MCP tool annotations to list, by tool name

drain

the longest to wait, once the input ends, for cancelled calls to finish

name

the server name reported to initialize

outputSchemas

the outputSchema to list, by tool name (#3406)

version

the server version reported to initialize

Attributes

Source
MCPStdioServer.scala
def fromRegistry(name: String, version: String, registry: ToolRegistry, annotations: Map[String, MCPToolAnnotations], outputSchemas: Map[String, Value], drain: FiniteDuration): MCPStdioServer

A stdio server for registry's tools, annotated from the ToolHints it reports, as MCPServer.fromRegistry.

A stdio server for registry's tools, annotated from the ToolHints it reports, as MCPServer.fromRegistry.

Attributes

Source
MCPStdioServer.scala