Scroll to navigation

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

NAME

MCP::Server::Transport::HTTP - HTTP transport for MCP servers

SYNOPSIS

  use MCP::Server::Transport::HTTP;
  my $http = MCP::Server::Transport::HTTP->new;

DESCRIPTION

MCP::Server::Transport::HTTP is a transport for MCP (Model Context Protocol) server that uses HTTP as the underlying transport mechanism.

ATTRIBUTES

MCP::Server::Transport::HTTP inherits all attributes from MCP::Server::Transport.

METHODS

MCP::Server::Transport::HTTP inherits all methods from MCP::Server::Transport and implements the following new ones.

handle_request

  $http->handle_request(Mojolicious::Controller->new);

Handles an incoming HTTP request.

SEE ALSO

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

2025-08-05 perl v5.42.0