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

Story Lab

https://story-lab.ai/
1•Aftermidn8•2m ago•0 comments

China plans to spend $295B on AI buildout

https://www.bloomberg.com/news/articles/2026-06-09/china-prepares-295-billion-plan-to-fund-nation...
1•loandbehold•3m ago•0 comments

Plane Launch Week Gallery

https://plane.so/launch-week/q2-2026
1•bbor•3m ago•1 comments

Nearly Everyone, Everywhere, Veers Left When Walking

https://www.nytimes.com/2026/06/10/science/humans-walking-veer-left-counterclockwise.html
1•donohoe•5m ago•0 comments

The Device Paradigm [pdf]

https://web.cs.ucdavis.edu/~rogaway/classes/188/spring04/projects/5.pdf
1•burnto•5m ago•0 comments

Fable 5 creates full Swiss lever watch movement in Three.js

https://twitter.com/quanghuynt14/status/2064509430650065278
2•mhb•6m ago•0 comments

Nuts – pip/NPM for Java with first-class workspaces and JDK provisioning (9y+)

https://github.com/thevpc/nuts
1•thevpc•6m ago•0 comments

AI-review: reviewing AI code before it lands

https://www.jackfranklin.co.uk/blog/ai-review-plan/
1•mooreds•7m ago•0 comments

Whole Earth Garden

https://wholegarden.falso.net/
1•gdss•7m ago•0 comments

How to enter side doors: guide to jobs, cold emails, and making yourself legible

https://velvetnoise.substack.com/p/how-to-enter-side-doors
1•nowflux•7m ago•0 comments

Who runs the ransomware group 'The Gentlemen?'

https://krebsonsecurity.com/2026/06/who-runs-the-ransomware-group-the-gentlemen/
2•krebsonsecurity•8m ago•0 comments

T9 Texting Is Back on iPhone

https://apps.apple.com/us/app/t9-keyboard-text-like-its-04/id6765738931
1•ItsMeDavidV•8m ago•0 comments

Ongoing attempt to standardise a DOM Templating API in browsers

https://github.com/justinfagnani/dom-templating-api-proposal
1•llcooliovice•11m ago•0 comments

Show HN: Kctx – A read-only Kubernetes context engine for SREs and AI Agents

https://github.com/lucasepe/kctx
2•lucasepe•13m ago•0 comments

Anthropic's Self Governance Is an Act of Social Violence

https://cezarbabin.com/notes/anthropic-self-governance-is-an-act-of-social-violence.html
1•nibab•14m ago•1 comments

Google Liable for Hallucinations (In Germany)

https://garymarcus.substack.com/p/breaking-google-liable-for-hallucinations
1•PaulDavisThe1st•15m ago•1 comments

The maths behind a leopards spots

https://www.bbcearth.com/news/the-maths-behind-a-leopards-spots
2•marysminefnuf•17m ago•0 comments

Jumping spiders inspire ultra-efficient 3D camera

https://news.northwestern.edu/stories/2026/06/jumping-spiders-inspire-ultra-efficient-3d-camera
1•gmays•19m ago•0 comments

US stock market to stop shrinking for first time in 23 years

https://www.ft.com/content/f7dae4e1-d650-45ab-ac97-043c7a965d24
4•JumpCrisscross•20m ago•0 comments

Ask HN: What are your thoughts on your critical thinking abilities and AI?

2•ciwolex•21m ago•5 comments

Piano Learning App focused on Sight-reading

http://virtuoso.host.eco.br/app/
2•ltouro•21m ago•2 comments

Show HN: LocksBet – a price comparison tool for prediction markets

https://locksbet.com
1•at-w•22m ago•0 comments

What Is It Like to Be a Bat? [pdf]

https://www.sas.upenn.edu/~cavitch/pdf-library/Nagel_Bat.pdf
5•shadow28•23m ago•0 comments

Apple Announces Maps Feature That Could Bring CarPlay to Tesla

https://www.notateslaapp.com/news/4278/could-this-new-apple-feature-finally-bring-carplay-to-tesla
2•dabinat•24m ago•0 comments

The Music Understanding framework [video]

https://developer.apple.com/videos/play/wwdc2026/253/
2•gok•24m ago•0 comments

Show HN: CtxGov – a local claim firewall for AI memory claims

https://ctxgov.github.io/ctxgov/try-in-5-minutes.html
1•LuxBennu•25m ago•0 comments

Beyond Enumerable: For Want of Better Windows

https://baweaver.com/writing/2026/05/31/beyond-enumerable-for-want-of-better-windows/
1•kurinikku•25m ago•0 comments

Breaking the Ice: Analyzing Cold Start Latency in vLLM

https://arxiv.org/abs/2606.07362
2•matt_d•27m ago•0 comments

They Tried to Catch a Predator. They Trapped Themselves Instead

https://www.nytimes.com/2026/06/10/technology/predator-catcher-vitaly-mistake.html
3•_tk_•29m ago•0 comments

Sharper context. Fewer tokens. Open-source middleware for Claude Code

https://github.com/cytostack/openwolf
1•momentmaker•30m ago•0 comments