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

Anthropic Claude Code Leak Reveals Critical Command Injection Vulnerabilities

https://beyondmachines.net/event_details/anthropic-claude-code-leak-reveals-critical-command-inje...
1•croes•1m ago•0 comments

IEA: Solar overtakes all energy sources in a major global first

https://electrek.co/2026/04/19/iea-solar-overtakes-all-energy-sources-in-a-major-global-first/
1•Klaster_1•2m ago•0 comments

Libero – Gleam Library Renders REST Obsolete for Spas and Erlang-Based Clients

https://github.com/pairshaped/libero
1•MrJulia•4m ago•0 comments

Intel refreshes non-Ultra Core CPUs with new silicon for the first time

https://arstechnica.com/gadgets/2026/04/intels-non-ultra-core-cpus-are-new-silicon-this-year-for-...
2•rbanffy•7m ago•1 comments

Brave Premium

https://account.brave.com/?intent=checkout&product=origin
1•lijialjun•9m ago•0 comments

Forward Guidance with Mark Carney [video]

https://www.youtube.com/watch?v=uk2TZwkhi4E
1•pedalpete•9m ago•1 comments

A Crossroad at a Branch

http://www.vex.net/~trebla/haskell/crossroad.xhtml
1•sph•9m ago•0 comments

Ask HN: Scanslop.com on Reddit a Privacy Nightmare?

1•znpy•10m ago•0 comments

Viral Takeover [video]

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

How Long Poop Stays in Your Body May Impact Your Health, Study Finds

https://www.sciencealert.com/how-long-poop-stays-in-your-body-may-impact-your-health-study-finds
3•mikhael•14m ago•0 comments

Show HN: VS Code extension that predicts Git merge conflicts before they happen

https://marketplace.visualstudio.com/items?itemName=SukantaSaha.mergeguard
1•lalata•14m ago•1 comments

Show HN: Translate LLM API Calls Across OpenAI, Anthropic, and Gemini

https://github.com/Oaklight/llm-rosetta
1•Oaklight•16m ago•0 comments

Just like phishing for gullible humans, prompt injecting AIs is here to stay

https://www.theregister.com/2026/04/19/just_like_phishing_for_gullible/
1•beardyw•17m ago•0 comments

OpenAI Executive Kevin Weil Is Leaving the Company

https://www.wired.com/story/openai-executive-kevin-weil-is-leaving-the-company/
1•joozio•20m ago•0 comments

Topology Meets Machine Learning: The Euler Characteristic Transform [pdf]

https://www.ams.org/journals/notices/202507/rnoti-p719.pdf
1•ganitam•22m ago•0 comments

Our Project Hail Mary: The Observability Setup Behind an Observability Tool

https://newsletter.signoz.io/p/our-project-hail-mary-the-observability
1•elza_1111•22m ago•0 comments

Why don't centre-pivot irrigation fields use hexagonal packing?

https://old.reddit.com/r/geography/comments/1sqedsf/why_dont_centrepivot_irrigation_fields_use/
2•calcsam•22m ago•0 comments

Diagnosing Random MariaDB Freezes on Frappe Cloud

https://frappe.io/blog/frappe-cloud/diagnosing-random-mariadb-freezes-on-frappe-cloud
1•TanmoySarkar•22m ago•0 comments

BreachForums logs reveal anonymizers of choice for shady characters

https://www.okta.com/blog/threat-intelligence/blocking_shady_network/
2•Cider9986•24m ago•1 comments

Ray Optics Simulation

https://phydemo.app/ray-optics/
2•the-mitr•24m ago•0 comments

The logical trap: why blocking "cheap" ads crashed my RPM by 60%

https://webmatrices.com/post/the-logical-trap-why-blocking-cheap-ads-crashed-my-rpm-by-60
1•bishwasbh•25m ago•0 comments

GitNexus: Client-side knowledge graph creator that runs in the browser

https://github.com/abhigyanpatwari/GitNexus
2•saikatsg•27m ago•0 comments

Ask HN: Kernel debugging on Apple Silicon

1•dirtb1ke•29m ago•1 comments

Unofficial List of Siri Commands

https://github.com/extratone/siri
1•ryan-ca•33m ago•0 comments

Businesses can claim refunds for tariffs declared unconstitutional

https://apnews.com/article/tariff-refund-trump-customs-08861f153801156d213c30c4e2f6a683
2•geox•35m ago•1 comments

The great Scouse pasty war

https://www.livpost.co.uk/the-great-scouse-pasty-war/
1•DamonHD•37m ago•0 comments

NASA working on 'Big Bang' upgrade to keep the Voyagers alive for longer

https://www.theregister.com/2026/04/20/voyager_big_bang_upgrades/
3•beardyw•39m ago•0 comments

The Interpretive Advantage [video]

https://www.youtube.com/watch?v=-6no6N3i9Tg
1•tosh•41m ago•0 comments

Anthropic's in-house philosopher thinks Claude gets anxious

https://twitter.com/itsolelehmann/status/2045578185950040390
3•thdr•42m ago•1 comments

Prometheus Exporter for RDMA (RoCE) NIC Statistics in Linux

https://github.com/yuuki/rdma_exporter
2•y_uuki•48m ago•0 comments