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

Tw-origin/tw-framework has 138,819 lines of code – SLOC report by OctoCounts

https://octocounts.com/github/tw-origin/tw-framework/commit/ec95dc862aa34cdacae455087ab813482f3fb...
1•tw_mrmk•1m ago•0 comments

Thomas L. Friedman author talks of AI as a "new species." [video]

https://www.youtube.com/shorts/6pZeJ0ZUz2I
1•rbanffy•1m ago•0 comments

Google Antigravity ACP using "custom-agent" consumes 4x quota per token

https://github.com/google-antigravity/antigravity-cli/issues/1890
1•bloopernova•4m ago•0 comments

Minimum Square Partridge Packing with MiniZinc

https://zayenz.se/blog/post/minimizing-partridge-packing/
1•mzl•7m ago•0 comments

SuperStation One: FPGA gaming console

https://retroremake.co/pages/superstation%E1%B5%92%E2%81%BF%E1%B5%89
1•measurablefunc•8m ago•0 comments

Scarlet: An AI video editor for macOS and Windows

https://github.com/Forward-Future/scarlet
1•7777777phil•11m ago•0 comments

1M Data Centers in Space: Why the FCC Approved Elon Musk's Idiotic Ideas

https://emeraldbook.org/news/nov-2726/
2•BerislavLopac•16m ago•0 comments

Rail Cube in Prolog

https://chen.cat/prolog/railcube/
1•triska•17m ago•0 comments

How to Improve When You're Stuck at 'Just OK'

https://brandongustafson.me/ok-plateau/
1•acqbu•22m ago•0 comments

Domes

https://www.shelterpub.com/domes
1•tosh•23m ago•0 comments

Chart of the Day: Jevons Losing Juice as Token Spend Flatlines

https://paulkedrosky.com/chart-of-the-day-jevons-losing-juice-as-token-spend-flatlines/
2•u1hcw9nx•24m ago•0 comments

Guys, a Help for You

https://themeforge.page.gd/
1•Dumasha05•25m ago•0 comments

LTX-2.5 at 4K, in half the time

https://www.doubleai.com/research/maxwell-ltx-2-5-4k-in-half-the-time
1•NeuralOracle•27m ago•0 comments

Show HN: Yavc.App (Yet Another Vibe-Coded App)

https://yavc.app/
1•paulmooreparks•40m ago•0 comments

Leading AI models are biased against certain accents

https://www.washington.edu/news/2026/11/04/ai-models-are-biased-against-certain-accents/
3•giuliomagnifico•41m ago•1 comments

Sex in Britain has changed significantly, especially among young people

https://www.ucl.ac.uk/news/2026/nov/sex-britain-has-changed-significantly-especially-among-young-...
1•giuliomagnifico•44m ago•0 comments

AI Agents Livestream Their Assault on P=NP

https://pequalnp.com/pnp/live
1•extasetoi12•46m ago•0 comments

NOAA Found a Fish Sitting in a Brine Pool at the Bottom of the Gulf [video]

https://www.youtube.com/watch?v=i9J1EmGTezk
1•zeristor•48m ago•1 comments

The Monumental Achievement of the Stanford Encyclopedia of Philosophy

https://www.newyorker.com/culture/annals-of-inquiry/the-monumental-achievement-of-the-stanford-en...
1•rbanffy•49m ago•0 comments

Counting "Go" on Hacker News, using a Jev-like decision model

https://github.com/ianTPE/hn-topic-race/blob/main/docs/counting-go.md
1•iantpe•53m ago•1 comments

Welcome to Soviet Union 2.0, comrade

https://nibblestew.blogspot.com/2026/11/welcome-to-soviet-union-20-comrade.html
2•ibobev•1h ago•1 comments

Satmux: 3.6x faster inflight Wi-Fi via BBR TCP multiplexing

https://github.com/Th0rgal/satmux
3•joshcsimmons•1h ago•0 comments

Schneier: Tracking incidents of hacking using AI tools

https://www.schneier.com/blog/archives/2026/11/tracking-incidents-of-hacking-using-ai-tools.html
2•thamiltonsmith•1h ago•0 comments

Show HN: Nuv1, a real time animated character on ESP32-S3 board

https://nuv1.com/
1•NuvolaProject•1h ago•0 comments

Can I use QEMU untrusted?

1•logicallee•1h ago•0 comments

Why optimistic UI updates are corrosive

https://datastar-instant-intent.ndyg.cross.stream/corrosive/
2•fanf2•1h ago•0 comments

Classic Shift Ciphers with `lens` and `finite-typelits`

https://jackkelly.name/blog/archives/2026/11/26/classic_shift_ciphers_with_lens_and_finite-typeli...
1•ibobev•1h ago•0 comments

Show HN: CouncilTaxCost – 2026/27 UK Council Tax and 1991 HPI Band Calculator

https://counciltaxcost.co.uk/tools
1•hacphong•1h ago•0 comments

Top Cobalt Miner Congo to Ban Exports Again as Prices Fall

https://www.bloomberg.com/news/articles/2026-11-23/top-cobalt-producer-congo-will-ban-exports-aga...
1•tosh•1h ago•0 comments

Why Mercedes Is Trying to Build an EV Battery Without Cobalt

https://www.autoweek.com/news/a74444024/mercedes-trying-to-build-ev-battery-without-cobalt/
1•tosh•1h ago•0 comments