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

Americans say they need $1.2M to retire comfortably

https://www.cnbc.com/2026/07/15/retirement-savings-goal-1point2-million.html
1•gmays•1m ago•0 comments

What Makes Humans Stupid

https://nautil.us/what-makes-humans-stupid-1282459
1•hoekit•4m ago•0 comments

Show HN: Can You Name the Tune?

https://1000songs.co.uk/#namethattune
1•farnhamancestry•5m ago•0 comments

Google Gemini launch delayed as tech falls short of internal goals

https://www.reuters.com/business/google-gemini-launch-delayed-tech-falls-short-internal-goals-blo...
1•sega_sai•5m ago•0 comments

Show HN: Japan and Korea Parliament Members Archive

https://eastasiainsights.com/
2•cksmct•7m ago•0 comments

Aspirin Shortage in UK

https://www.bbc.com/news/articles/c8d08v77ylro
1•bookofjoe•8m ago•1 comments

Half a Second: a free book on the XZ backdoor and the labor beneath open source

https://www.half-second.com/
2•a_mastronardi•11m ago•0 comments

Social Media Is Overrated

https://medium.com/whatsnextwray/why-social-media-is-overrated-and-what-to-do-instead-079d9b4cd78d
1•raynchad•14m ago•0 comments

World Cup photographer used a 96-year-old camera

https://www.cbc.ca/news/canada/world-cup-photos-camera-9.7272702
1•empressplay•16m ago•0 comments

Testing in Python

https://mkikta.com/posts/tests/
2•mkikta•20m ago•0 comments

Why Captain Disillusion Is Still the Goat [video]

https://www.youtube.com/watch?v=fCewGo4lvNw
1•Tomte•21m ago•0 comments

Ask HN: How much minimum karma is required for Show HN?

1•mindfluxstudios•23m ago•0 comments

Show HN: An interactive guide to how my spring-mass physics synthesizer works

https://anukari.com/how-it-works
1•humbledrone•25m ago•0 comments

Show HN: Health Economics Rust Crate

1•jph•29m ago•0 comments

LG ThinQ Terms of Use

4•tedggh•30m ago•1 comments

I created an job search result tracker app

https://ghostedai.xyz/
1•sillyfox•31m ago•0 comments

EU ban on destruction of unsold clothes and shoes enters into application

https://environment.ec.europa.eu/news/ban-destruction-unsold-clothes-and-shoes-enters-application...
2•robtherobber•31m ago•0 comments

What Rose Petals Teach Us about Induction

https://www.oranlooney.com/post/rose-petals/
1•olooney•31m ago•0 comments

Show HN: Slopsift – a local, graph-backed linter for AI writing

https://slopsift.dev/
1•NikhilVerma•32m ago•1 comments

Moldable Development

https://moldabledevelopment.com/
2•Tomte•33m ago•0 comments

Claude make Fable 5 permanent

https://simonwillison.net/2026/Jul/18/claude-make-fable-5-permanent/
4•Brajeshwar•34m ago•0 comments

AI Is Ruining Job Interviews

https://www.youtube.com/watch?v=LcQGXC1f-8s
4•root-parent•34m ago•0 comments

Show HN: Axiom toolkit – Make your ideas precise enough to be proven wrong

https://axiomreason.com
2•samcymbaluk•35m ago•0 comments

Martin Picard's Mitochondrial Theory of Mind

https://www.quantamagazine.org/martin-picards-mitochondrial-theory-of-mind-20260717/
1•bookofjoe•38m ago•0 comments

A quarter of EU power came from solar for the first time in June 2026

https://ember-energy.org/latest-insights/a-quarter-of-eu-power-came-from-solar-for-the-first-time...
2•giuliomagnifico•39m ago•0 comments

MX3D Bridge (3D printed bridge in Amsterdam)

https://archello.com/es/project/mx3d-bridge
1•eamag•40m ago•0 comments

Show HN: Scaffold a raw idea into something ship-ready in under a minute

1•xnslx•41m ago•0 comments

Show HN: iMessage is the best interface, so I built TypeScript SDK for it

https://github.com/jmisilo/imessage-sdk
2•misilojakub•48m ago•0 comments

Meta scales back plan to track keystrokes, mouse movements after staff uproar

https://nypost.com/2026/06/02/business/mark-zuckerbergs-meta-scales-back-plan-to-track-keystrokes...
1•chbint•50m ago•0 comments

Show HN: A Back end-as-a-Service for collaborative SaaS applications

https://linkedrecords.com/
1•WolfOliver•51m ago•0 comments