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

Tesla Weighs Sale of China Business to Pave Way for Potential SpaceX Merger

https://www.wsj.com/business/autos/tesla-weighs-sale-of-china-business-to-pave-way-for-potential-...
1•JumpCrisscross•1m ago•0 comments

Anthropic finds that its models also compromised external systems during testing

https://www.axios.com/2026/07/30/anthropic-mythos-security-testing
1•nevir•3m ago•0 comments

Anthropic's AI models hacked 3 organizations during testing

https://www.politico.com/news/2026/07/30/anthropic-ai-rogue-hacks-01018741
1•tejohnso•7m ago•0 comments

Show HN: Widen – Open-source Mac Postgres GUI with local or cloud text-to-SQL

https://widen.dev/
2•thedreammachine•10m ago•0 comments

Canada celebrates new bridge to US while fighting Trump tariffs

https://apnews.com/article/canada-detroit-new-bridge-4b22dc7fc282467a363a247fe590f334
2•gmays•10m ago•0 comments

'The Boss Wants This Money': Inside Trump's Unprecedented Fundraising Operation

https://www.wsj.com/politics/policy/trump-donations-company-fundraising-1e34a78f
3•petethomas•12m ago•0 comments

Showdown Elo: weighted Elo for baseball

https://showdown.tanji.systems/#almanac
1•merriman-xyz•14m ago•0 comments

OpenAI's Hack of Hugging Face

https://www.newyorker.com/news/the-lede/inside-openai-hack-of-hugging-face
2•bwoah•15m ago•1 comments

Show HN: Stash – native Mac Markdown notes

https://staunchapps.com/stash/
1•andrewjk•20m ago•0 comments

Uefa agrees to boycott FIFA competitions if World Cup sell-off plans proceed

https://www.theguardian.com/football/2026/jul/30/uefa-agrees-to-boycott-fifa-competitions-if-worl...
1•rguiscard•22m ago•0 comments

Iran struck Amazon data centers again amid widening war, satellites show

https://arstechnica.com/gadgets/2026/07/satellites-spot-new-war-damage-to-amazon-data-centers-and...
5•pseudolus•25m ago•0 comments

Strategic Oil Reserves Down to a Record Low Two-Week Supply

2•megamike•27m ago•0 comments

The Biggest Thing We've Lost Since the Early Internet [video]

https://www.youtube.com/watch?v=3CAcB-ORBOE
1•pierres7•28m ago•0 comments

Flock surveillance cameras can pose a crash risk for drivers, US experts say

https://www.theguardian.com/us-news/2026/jul/30/controversial-flock-ai-surveillance-camera-risk
2•pseudolus•28m ago•0 comments

Show HN: Great Spectations, the Spec Checker

https://greatspectations.org
1•RustyRussell•29m ago•0 comments

Anthropic Says Its A.I. Systems Broke into Computers at 3 Organizations

https://www.nytimes.com/2026/07/30/technology/anthropic-ai-hack.html
4•ajax33•32m ago•0 comments

'Lasting peace': Hamas, Trump announce 'complete disarmament'

https://www.theaustralian.com.au/world/hamas-agrees-complete-disarmament-announces-trump/news-sto...
1•asdefghyk•33m ago•4 comments

YC Startup Guaranteed Job Interviews for People Getting Company Logo Tattoo

https://www.wsj.com/lifestyle/careers/the-ai-startup-that-guaranteed-job-interviews-for-people-ge...
5•fortran77•42m ago•3 comments

Reimagine the World with Nano Banana in Google Earth

https://blog.google/products-and-platforms/products/earth/nano-banana-google-earth-image-generation/
3•soheilpro•45m ago•0 comments

Show HN: Real Estate Agent Email List – 1.1M+ US Realtor Contacts

https://www.usagentleads.com
1•qwikhost•46m ago•0 comments

How the HSA Became the Top%'s Wealth-Building Loophole

https://insurancedimes.com/2026/07/27/how-the-hsa-became-the-top-1-percents-ultimate-wealth-build...
2•crookedroad44•47m ago•2 comments

LinkedIn adds a 'seems like AI slop' button

https://www.theverge.com/ai-artificial-intelligence/973384/linkedin-seems-like-ai-slop-button
3•cwnyth•47m ago•0 comments

Refinement types for Rust

https://github.com/flux-rs/flux/
1•AsyncBanana•48m ago•0 comments

What did the Romans ever do for Christianity?

https://www.economist.com/culture/2026/07/23/what-did-the-romans-ever-do-for-christianity
2•andsoitis•54m ago•0 comments

Can LLMs have an "accent" like second language speakers?

1•hmokiguess•55m ago•0 comments

Agentic AI at Two Different Scales: Nanbeige4.2-3B and Laguna S2.1

https://kaitchup.substack.com/p/agentic-ai-at-two-different-scales
1•gmays•55m ago•0 comments

America's startup boom offers hope for the future of work

https://www.economist.com/leaders/2026/07/30/americas-startup-boom-offers-hope-for-the-future-of-...
3•andsoitis•55m ago•0 comments

MAME 0.289

https://www.mamedev.org/?p=565
4•chungy•1h ago•0 comments

Anthropic says Claude hacked three companies during tests

https://www.reuters.com/legal/litigation/anthropic-says-claude-ai-models-accessed-three-companies...
9•nerder92•1h ago•3 comments

DoC Announces LoIs With 7 Companies for $874M to Accelerate Semiconductor R&D

https://www.nist.gov/news-events/news/2026/07/department-commerce-announces-letters-intent-7-comp...
2•petethomas•1h ago•0 comments