frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

I built MCP on Ruby to help developers turn any Rails API into an MCP server

https://github.com/nagstler/mcp_on_ruby
2•NinjaGems•1y ago

Comments

NinjaGems•1y ago
I built MCP on Ruby, a gem that turns your Rails app into a fully-featured LLM server following the Model Context Protocol standard.

- What is it? Think of MCP as "REST for LLMs" - it standardizes how apps talk to AI models.

My implementation brings this to Ruby/Rails with:

Provider adapters for OpenAI & Anthropic (just add your API key)

Persistent storage options (memory, Redis, ActiveRecord)

Streaming responses for dynamic UIs

File handling & tool calling support

*Rails integration with just a few lines of code

- Why I built it I wanted a clean, Rails-friendly way to add AI capabilities without writing boilerplate for each provider. The existing MCP implementations were Python-focused, so I built this for the Ruby community.

- The ActiveRecord storage (just released in v0.3.0) lets you store conversations in your existing Rails database.

- Try it out: https://github.com/nagstler/mcp_on_ruby

Apple Music Hall

https://www.applemusichall.com/
1•thm•52s ago•0 comments

Generals: Zero Hour in Browser

https://generals.zone/?full
1•playerx•1m ago•1 comments

Textbook Review: Is Parallel Programming Hard, and, If So, What Can You Do About

https://ahelwer.ca/post/2026-09-21-concurrency-textbook/
1•fanf2•5m ago•0 comments

AMD's random number generator can't generate a 0?

https://board.flatassembler.net/topic.php?t=24261
1•BruceEel•7m ago•0 comments

How I Made Palmer Luckey and Paul Graham Perform Hotel Lobby

https://www.skeptrune.com/posts/seedance-video-character-swap/#4-map-the-people-then-describe-wha...
1•skeptrune•7m ago•0 comments

The .au namespace is about to be gutted, and almost nobody knows it's happening

https://www.reddit.com/r/Domains/comments/1wmv2vs/the_au_namespace_is_about_to_be_gutted_and_almost/
1•taubek•10m ago•0 comments

Brazilian researcher who helped country's grain boom wins World Food Prize

https://www.reuters.com/world/americas/brazilian-researcher-who-helped-countrys-grain-boom-wins-w...
1•thunderbong•12m ago•0 comments

OpenPrinter: Open Source Printer

https://www.crowdsupply.com/open-tools/openprinter
1•_josh_meyer_•13m ago•0 comments

Sony Patent Would Let a PlayStation Controller Relay Payments from Your Phone

https://pbxscience.com/sony-patent-would-let-a-playstation-controller-relay-payments-from-your-ph...
1•pndy•15m ago•0 comments

Dear Elon Musk, here are five things you might want to consider about AGI

https://garymarcus.substack.com/p/dear-elon-musk-here-are-five-things
2•inglor_cz•17m ago•1 comments

Jev vs. Codex on Flight Booking: A Hands-On Comparison for Free

https://agentsky.dev/jev/vs/codex
1•yshuolu•17m ago•0 comments

Hill investigates after F-35 parts diverted to Hong Kong

https://www.politico.com/news/2026/09/18/congress-f-35-china-investigation-01083647
1•Betelbuddy•19m ago•0 comments

Resend · Email for Developers

https://resend.com
2•thunderbong•24m ago•1 comments

White House launches Trump TV following press bans

https://thehill.com/homenews/administration/6103061-white-house-launches-trump-tv/
1•consumer451•28m ago•0 comments

Anthropic Principle

https://en.wikipedia.org/wiki/Anthropic_principle
1•binyu•32m ago•0 comments

Et Tu, Brute? Economic Misalignment in Personal AI Agents

https://arxiv.org/abs/2609.24927
1•sbulaev•39m ago•0 comments

I said no and Apple said yes

https://dbushell.com/2026/09/22/apple-intelligence/
2•thatslast•42m ago•0 comments

Robot bunnies deployed in Florida to fight invasive pythons

https://www.popsci.com/environment/robot-bunnies-florida-invasive-pythons/
1•EvanAnderson•44m ago•1 comments

Police hugging AI so tight, soon we'll all be pre-crime suspects

https://responsiblestatecraft.org/pentagon-artificial-intelligence/
2•DeepLogin•49m ago•0 comments

The Sun Doesn't Shine on Me (2006)

https://fullhoffman.com/2006/03/20/the-sun-doesnt-shine-on-me/
1•tosh•51m ago•0 comments

KeiroLabs – Web research infrastructure for AI agents

https://keirolabs.cloud/
2•Akuma_9031•51m ago•1 comments

EncryptedLLM: Privacy-Preserving Large Language Model Inference

https://ICML.cc/virtual/2025/poster/45395
1•rrr_oh_man•53m ago•0 comments

The agents never stop. A council can

https://blog.flurdy.com/2026/09/the-agent-council-stopping-together
1•flurdy•55m ago•1 comments

How to cut back on social media addiction

https://www.shuaibkhan.com/p/how-to-cut-back-on-social-media-addiction
2•shuaib•55m ago•0 comments

Show HN: Z8Log – Structured logging your AI coding agent can query

https://z8log.com/welcome
1•relatedcode•56m ago•0 comments

Trusted directories for listing your Mac app

https://www.reddit.com/r/SideProject/s/OUdUEmRdMO
1•a_chmerev•56m ago•0 comments

RippleNav – A web instrument provides real-time visual feedback on thought focus

https://access.ripplenav.org/
1•RRwood•58m ago•0 comments

Saudi's Ceer unveils first EVs

https://www.reuters.com/world/middle-east/saudis-ceer-unveils-first-evs-bid-build-regional-auto-p...
1•Propelloni•1h ago•0 comments

Welcome Silona Bonewald, New MetaBrainz Foundation Executive Director

https://blog.metabrainz.org/2026/09/22/welcome-silona-bonewald-new-metabrainz-foundation-executiv...
2•aerozol•1h ago•1 comments

Show HN: Easytris – Tetris that wants you to win

https://medv.io/easytris/
1•medv•1h ago•0 comments