Editing
Portal:Artificial Intelligence
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== MCP and AI tool calling === The '''Model Context Protocol''' or '''MCP''' became important in the mid-2020s as a way for AI assistants to interact with tools, files, APIs, and external systems. For Perl, MCP is especially relevant because Perl has always been strong at writing system tools and glue code. Langertha includes MCP tool-calling support. Its `Langertha::Role::Tools` documentation describes a tool-calling loop that gathers available MCP tools, sends tool definitions to the LLM, executes returned tool calls, feeds results back to the LLM, and repeats until a final text response is returned.<ref>MetaCPAN, “Langertha::Role::Tools,” https://metacpan.org/pod/Langertha::Role::Tools, accessed July 3, 2026.</ref> Perl also has domain-specific MCP work, such as `MCP::K8s`, which describes itself as an MCP server that gives AI assistants access to Kubernetes clusters with RBAC-aware dynamic tools.<ref>MetaCPAN, “MCP::K8s,” https://metacpan.org/pod/MCP::K8s, accessed July 3, 2026.</ref> This is a natural area for Perl. MCP servers often need to wrap existing command-line tools, system APIs, databases, logs, and administrative interfaces. Perl is well suited to that kind of integration.
Summary:
Please note that all contributions to Perl Guilds - Getting Medieval with Perl may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Perl Guilds - Getting Medieval with Perl:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Tools
What links here
Related changes
Page information