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

Never Retire

https://www.economist.com/business/2024/01/25/why-you-should-never-retire
1•andsoitis•38s ago•0 comments

A Spatiotemporal Hardening Framework and Evaluation Method for Soft Error

https://www.mdpi.com/2079-9292/15/9/1889
1•PaulHoule•42s ago•0 comments

Two New Studies Ask: Did the iPhone Cause Birthrates to Decline?

https://www.nytimes.com/2026/06/08/us/iphone-birthrate-decline-studies.html
1•reaperducer•59s ago•0 comments

How to Retire at 30

https://www.economist.com/podcasts/2026/06/06/how-to-retire-at-30
1•andsoitis•1m ago•0 comments

Show HN: I made an ad-free game collection for my grandparents

https://stiuvou.ch/grandpagames/
1•nahakiole•2m ago•0 comments

Visidata: A terminal spreadsheet multitool for discovering and arranging data

https://github.com/saulpw/visidata
1•tosh•3m ago•0 comments

UK PM tells Apple and Google to ban nude images on children's phones

https://www.bbc.co.uk/news/articles/cly752ydjw6o
1•xenocratus•4m ago•0 comments

xcesp: Developing for ESP32 Devices with Xcode

https://kohlschuetter.github.io/blog/posts/2026/06/08/xcode-esp/
1•kohlschuetter•4m ago•0 comments

How to Get Out of a Funk

https://sublimeinternet.substack.com/p/how-to-use-sublime-to-get-out-of
1•surprisetalk•5m ago•0 comments

Show HN: RepoSignal scores GitHub repos for adoption risk. No AI, no servers

https://github.com/udit-rawat/RepoSignal
1•udit-r•6m ago•0 comments

The purist's model of spaced repetition

https://www.natemeyvis.com/the-purists-model-of-spaced-repetition/
1•ingve•7m ago•0 comments

Anti-social: It's fads, not friends, which now dominate social media feeds

https://www.bbc.com/worklife/article/20260520-how-social-media-ceased-to-be-social
3•1vuio0pswjnm7•7m ago•0 comments

Skills Are Rotting Inventory

https://blog.danielvaughan.com/skills-are-inventory-0ad323081324
1•dvaughan•11m ago•0 comments

XWiki and OpenProject as an open-source alternative to Confluence and Jira

https://xwiki.com/en/webinars/Open-Project-XWiki-June-2026
2•lorinab•11m ago•2 comments

SpaceX ($SPCX): AI, Chips, Sats, Launches and Orbital Compute Under One Roof

https://twitter.com/StockAnalystPro/status/2063675760725160211
1•bilsbie•12m ago•0 comments

Caddy Defender Plugin: return garbage responses for AI crawlers

https://github.com/jasonlovesdoggo/caddy-defender
2•hamburgererror•13m ago•0 comments

Japanese city shuts down nearly 100 schools after unprecedented bear sighting

https://www.theguardian.com/world/2026/jun/08/utsunomiya-city-japan-bear-sighting-all-primary-sec...
2•bookofjoe•13m ago•0 comments

Majority of US's new AI datacenters to be built on drought-hit land

https://www.aol.com/news/majority-us-ai-datacenters-built-110023869.html
2•1vuio0pswjnm7•13m ago•0 comments

Apple's Meeting That Led It to Take AI Seriously

https://www.bloomberg.com/news/newsletters/2026-06-07/wwdc-2026-apple-s-secret-meeting-that-led-i...
1•shortlived•13m ago•1 comments

Cholesky Decomposition

https://en.wikipedia.org/wiki/Cholesky_decomposition
1•tosh•14m ago•0 comments

The Next Big Leap

https://arkvis.com/blog/2026-06-05_the-next-big-leap.html
1•phyzix5761•16m ago•0 comments

Prediction markets are fueling a new era of political graft

https://www.fastcompany.com/91554204/prediction-markets-kalshi-polymarket-political-graft
2•1vuio0pswjnm7•16m ago•0 comments

Show HN: I revived Scoragora, a World Cup prediction game

https://scoragora.com/
1•joyinsky•16m ago•0 comments

Show HN: The App with No Back End – How I Built a Premium E-Reader for $0/Month

https://conceptz.medium.com/the-app-with-no-backend-how-i-built-a-premium-e-reader-for-0-month-fa...
1•dfe001•17m ago•1 comments

Pick and Place: Carbon Nanotube Nanoassembly Process

https://www.c12qe.com/news/pick-and-place-carbon-nanotube-quantum-chip-manufacturing
1•bpierre•17m ago•0 comments

AI revives lean-forward UX

https://jakobnielsenphd.substack.com/p/ux-roundup-20260608
1•andsoitis•20m ago•0 comments

Thoughts Ahead of WWDC 2026

https://anderegg.ca/2026/06/07/thoughts-ahead-of-wwdc-2026
2•GavinAnderegg•24m ago•0 comments

Show HN: Vui – open-source voice mode

https://twitter.com/harrycblum/status/2062308968228147254
1•bazlan•25m ago•0 comments

Cheap to Write, Expensive to Own

https://mijndertstuij.nl/posts/cheap-to-write-expensive-to-own/
3•theanonymousone•25m ago•0 comments

When did we decide lines of code was a measure of productivity?

https://medium.com/@mooseyanon/when-did-we-decide-lines-of-code-was-a-measure-of-productivity-e14...
1•arm93•28m ago•0 comments