Scroll to navigation

MCP::Server::Transport(3) User Contributed Perl Documentation MCP::Server::Transport(3)

NAME

MCP:Transport - Transport base class

SYNOPSIS

  package MyMCPTransport;
  use Mojo::Base 'MCP::Server::Transport';
  1;

DESCRIPTION

MCP::Server::Transport is a base class for MCP (Model Context Protocol) transport implementations.

ATTRIBUTES

MCP::Server::Transport implements the following attributes.

server

  my $server = $transport->server;
  $transport = $transport->server(MCP::Server->new);

The server instance that this transport is associated with.

SEE ALSO

Mojolicious, <https://mojolicious.org>, <https://modelcontextprotocol.io>.

2025-08-05 perl v5.42.0