Re: MCP server in Perl

vallor <[email protected]> Wed, 11 Mar 2026 09:59:05 +0000
Newsgroups comp.lang.perl.misc
Organization The Unnamed Newswriter
Message-ID <[email protected]>
At Mon, 9 Mar 2026 20:11:48 +0200, casie <[email protected]> wrote:

> I have recently decided to create an MCP server in perl for the purpose 
> of searching, and getting context from, alternative protocols for agents 
> to use. Why? Well, certainly it is not for any practical reason, but it 
> is a funny thing to create.
> 
> So far, it fully is able to pull gemini, gopher, and spartan pages, and 
> can search gopherspace and geminispace competently. The full code is 
> below, it is meant to be used for Claude Code, as that is what I am 
> using through ollama, but it most likely can be edited easily.
> 
> A copy of the sourcecode exists on 
> https://codeberg.org/1casie/clover-mcp, and a curl'able bash install 
> script exists on https://nyet.su/get_clover.sh, though my uptime isn't 
> the best.
> 
> I would love to see if somehow, through the will of this community, 
> someone could help me create a better version of this that is properly 
> "in-line" with any suggestions? All I know is that I know nothing. All I 
> know is that it is anachronistic and funny for LLMs to be able to 
> interract with protocols and content using period-appropriate 
> languages/servers.
> 
> ```perl
[...snip...]

Nice to see another face in this group.  Will take a look at it.

Immediately, it occurs to me that you could have one .pm file
per protocol, and standardize the call interface so that others
could easily "plug-in" more protocols.

My current project is a newsreader written in tk/perl.

   https://i.imgur.com/ari2dUc.png

Same screenshot:

   https://ibb.co/7Jr650MJ

It's been my first attempt at "vibe coding" with ChatGPT.  I used
perl because that has always been my go-to language -- but using
C if I need more performance.

-- 
-v System76 Thelio Mega v1.1 x86_64 Mem: 258G
   OS: Linux 7.0.0-rc3 D: Mint 22.3 DE: Xfce 4.18 (X11)
   NVIDIA GeForce RTX 3090Ti (24G) (595.45.04)
   "Some people are afraid of heights. I'm afraid of widths"