frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•11mo ago

Comments

NinjaGems•11mo 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

Ask HN: What do founders want from a one person dev studio?

1•Punyakrit•2m ago•1 comments

Ask HN: What's your favourite business oriented movie?

1•wasimsk•2m ago•0 comments

BBC to cut up to 2k jobs in biggest downsize in 15 years

https://www.theguardian.com/media/2026/apr/15/bbc-cut-jobs-downsize-matt-brittin-tim-davie
1•mellosouls•7m ago•0 comments

Trump Killed the One Thing That Made Filing Taxes Easier

https://www.nytimes.com/2026/04/04/opinion/taxes-trump-direct-file-tax-day-april.html
4•mitchbob•7m ago•1 comments

Trust and the Death of the Handshake Deal

https://nickchirls.com/2026/04/15/trust-and-the-death-of-the-handshake-deal/
1•rafaelc•7m ago•0 comments

Close the Book. Recall. Write It Down. (2009)

https://www.chronicle.com/article/close-the-book-recall-write-it-down/
1•downbad_•9m ago•1 comments

Jensen Huang – How Nvidia locked up the semiconductor supply chain [video]

https://www.youtube.com/watch?v=Hrbq66XqtCo
1•tosh•10m ago•0 comments

Dino from Scratch

https://github.com/aldipiroli/dino_from_scratch
1•tgnk2341•10m ago•0 comments

Show HN: Tier – Adaptive tool routing that makes small LLMs 10pt more accurate

https://github.com/yantrikos/tier
2•pranabsarkar•10m ago•0 comments

Bot-AGI-1 – a robotics benchmark for VLMs

https://bot-agi.org/
1•chronolitus•11m ago•0 comments

Cram Less to Fit More: Training Data Pruning Improves Memorization of Facts

https://machinelearning.apple.com/research/cram-less
1•gmays•11m ago•0 comments

The Gemini app is now on Mac

https://blog.google/innovation-and-ai/products/gemini-app/gemini-app-now-on-mac-os/
2•thm•11m ago•0 comments

Python Type Checker Comparison: Speed and Memory Usage

https://pyrefly.org/blog/speed-and-memory-comparison/
1•ocamoss•11m ago•0 comments

Show HN: Agentfab – A Distributed Agentic Platform

https://github.com/RazvanMaftei9/agentfab
1•razvan_maftei•12m ago•0 comments

Patch Tuesday, April 2026 Edition

https://krebsonsecurity.com/2026/04/patch-tuesday-april-2026-edition/
1•Brajeshwar•13m ago•0 comments

New search engine reveals if ancestors were in Nazi party

https://www.bbc.com/news/articles/cr411ndee7yo
2•hackernj•13m ago•1 comments

Ecovacs Wants to Weaponize Your Mop Water

https://www.siliconsnark.com/ecovacs-wants-to-weaponize-your-mop-water/
1•SaaSasaurus•14m ago•0 comments

French cops free mother and son after 20-hour crypto kidnap ordeal

https://www.theregister.com/2026/04/15/crypto_kidnap_france/
1•Bender•14m ago•0 comments

Encrypted Client Hello: A Big Tech Privacy Fix

https://blog.miloslavhomer.cz/encrypted-client-hello/
1•ArcHound•16m ago•0 comments

Henry's Pocket

https://en.wikipedia.org/wiki/Henry%27s_pocket
1•thunderbong•18m ago•0 comments

Notes on Twins Vol. 2 – 12 Weeks

https://roryflint.substack.com/p/notes-on-twins-vol-2
2•mrroryflint•21m ago•1 comments

'Handing out the blueprint to a bank vault' Why AI led Cal to drop open source

https://www.zdnet.com/article/ai-security-worries-force-company-to-abandon-open-source/
2•CrankyBear•22m ago•1 comments

Can astrologers gain insights about people from astrological charts?

https://www.clearerthinking.org/post/can-astrologers-use-astrological-charts-to-understand-people...
1•pavel_lishin•22m ago•0 comments

Write stuff down and document things

https://thereabouts.bearblog.dev/why-you-should-write-stuff-down-and-document-things/
2•speckx•24m ago•0 comments

How Older Adults Are Using V.R. To Counter Social Isolation

https://www.nytimes.com/2026/04/15/technology/vr-technology-elderly-community-social-isolation.html
1•mitchbob•25m ago•1 comments

The next evolution of the Agents SDK

https://openai.com/index/the-next-evolution-of-the-agents-sdk/
5•meetpateltech•28m ago•1 comments

What China's Great Green Wall can teach the world

https://www.nature.com/articles/d41586-026-01195-3
6•Brajeshwar•28m ago•0 comments

Graphs That Explain the State of AI in 2026

https://spectrum.ieee.org/state-of-ai-index-2026
4•CarbonCycles•29m ago•0 comments

Microbes make microplastics more likely to form ice in clouds, research reveals

https://phys.org/news/2026-03-microbes-microplastics-ice-clouds-reveals.html
3•PaulHoule•29m ago•0 comments

CPUs Aren't Dead. Gemma2B Out Scored GPT-3.5 Turbo on Test That Made It Famous

https://seqpu.com/CPUsArentDead/
3•fredmendoza•29m ago•0 comments