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

Star Just Ate a Planet, and It's Not Done Yet

https://www.nytimes.com/2026/07/09/science/space/planetary-engulfment-hungry-star.html
1•wglb•1m ago•0 comments

Why Do Some Soccer Players Cut the Heels Off Their Cleats?

https://www.wired.com/story/why-do-some-soccer-players-cut-the-heels-off-their-cleats/
1•littlexsparkee•5m ago•0 comments

Unveiling the Mysteries of Chimichurri: The Ultimate Guide to a Culinary Delight

https://churrascos.com/unveiling-the-mysteries-of-chimichurri/
1•Cider9986•5m ago•0 comments

Fidji Simo Leaves OpenAI

https://twitter.com/fidjissimo/status/2075353170927304861
2•doppp•7m ago•0 comments

Ask HN: Thoughts on AI in Personal Finance?

1•foxtrot8672•9m ago•1 comments

Show HN: Selvedge – long-term memory for AI-coded codebases

https://selvedge.sh/
1•masondelan•10m ago•0 comments

Russia bans diesel exports after Ukrainian attacks, straining global market

https://www.cnn.com/2026/07/09/business/russia-diesel-ban-ukrainian-strikes-intl
1•breve•17m ago•0 comments

What Happens When the Public Record Shrinks

https://www.theatlantic.com/newsletters/2026/07/trump-administration-public-record-data-holes/687...
1•paulpauper•18m ago•0 comments

Childhood and Education #20: Phones and Screens

https://thezvi.substack.com/p/childhood-and-education-20-phones
1•paulpauper•20m ago•0 comments

AI #176 Part 1: Doing It Live

https://thezvi.substack.com/p/ai-176-part-1-doing-it-live
1•paulpauper•21m ago•0 comments

Show HN: Fortress – Give your agents unlimited access to the web

5•armanluthra_•24m ago•1 comments

Ambient Website Background Clouds

https://github.com/paradise-runner/background-clouds
1•dividedcomet•31m ago•0 comments

I Made a JavaScript Obfuscater

https://potassiumv1.netlify.app/
1•ImOnHere•34m ago•0 comments

Command and Conquer: Red Alert Mac/Android/iOS ported using Codex

https://github.com/dk8827/ra-port
1•bananaboy•36m ago•1 comments

UST is bringing Claude to physical AI

https://www.anthropic.com/news/ust-claude
1•surprisetalk•36m ago•0 comments

China's giant Gobi solar plant runs after dark on salt, not batteries

https://electrek.co/2026/07/09/china-hami-solar-molten-salt-storage/
1•Bender•37m ago•0 comments

LibreOffice 26.8 Beta Released for Improving This Free Software Office Suite

https://www.phoronix.com/news/LibreOffice-26.8-Beta-1
3•Bender•37m ago•1 comments

Linux Prepares for New USB-C Security Feature on Lenovo ThinkPads

https://www.phoronix.com/news/ThinkPad-USB-C-Restricted-Mode
2•Bender•38m ago•0 comments

Phone on Feminism

https://conversationalist.org/2019/09/13/feminism-explains-our-toxic-relationships-with-our-smart...
4•cratermoon•38m ago•2 comments

Karl Sims – Liquid Selves (1992)

https://www.karlsims.com/liquid-selves.html
1•connorboyle•40m ago•0 comments

Focus

https://boz.com/articles/focus
3•iacguy•41m ago•0 comments

Building an AI legal companion for domestic and sexual violence survivors

https://apps.apple.com/us/app/lea-by-legali-ai/id6759547127?see-all=reviews&platform=iphone
1•irawati_puteri•48m ago•1 comments

Volkswagen to Slash Half Its Models as Sales Fall

https://www.nytimes.com/2026/07/09/business/volkswagen-china-sales.html
3•bookofjoe•49m ago•2 comments

Stack Rankings: A Comprehensive Guide

https://www.thehumancapitalhub.com/articles/stacked-rankings-a-comprehensive-guide
1•akkartik•52m ago•0 comments

Can A.I. Keep a Parent Alive?

https://www.newyorker.com/news/as-told-to/can-ai-keep-a-parent-alive
1•petethomas•56m ago•0 comments

Study: "Mommy, do you love your phone more than me?"

https://www.frontiersin.org/journals/psychology/articles/10.3389/fpsyg.2026.1766665/full
2•hbcondo714•1h ago•0 comments

Show HN: I built a free app for New Yorkers to save money on groceries

https://sbnyc.app/
9•eli_yumnik•1h ago•3 comments

Fraym – AI that creates product demo videos for you

https://tryfraym.com
1•jrud•1h ago•0 comments

Just shipped rate limiting for hypersonic.js

https://github.com/hypersonic-js/hypersonic-js
1•joaquim_d•1h ago•1 comments

What will define Elon Musk's legacy? DOGE cuts to USAID Ebola programs

https://www.theguardian.com/technology/2026/jul/07/elon-musk-doge-cuts-usaid-ebola
6•tastyface•1h ago•3 comments