FastMcp

mcp.server.McpServer.FastMcp
See theFastMcp companion object
case class FastMcp[F[_]](serverInfo: Implementation, capabilities: ServerCapabilities, tools: List[Tool[F, _]], resources: List[ResourceHandler[F]], prompts: List[PromptHandler[F]], handlers: Map[Method, RequestHandler[F]])(implicit evidence$1: Async[F], evidence$2: LiftIO[F])

Attributes

Companion
object
Source
McpServer.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addPrompt(prompt: PromptHandler[F]): FastMcp[F]

Attributes

Source
McpServer.scala
def addResource(resource: ResourceHandler[F]): FastMcp[F]

Attributes

Source
McpServer.scala
def addTool[T](tool: Tool[F, T]): FastMcp[F]

Attributes

Source
McpServer.scala
def setCapabilities(capabilities: ServerCapabilities): FastMcp[F]

Attributes

Source
McpServer.scala
def setRequestHandler(method: Method, requestHandler: RequestHandler[F]): FastMcp[F]

Attributes

Source
McpServer.scala
def start(transportType: "stdio" | "sse"): F[Unit]

Attributes

Source
McpServer.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product