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

Trump's AI Framework Is So Bad They Won't Show You What's in It

https://www.techdirt.com/2026/08/06/trumps-ai-framework-is-so-bad-they-wont-show-you-whats-in-it/
1•cdrnsf•1m ago•0 comments

One Startup Built a (Mostly) China-Free Robot

https://www.wired.com/story/how-one-startup-built-a-mostly-china-free-robot/
1•dwa3592•3m ago•0 comments

Show HN: Whisper transcribes 70-year-olds more accurately than 20-year-olds

https://github.com/Kayvan-Zahiri/asr-age-gap
2•kzahiri•4m ago•0 comments

A Polynomial-Time Quantum Algorithm for the Dihedral Coset Problem

https://eprint.iacr.org/2026/1591
1•csmantle•4m ago•0 comments

Meta Ordered to Pay $942M to Address Harm to Kids from Social Media

https://www.wsj.com/tech/meta-ordered-to-pay-942-million-to-address-harm-to-kids-from-social-medi...
4•boplicity•8m ago•0 comments

Official: Ford's $29,945 Small EV Truck Is Called Fathom

https://www.motortrend.com/news/2028-ford-fathom-ev-pickup-name-price-official
1•thehoff•10m ago•0 comments

Show HN: AI Tutoring with Visual Grounding

https://useknowable.ai/
2•samuelzxu•10m ago•0 comments

McDonald's Cheeseburgers Dunked in Coca‑Cola? The Internet Is Deeply Divided

https://netbajura.blogspot.com/2026/08/reset-et-design-epure-type-medium.html
1•AllForAll•11m ago•0 comments

The Three Types of Creative Thought

https://twitter.com/dioscuri/status/2068625521567519179
1•rzk•11m ago•0 comments

How the U.S. Squandered Its Strategic Advantage

https://www.theatlantic.com/national-security/2026/08/shortage-weapons-shaping-war-iran/688201/
1•petethomas•12m ago•0 comments

OpenAI Response to Apple [pdf]

https://storage.courtlistener.com/recap/gov.uscourts.cand.474095/gov.uscourts.cand.474095.59.0.pdf
1•sanj•13m ago•0 comments

Why America Won't Copy Sweden's Cheap Highway Fix That Saves Lives [video]

https://www.youtube.com/watch?v=jyNEnYaBszk
1•oatmeal1•15m ago•0 comments

Quake 4: The Awakening has been released

https://github.com/jmarshall23/Quake_4_Alpha
1•klaussilveira•16m ago•0 comments

See inside your agents to fix them

https://lexifina.com/blog/see-inside-your-agents-to-fix-them
2•alansaber•19m ago•0 comments

What an Improv Stage Can Teach You About Leading Cross-Cultural Teams in Tokyo

https://www.tokyodev.com/articles/yes-and-what-an-improv-stage-can-teach-you-about-leading-cross-...
2•pwim•24m ago•0 comments

A path tracer through the translation stack

https://ark.marianposaceanu.com/quake-ii-rtx-m4-crossover
2•marianposaceanu•24m ago•0 comments

Google Shakes Up A.I. Leadership

https://www.nytimes.com/2026/08/05/technology/google-ai-leadership.html
2•karakoram•25m ago•1 comments

Objects That Explain America

https://www.nytimes.com/interactive/2026/08/04/opinion/museum-of-america.html
2•mooreds•27m ago•0 comments

Google Shifts AI Power Back to Brin as DeepMind's Hassabis Steps Aside

https://www.ft.com/content/1453e9c2-4922-482f-8720-0bafd7e07df7
2•karakoram•27m ago•1 comments

Arbitrage Exists Between Kalshi and Polymarket but You Can't Exploit It

https://www.zhinit.dev/blog/kalshi-polymarket-arbitrage
3•zhinit•27m ago•0 comments

What I'm Watching So You Don't Have To

https://roninsana.substack.com/p/what-im-watching-so-you-dont-have-a4b
2•petethomas•28m ago•0 comments

Diana Pfeil: Building Confidence in Probabilistic Systems [audio]

https://maintainable.fm/episodes/diana-pfeil-building-confidence-in-probabilistic-systems
1•mooreds•29m ago•0 comments

Draupnir

https://en.wikipedia.org/wiki/Draupnir
2•petethomas•30m ago•0 comments

Louisiana AG Liz Murrill Keeps Opposing Compensation for Wrongfully Convicted

https://www.propublica.org/article/louisiana-wrongful-conviction-compensation-liz-murrill-elvis-b...
2•baddash•30m ago•0 comments

ArenaAllocators don't play nicely with ArrayLists

https://www.openmymind.net/Arena-Allocators-and-ArrayLists/
1•ibobev•30m ago•0 comments

Show HN: Draw.How – Learn to Draw Anything

https://draw.how/
2•nadermx•31m ago•0 comments

Zig's Io.Threaded Is Neat

https://matklad.github.io/2026/08/06/neat-io-threaded.html
1•ibobev•32m ago•0 comments

Equal-Area and Quasi-Conformal Mappings

https://jcgt.org/published/0015/02/02/
1•ibobev•33m ago•0 comments

Invisible Problems

https://idiallo.com/blog/invisible-problems
2•foxfired•36m ago•0 comments

The Monkey Supply Chain

https://www.chinatalk.media/p/the-monkey-supply-chain
2•chirau•36m ago•0 comments