table of contents
other versions
- Tumbleweed 0.100.0-1.1
- Leap-16.0
| 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.
METHODS¶
MCP::Server::Transport implements the following methods.
notifications¶
my $bool = $transport->notifications;
True when the transport can push server-to-client notifications outside an in-flight response.
SEE ALSO¶
Mojolicious, <https://mojolicious.org>, <https://modelcontextprotocol.io>.
| 2026-05-07 | perl v5.42.1 |