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

Help Web Attackers Self Report

https://nochan.net/b/Internet-Crap/20260524-Help-Attackers-Self-Report/
1•Bender•50s ago•0 comments

The Decline of Sumptuousness in Cinema

https://yakimenko.substack.com/p/on-the-decline-of-sumptuousness-in
1•idleplant•1m ago•0 comments

Who Operates Operators?

https://mohamedkadri.substack.com/p/who-operates-the-operators
1•theanonymousone•1m ago•0 comments

Dev productivity metrics suck. Ops reviews are key for AI-accelerated eng orgs

https://www.cortex.io/drive
5•gsdatta•2m ago•1 comments

GLM 5.2 is nearly as accurate as a human book keeper

https://toot-books.pages.dev/blog/glm-5-2-vat-benchmark
1•adamkurkiewicz•4m ago•0 comments

Rage-Inducing Problems in Tech

https://www.theringer.com/2026/05/28/tech/pope-leo-xiv-ai-encyclical-tech-industry-problems
1•Tomte•4m ago•0 comments

Many economists believe that AI will lead to more inflation. Why?

https://www.marketplace.org/story/2026/06/22/why-ai-may-lead-to-more-inflation
2•mapping365•4m ago•0 comments

Who has been caught out by this anti-pattern from Google?

1•Monotoko•4m ago•0 comments

Fed's Williams says AI is now his main inflation concern

https://fortune.com/2026/07/09/federal-reserve-john-williams-says-ai-is-now-his-main-inflation-co...
2•mapping365•5m ago•0 comments

A no-brainer for protecting your brain

https://www.economist.com/leaders/2026/07/09/a-no-brainer-for-protecting-your-brain
2•aloukissas•5m ago•1 comments

The government wants to scare Americans out of sharing the news

https://freedom.press/issues/the-government-wants-to-scare-americans-out-of-sharing-the-news/
1•littlexsparkee•6m ago•0 comments

How to Start a Ruby Meetup

https://guides.rubyevents.org/meetups/
1•mooreds•6m ago•0 comments

Build or buy an agent developer workspace?

https://www.monaco.com/blog/agent-developer-workspaces
1•nutellalover•7m ago•0 comments

Karmic Predicament

https://www.guidavid.com/writing/karmic-predicament
1•gdss•8m ago•0 comments

Anthropic appoints former Fed Chair Ben Bernanke to its independent trust

https://www.cnbc.com/2026/07/09/anthropic-fed-chair-bernanke-independent-trust.html
1•cramer4next•8m ago•0 comments

CEO reveals how he used AI 2 build 1 person company þats $1.3B in debt- Þe Onion [video]

https://www.youtube.com/shorts/YERfTT4McsU
1•notthemessiah•9m ago•0 comments

Show HN: Codex Explorer, a local session manager for Codex CLI

https://github.com/Tobiadefami/codex-explorer
2•tobiadefami•10m ago•0 comments

Head to Head: Muse Spark 1.1 vs. Anthropic: Claude Opus 4.8

https://runtimewire.com/article/head-to-head-muse-spark-1-1-vs-anthropic-claude-opus-4-8
1•ryanmerket•11m ago•0 comments

Nicotine pouches, tobacco's latest ploy

https://med.stanford.edu/news/insights/2026/06/nicotine-pouches-addiction-tobacco-industry-latest...
1•car•13m ago•0 comments

Too Old for Silicon Valley? Think Again. AI Is Changing the Math

https://www.kqed.org/news/12090173/too-old-for-silicon-valley-think-again-ai-is-changing-the-math
1•littlexsparkee•13m ago•0 comments

95% of the announced Nvidia Grace Blackwell GPU has yet to be deployed

https://bsky.app/profile/jessefelder.com/post/3mq7sfics7k2l
1•doener•15m ago•0 comments

Why heatwaves hit women harder

https://www.bbc.com/news/articles/c4gyp1knzzxo
1•bbg2401•16m ago•0 comments

Clever Hans

https://en.wikipedia.org/wiki/Clever_Hans
2•type0•16m ago•0 comments

LearnChess – Master Chess Through Understanding

https://learnchess.ai/
1•janpio•17m ago•0 comments

I Refactored a 10-Year-Old C# Codebase in 3 Days (Without Breaking Prod)

https://medium.com/devs-community/how-i-refactored-a-10-year-old-c-codebase-in-3-days-without-bre...
1•sukhpinder0804•18m ago•0 comments

Central Banks Are Joining the AI Bubble Debate

https://www.forbes.com/sites/ronschmelzer/2026/07/08/central-banks-are-joining-the-ai-bubble-debate/
1•jack1689•18m ago•1 comments

Curb impacts of AI on programming to maintain EU sovereignty

https://www.draketo.de/software/curb-ai-impact
1•summm•18m ago•0 comments

China Weighs Limits on the AI Models American Companies Love

https://www.wsj.com/tech/ai/china-weighs-limits-on-the-ai-models-american-companies-love-c3ad8f2b
1•Brajeshwar•20m ago•0 comments

Ventoy

https://www.ventoy.net/en/index.html
1•LorenDB•20m ago•0 comments

EnclaveX: End-to-End Confidential AI with CPU/GPU Tees

https://arxiv.org/abs/2606.31408
1•Jimmc414•22m ago•0 comments