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

An Algorithmic Reconstruction of Normalisation by Evaluation

https://yangzhixuan.github.io/NbE.html
1•matt_d•30s ago•0 comments

Global energy markets are on the verge of a disaster

https://www.economist.com/finance-and-economics/2026/04/21/global-energy-markets-are-on-the-verge...
1•petethomas•12m ago•0 comments

Moving a tenant across PostgreSQL instances

https://ananthakumaran.in/2026/04/22/moving-tenant-across-postgresql-instances.html
1•ananthakumaran•14m ago•0 comments

Can EVs kill off petrol cars in China?

https://www.ft.com/content/c78e0368-cc57-4f92-ad62-a073e01ba73d
1•petethomas•17m ago•0 comments

Code, your choice: Netlify's stance on AI training data

https://www.netlify.com/blog/stance-on-ai-training-data/
1•kristianp•19m ago•1 comments

Changes to GitHub Copilot Individual Plans

https://simonwillison.net/2026/Apr/22/changes-to-github-copilot/
2•omer_k•22m ago•0 comments

Bob Dylan – Murder Most Foul (Official Audio) [video]

https://www.youtube.com/watch?v=3NbQkyvbw18
1•hkhn•23m ago•0 comments

The Mattering Instinct: How Our Deepest Longing Drives Us and Divides Us

https://rebeccagoldstein.com/the-mattering-instinct/
1•hkhn•25m ago•0 comments

OpenBSD – LibreSSL 4.3.1 Released

https://www.undeadly.org/cgi?action=article;sid=20260420085845
2•peter_hansteen•25m ago•0 comments

Elon Musk's SpaceX Endgame

https://www.theatlantic.com/technology/2026/04/elon-musk-starlink-satellites/686877/
2•paulpauper•27m ago•0 comments

The State of the Human Rights: April 2026

https://www.amnesty.org/en/documents/pol10/0320/2026/en/
1•hkhn•28m ago•0 comments

Hundreds trying to storm Wisconsin beagle research facility

https://www.msn.com/en-us/news/world/hundreds-trying-to-storm-wisconsin-beagle-research-facility-...
1•rguiscard•29m ago•0 comments

Happiness Feels

https://passiveaggressionoftheworlds.substack.com/p/how-happiness-feels
1•bunson_burner•33m ago•0 comments

Microsoft's GitHub grounds Copilot account sign-ups amid capacity crunch

https://www.theregister.com/2026/04/20/microsofts_github_grounds_copilot_account/
2•gpi•33m ago•0 comments

Ask HN: What Would Make Stack Overflow Great Again?

3•nnurmanov•39m ago•1 comments

Claude 4.7 blocks cyber prompts: before the fact vs. after the fact

https://raxitlabs.com/blogs/claude-47-five-layers-cyber-blocking
2•agairola•40m ago•0 comments

Show HN: XTTV, the App to watch long video from Twitter/X on Apple TV

https://apps.apple.com/us/app/xttv/id6757870255
1•ShawFei•40m ago•0 comments

Cognition without brains? Learning and memory in microorganisms

https://www.sciencedirect.com/science/article/pii/S0966842X26000909
1•the-mitr•41m ago•0 comments

Agent Harness Engineering

https://addyosmani.com/blog/agent-harness-engineering/
3•tanelpoder•45m ago•0 comments

Benchmarking Cloud vs. Local LLMs Why back end choice matters more than quant

https://arxiv.org/abs/2604.18566
2•tleitch•46m ago•0 comments

Ask HN: Is the internet getting more jank?

2•taurath•46m ago•1 comments

Everyone should have the opportunity to build their own house

https://reveriesofahuman.com/everyone-should-have-the-opportunity-to-build-their-own-house/
1•dartharva•49m ago•0 comments

Deeply Rooted

https://oxfordamerican.org/oa-now/deeply-rooted
1•gmays•50m ago•0 comments

HackerFork – Surfaces HN posts that never make the front page

https://hackerfork.com
2•saadn92•51m ago•1 comments

Sys. Review: The Impact of Covid-19 Vaccination on Myocarditis Risk and Recovery

https://www.mdpi.com/2039-7283/16/4/77
1•cratermoon•52m ago•0 comments

Netflix's AI deal puts the global VFX workforce at risk

https://restofworld.org/2026/netflix-interpositive-vfx-ai-automation/
3•jackyli02•54m ago•1 comments

FPGA-based tiled matrix multiplication accelerator for self-attention

https://arxiv.org/abs/2503.16731
3•sha_rad•55m ago•0 comments

Show HN: Proton VPN expands to 145 countries: A technical look at infrastructure

1•anju-kushwaha•57m ago•0 comments

Show HN: Aide – A customizable Android assistant (voice, choose your provider)

https://aideassistant.com/
1•yincrash•58m ago•0 comments

Omacon keynote talk with DHH [video]

https://www.youtube.com/watch?v=sMxskir7Rug
2•nodesocket•1h ago•1 comments