Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help |
The search service can find package by either name (apache), provides(webserver), absolute file names (/usr/bin/apache), binaries (gprof) or shared libraries (libXm.so.2) in standard path. It does not support multiple arguments yet...
The System and Arch are optional added filters, for example System could be "redhat", "redhat-7.2", "mandrake" or "gnome", Arch could be "i386" or "src", etc. depending on your system.
Connect Perl with AI using the Model Context Protocol (MCP). Currently this module is focused on tool calling, but it will be extended to support other MCP features in the future. At its core, MCP is all about text processing, making it a great fit for Perl. Streamable HTTP Transport Use the MCP::Server/"to_action" method to add an MCP endpoint to any Mojolicious application. The tool name and description are used for discovery, and the at https://json-schema.org is used to validate the input. use Mojolicious::Lite -signatures; use MCP::Server; my $server = MCP::Server->new; $server->tool( name => 'echo', description => 'Echo the input text', input_schema => {type => 'object', properties => {msg => {type => 'string'}}, required => ['msg']}, code => sub ($tool, $args) { return "Echo: $args->{msg}"; } ); any '/mcp' => $server->to_action; app->start; Authentication can be added by the web application, just like for any other route. To allow for MCP applications to scale with prefork web servers, server to client streaming is currentlly avoided when possible. Stdio Transport Build local command line applications and use the stdio transport for testing with the MCP::Server/"to_stdio" method. use Mojo::Base -strict, -signatures; use MCP::Server; my $server = MCP::Server->new; $server->tool( name => 'echo', description => 'Echo the input text', input_schema => {type => 'object', properties => {msg => {type => 'string'}}, required => ['msg']}, code => sub ($tool, $args) { return "Echo: $args->{msg}"; } ); $server->to_stdio; Just run the script and type requests on the command line. $ perl examples/echo_stdio.pl {"jsonrpc":"2.0","id":"1","method":"tools/list"} {"jsonrpc":"2.0","id":"2","method":"tools/call","params":{"name":"echo","arguments":{"msg":"hello perl"}}}
Package | Summary | Distribution | Download |
perl-MCP-0.40.0-1.1.noarch.html | Connect Perl with AI using MCP (Model Context Protocol) | OpenSuSE Tumbleweed for noarch | perl-MCP-0.40.0-1.1.noarch.rpm |
Connect Perl with AI using MCP (Model Context Protocol) | perl-MCP-0.40.0-1.1.noarch.rpm | ||
perl-MCP-0.40.0-1.1.noarch.html | Connect Perl with AI using MCP (Model Context Protocol) | OpenSuSE Ports Tumbleweed for noarch | perl-MCP-0.40.0-1.1.noarch.rpm |
Generated by rpm2html 1.6