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.