Package: perl-MCP (0.80.0-bp160.1.1)

Connect Perl with AI using MCP (Model Context Protocol)

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 information

Homepage
[https://metacpan.org/release/MCP]
License
MIT
Mantenedor do pacote downstream
Desconhecido: não informado na fonte indexada
Pacote fonte
[perl-MCP]
Software project
[libmcp-perl]

Versions and downloads for perl-MCP

Version / releaseArchitecture / repositoryPackage sizeInstalled sizeFilesPublisher repository artifact
0.80.0-bp160.1.1leap-16.0 / ossnoarchopenSUSE Leap 16.0 · OSS · multi-architecture40 KiB60 KiBlist of filesperl-MCP-0.80.0-bp160.1.1.noarch.rpm
0.40.0-bp160.1.1leap-16.0 / ossnoarchopenSUSE Leap 16.0 · OSS · multi-architecture32 KiB40 KiBlist of filesperl-MCP-0.40.0-bp160.1.1.noarch.rpm
0.150.0-bp160.1.1leap-16.0 / ossnoarchopenSUSE Leap 16.0 · OSS · multi-architecture90 KiB168 KiBlist of filesperl-MCP-0.150.0-bp160.1.1.noarch.rpm
About these downloads

Cada linha é metadado do índice de pacotes para uma versão, arquitetura, suite e repositório. Nomes, URLs e tamanhos vêm da fonte; um link é um ponto de obtenção mutável, não uma redistribuição da OpenFactory.

Dependencies and recommendations for perl-MCP

  • dep: perl(:MODULE_COMPAT_5.42.0)

    Package not available

  • dep: perl(CryptX) (>= 0.87)

    Package not available

  • dep: perl(IPC::Run) (>= 20231003.0)

    Package not available

  • dep: perl(JSON::Validator) (>= 5.150)

    Package not available

  • dep: perl(Mojolicious) (>= 9.410)

    Package not available

Caminhos de arquivo do pacote (41)

Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.

  • /usr/lib/perl5/vendor_perl/5.42.0/MCP
  • /usr/lib/perl5/vendor_perl/5.42.0/MCP/Client.pm
  • /usr/lib/perl5/vendor_perl/5.42.0/MCP/Constants.pm
  • /usr/lib/perl5/vendor_perl/5.42.0/MCP.pm
  • /usr/lib/perl5/vendor_perl/5.42.0/MCP/Primitive.pm
  • /usr/lib/perl5/vendor_perl/5.42.0/MCP/Prompt.pm
  • /usr/lib/perl5/vendor_perl/5.42.0/MCP/Resource.pm
  • /usr/lib/perl5/vendor_perl/5.42.0/MCP/Server
  • /usr/lib/perl5/vendor_perl/5.42.0/MCP/Server/Context.pm
  • /usr/lib/perl5/vendor_perl/5.42.0/MCP/Server/Legacy.pm
  • /usr/lib/perl5/vendor_perl/5.42.0/MCP/Server.pm
  • /usr/lib/perl5/vendor_perl/5.42.0/MCP/Server/Subscription.pm
  • /usr/lib/perl5/vendor_perl/5.42.0/MCP/Server/Transport
  • /usr/lib/perl5/vendor_perl/5.42.0/MCP/Server/Transport/HTTP.pm
  • /usr/lib/perl5/vendor_perl/5.42.0/MCP/Server/Transport.pm
  • /usr/lib/perl5/vendor_perl/5.42.0/MCP/Server/Transport/Stdio.pm
  • /usr/lib/perl5/vendor_perl/5.42.0/MCP/Tool.pm
  • /usr/share/doc/packages/perl-MCP
  • /usr/share/doc/packages/perl-MCP/Changes
  • /usr/share/doc/packages/perl-MCP/examples
  • /usr/share/doc/packages/perl-MCP/examples/echo_http.pl
  • /usr/share/doc/packages/perl-MCP/examples/echo_stdio.pl
  • /usr/share/doc/packages/perl-MCP/examples/perldoc_stdio.pl
  • /usr/share/doc/packages/perl-MCP/examples/streaming_http.pl
  • /usr/share/doc/packages/perl-MCP/README.md
  • /usr/share/licenses/perl-MCP
  • /usr/share/licenses/perl-MCP/LICENSE
  • /usr/share/man/man3/MCP.3pm.gz
  • /usr/share/man/man3/MCP::Client.3pm.gz
  • /usr/share/man/man3/MCP::Constants.3pm.gz
  • /usr/share/man/man3/MCP::Primitive.3pm.gz
  • /usr/share/man/man3/MCP::Prompt.3pm.gz
  • /usr/share/man/man3/MCP::Resource.3pm.gz
  • /usr/share/man/man3/MCP::Server.3pm.gz
  • /usr/share/man/man3/MCP::Server::Context.3pm.gz
  • /usr/share/man/man3/MCP::Server::Legacy.3pm.gz
  • /usr/share/man/man3/MCP::Server::Subscription.3pm.gz
  • /usr/share/man/man3/MCP::Server::Transport.3pm.gz
  • /usr/share/man/man3/MCP::Server::Transport::HTTP.3pm.gz
  • /usr/share/man/man3/MCP::Server::Transport::Stdio.3pm.gz
  • /usr/share/man/man3/MCP::Tool.3pm.gz

Field source: openSUSE Leap 16.0 OSS

Vulnerabilidades conhecidas

Nenhum aviso correspondente nas fontes acompanhadas.

Última sincronização:

[Catálogo de CVE]

Checksums

Repository signatures authenticate metadata. Artifact hashing is recorded separately. Neither establishes package safety.

0.80.0-bp160.1.1 / noarchObservado Sep 1, 2026sha512 df1a111d9b8c…3d6ca95bResumo da fonte

Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.

Resumo da fonte (sha512): df1a111d9b8c73d42c53e506fee8317ad9feed5360db2b7bd4729e740550647836ed946d74c4d1ccd809e9c7ec99069ad2ab689eed7943c51b34bd803d6ca95b

Field source: openSUSE Leap 16.0 OSS

0.40.0-bp160.1.1 / noarchObservado Sep 1, 2026sha512 68f934d6a1ec…40325676Resumo da fonte

Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.

Resumo da fonte (sha512): 68f934d6a1ec794b084becc717271d7cf99a6b21b38c0bc57894530f12b2fc39f0df236d80779ffc09263025dbdc71f15fcd191dc24c55f8c1b7e0d040325676

Field source: openSUSE Leap 16.0 OSS

0.150.0-bp160.1.1 / noarchObservado Sep 1, 2026sha512 6665dace8564…ee1d1717Resumo da fonte

Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.

Resumo da fonte (sha512): 6665dace8564bac3d99583af68ef02838689d66a1ff572314b40c0741f4bbaaeb41afe1c544421ee60a4f213232d9af7bb4621f49d387a4e6ff0fc9eee1d1717

Field source: openSUSE Leap 16.0 OSS

Fontes

  • Authoritative source; repository metadata signature verified

    Evidência de assinatura

    leap-16-0-oss-multiarch:271b36d440253edf9871ac0c100319fc7443d8f2d54b6b449a72e9414c51577c

    Repository-signature verification record
    Signed-object SHA-256
    271b36d440253edf9871ac0c100319fc7443d8f2d54b6b449a72e9414c51577c
    Signer fingerprint
    AD485664E901B867051AB15F35A2F86E29B700A4
    Keyring revision
    opensuse-project-signing-key.asc
    SHA-256 b5745739ebfb95b25b8e810f9bcb847fe750ccda598bd85f02f0e974599a6d7e
    Tool and policy
    gpgv (GnuPG) 2.4.9
    openfactory-software-catalog-signature-v1
    Verification time
    Sep 1, 2026
    Repository metadata hash linkage
    Result
    Recorded as verified; digest details unavailable

Usar este pacote

O OpenFactory pode iniciar este sistema operacional em uma máquina virtual do navegador, ou começar uma construção que inclui o nome nativo do pacote deste registro.