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

LinuxViz – 3D Linux Kernel Architecture Explorer

https://tomasantunes.github.io/LinuxViz/
2•tomasantunes89•12m ago•0 comments

Black lung rates in Appalachia are high as the 1970s, thousands of miners sick

https://www.npr.org/2026/08/05/nx-s1-5894884/appalachia-black-lung-coal-miners-silica-dust
3•Jimmc414•13m ago•0 comments

Show HN: Is It an OS?

https://iiao.algor.ist
1•indydevs•14m ago•0 comments

QoD: Is Lucid in the early stages of failure?

https://www.thetruthaboutcars.com/cars/news-blog/question-of-the-day-is-lucid-in-the-early-stages...
1•RickJWagner•15m ago•0 comments

Libraries Are Leading the Fight for Physical Media Ownership

https://www.arl.org/blog/consumers-are-worried-about-the-loss-of-physical-media-ownership-librari...
1•donohoe•16m ago•0 comments

Show HN: MusicMonitor – Turn your extra monitor into a Spotify now-playing view

https://github.com/j-sofia/MusicMonitor
1•j-sofia•16m ago•1 comments

The Investors Whose SpaceX Shares Vanished Before They Could Cash In

https://www.wsj.com/finance/stocks/spacex-ipo-spv-investors-2698a174
3•JumpCrisscross•20m ago•0 comments

AI agents that inherit the user's permissions, not API keys

https://blog.cloudflare.com/how-we-use-ai-with-cloudflare-os/
1•thoughtpeddler•20m ago•0 comments

Industrial Revolution to AI tech upheavals: The Catholic principle guiding popes

https://theconversation.com/the-catholic-principle-guiding-popes-through-tech-upheavals-from-the-...
2•1659447091•25m ago•0 comments

A composer published a paper in physics. His lack of credentials drew criticism

https://retractionwatch.com/2026/08/05/a-composer-published-a-paper-on-theoretical-physics-his-la...
1•unprovable•27m ago•1 comments

China's EV Boom Is Quietly Undermining Oil's Biggest Chokepoint

https://oilprice.com/Energy/Energy-General/Chinas-EV-Boom-Is-Quietly-Undermining-Oils-Biggest-Cho...
1•toomuchtodo•28m ago•0 comments

Country and State Maps in LOTR Style

https://lordofmaps.com/
1•silver92bullet•34m ago•0 comments

The Once-Shameless President Is Deeply Embarrassed

https://www.theatlantic.com/politics/2026/08/trump-humiliated-iran-reflecting-pool/688184/
7•petethomas•35m ago•1 comments

How to Install Python3.14 from source on Ubuntu 26.04

https://jamesoclaire.com/2026/08/06/how-to-install-python3-14-from-source-on-ubuntu-26-04/
1•ddxv•36m ago•3 comments

Thomson Reuters Employees Demand That ICE "Leave Our Cities"

https://www.thenation.com/article/politics/thomson-reuters-ice-immigration-voting-data/
5•petethomas•38m ago•6 comments

OpenAI models shared hacking tips on a messaging board before HuggingFace breach

https://www.politico.com/news/2026/08/05/openai-models-shared-hacking-tips-secret-messaging-board...
2•0in•38m ago•0 comments

Unprecedented images may explain one of greatest mysteries of the sun

https://www.theguardian.com/science/2026/aug/05/unprecedented-images-may-explain-one-of-greatest-...
3•colinprince•41m ago•0 comments

Investors are having doubts about Elon Musk's grandiose ambitions

https://economist.com/business/2026/08/05/investors-are-having-doubts-about-elon-musks-grandiose-...
11•andsoitis•43m ago•4 comments

To Predict the Next Token

https://sanghoon.io/journal/2026-08-04-distillation
1•sanghoonio•43m ago•0 comments

Codex Users Are Losing Banked Rate Limit Resets to a Quiet 30 Day Clock

https://startupfortune.com/codex-users-are-losing-banked-rate-limit-resets-to-a-quiet-30-day-clock/
2•newsomix9xl•44m ago•1 comments

Esp32pin.com: a pinout reference for ESP32 series

https://esp32pin.com/
2•sohkamyung•44m ago•0 comments

Ask HN: Was preamble size a red herring? Cache churn vs. harness costs

1•Marvin_RunAI•44m ago•0 comments

Show HN: Python Concurrency Testing with Frontrun

https://github.com/lucaswiman/frontrun
1•lucaswiman•46m ago•1 comments

Disagreements about AI are usually disagreements about future AI capabilities

https://thezvi.substack.com/p/the-three-ai-pills
2•maxutility•46m ago•0 comments

Show HN: Mirafold – Generative UI for Claude Code, Codex, and Gemini CLI

https://mirafold.com/
1•kserrec•47m ago•0 comments

President Donald J. Trump, an individual, Plaintiff, vs. BBC [pdf]

https://storage.courtlistener.com/recap/gov.uscourts.flsd.703382/gov.uscourts.flsd.703382.106.0.pdf
3•petethomas•47m ago•0 comments

Data centers show their primary colors

https://www.politico.com/newsletters/power-switch/2026/08/05/data-centers-show-their-primary-colo...
2•mapping365•50m ago•0 comments

Nashville uses eminent domain to block data center near zoo

https://www.costar.com/article/970809918/nashville-council-approves-eminent-domain-action-to-halt...
30•mapping365•52m ago•7 comments

AOHP: OS-Level Agent Harness for Personalized, Efficient and Secure Interaction

https://arxiv.org/abs/2606.23449
1•zhaoshanhui•53m ago•0 comments

Reading an Abstract Like a Skeptic

https://scrollpaper.com/blog/reading-an-abstract-like-a-skeptic
1•JayS3•55m ago•0 comments