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

What Every Productivity App Trades Away [video]

https://www.youtube.com/watch?v=OuEKdD_1F8s
1•zdw•13s ago•0 comments

The Economics Behind the Spurs

https://bycig.substack.com/p/the-economics-behind-the-spurs
1•paulpauper•4m ago•0 comments

Has AI Killed How-To Nonfiction?

https://tim.blog/2026/06/12/has-ai-already-killed-nonfiction/
1•paulpauper•4m ago•0 comments

Sometimes it is hard to solve for the equilibrium

https://marginalrevolution.com/marginalrevolution/2026/06/sometimes-it-is-hard-to-solve-for-the-e...
1•paulpauper•4m ago•0 comments

'The traveler' book review: An enlightening voyage

https://www.wsj.com/arts-culture/books/the-traveler-review-an-enlightening-voyage-e9754ecb
1•hhs•6m ago•0 comments

Coronavirus and Credibility (2020)

https://paulgraham.com/cred.html
1•downbad_•6m ago•0 comments

White House's export limits on Anthropic linked to concerns about Chinese access

https://www.semafor.com/article/06/13/2026/white-house-move-to-limit-anthropic-linked-to-concerns...
3•shscs911•13m ago•1 comments

Getting Creative with Perlin Noise Fields

https://sighack.com/post/getting-creative-with-perlin-noise-fields
2•0x000xca0xfe•16m ago•0 comments

Ancient genome duplications laid the foundations of complex brains

https://www.ox.ac.uk/news/2026-06-09-ancient-genome-duplications-laid-the-foundations-of-complex-...
1•hhs•17m ago•0 comments

The 27 Platform Releases – June 2026

https://developer.apple.com/documentation/Updates
1•Austin_Conlon•17m ago•0 comments

Four by Three

https://www.hankgreen.com/fourbythree
1•_tk_•22m ago•0 comments

New research reveals how brains update their predictions

https://source.washu.edu/2026/06/new-research-reveals-how-brains-update-their-predictions/
1•hhs•23m ago•0 comments

LazyOwn RedTeam Framework

https://github.com/grisuno/LazyOwn
1•grisun0•25m ago•1 comments

Derbyshire Police officer accused of using AI to 'create evidence'

https://www.bbc.com/news/articles/cy8wppwdxl6o
4•healsdata•28m ago•0 comments

Hans Schulz – The father of the VEF Minox lens?

https://moments-of-now.com/hans-schulz-the-father-of-the-vef-minox-riga-lens/
1•throwaway81523•29m ago•0 comments

Wirth's Law

https://en.wikipedia.org/wiki/Wirth%27s_law
1•RinTohsaka•37m ago•0 comments

Designing Software for Software Factories

https://blog.sshh.io/p/designing-software-for-software-factories
1•sshh12•37m ago•0 comments

The Ruby JRuby Was Built to Run

https://intertwingly.net/blog/2026/06/11/The-Ruby-JRuby-Was-Built-to-Run.html
1•mooreds•40m ago•0 comments

Rails: The Sharp Parts. Lock Is Not a Mutex

https://baweaver.com/writing/2026/06/05/rails-sharp-parts-lock-is-not-a-mutex/
1•mooreds•40m ago•0 comments

Timeline of HN

https://news.ycombinator.com/threads?id=ChrisArchitect
5•razor-thin•42m ago•0 comments

LLM Token Price Index

https://tokenpriceindex.com
2•zurtri•43m ago•1 comments

Building a Functional Lego Typewriter [video]

https://www.youtube.com/watch?v=ZIWTSkCVxjk
1•vinnyglennon•44m ago•0 comments

Battery recycling boom exposes schoolchildren to lead

https://www.ft.com/content/19beeed4-8c99-4de3-a163-9301210634ad
1•petethomas•46m ago•0 comments

VTubeMe

https://vtubeme.com
1•alekcac•48m ago•1 comments

Show HN: Pebble, an open-source alternative to Minecraft: Java Edition

https://github.com/thebriangao/pebble
1•briangao•50m ago•1 comments

Is the Twenty-First Century a Creative Void?

https://yalereview.org/article/audrey-wollen-david-marx-blank-space
1•tintinnabula•50m ago•0 comments

Show HN: How to prevent spam and disposable signups

https://emailverify.se/
1•the_plug•51m ago•1 comments

Amazon security research reportedly led to the White House's Anthropic Fable ban

https://www.theverge.com/ai-artificial-intelligence/949601/amazon-anthropic-fablemythos-governmen...
2•kikibobo69•51m ago•0 comments

W.H. Auden and James Schuyler in life and literature

https://hedgehogreview.com/web-features/thr/posts/companions-on-parnassus
2•Caiero•57m ago•0 comments

Bubbles.town – posts aggregated from 5007 independent, personal blogs

https://bubbles.town/
2•Curiositry•58m ago•0 comments