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

Flooding of ancient Salton Sea linked to San Andreas earthquakes

https://www.sciencecodex.com/flooding_of_ancient_salton_sea_linked_to_san_andreas_earthquakes
1•Noaidi•32s ago•0 comments

Show HN: A2G (Agent to Agent) Marketplace – Beta Test

https://www.a2gmarketplace.com
1•egbert87•37s ago•0 comments

2024 South Korean martial law crisis

https://en.wikipedia.org/wiki/2024_South_Korean_martial_law_crisis
1•consumer451•1m ago•0 comments

European wildfires expose, detonate buried bombs and mines from past wars

https://www.cbsnews.com/news/europe-wildfires-bombs-explosives-world-war-history/
1•littlexsparkee•2m ago•0 comments

A Masked Man Was Scaring Philadelphians. Then He Picked the Wrong Woman

https://www.nytimes.com/2026/08/20/us/chucky-doll-mask-kick-philadelphia.html
1•whack•3m ago•0 comments

The immortal 1984 Macintosh (restoration diary)

https://www.thebyteattic.com/2026/08/the-immortal-macintosh-restoration-diary.html
1•882542F3884314B•3m ago•0 comments

As Flock battles public scrutiny, other surveillance companies see an opening

https://text.npr.org/nx-s1-5931446
1•1659447091•5m ago•0 comments

What retailers are doing with tariff refunds

https://finance.yahoo.com/markets/article/tariff-refunds-are-hitting-retailers-wallets-heres-what...
1•BiraIgnacio•9m ago•0 comments

AI has failed to win people's trust. Its makers? less trusted

https://www.euronews.com/next/2026/08/20/ai-has-failed-to-win-peoples-trust-its-makers-even-less-...
4•billybuckwheat•10m ago•0 comments

View-Master Went from a Weapon Against Kodak to "Just a Toy" [video]

https://www.youtube.com/watch?v=FjekcXFb40E
1•fortran77•10m ago•0 comments

AI as a Co-Writer

https://strawberry9.github.io/the-wrong-memory/cover.html
1•VolatileRegiste•12m ago•0 comments

Why Lean is faster than Rust

https://kim-em.github.io/blog/2026-7-24-why-lean-is-faster-than-rust/
1•hectormalot•12m ago•0 comments

AgentCore Payments GA

https://aws.amazon.com/about-aws/whats-new/2026/08/bedrock-agentcore-payments-ga/
1•AnhTho_FR•15m ago•0 comments

Ask HN: What's the current best research/understanding of healthy weight loss?

2•simonebrunozzi•18m ago•1 comments

The Real AI Crash Will Start This Year

https://quoththeraven.substack.com/p/the-real-ai-crash-will-start-this
2•samizdis•19m ago•0 comments

Amid intense backlash, people are vandalizing Flock surveillance cameras

https://text.npr.org/nx-s1-5939851
1•mooreds•19m ago•0 comments

GoldenEye 007 native port after the N64 decompilation reached 100%

https://github.com/SegfaultEvan/goldeneye-native
2•segfaultevan•19m ago•2 comments

Shared-Nothing Architecture

https://en.wikipedia.org/wiki/Shared-nothing_architecture
1•doener•19m ago•0 comments

Software Design

https://misfra.me/2026/software-design/
1•preetamjinka•29m ago•0 comments

Eliminate GPU Waste by Cutting the Retry Tax

https://rahmipruitt.me/content/gpu-retry-tax/
1•rjpruitt16•32m ago•0 comments

There continue to be reasons for software to be slow

https://typesanitizer.com/blog/performance-issues.html
1•birdculture•32m ago•0 comments

Show HN: MacAIApps – a directory of AI-powered Mac apps

https://www.macaiapps.com/
1•sujee•34m ago•0 comments

ChatGPT

https://openai.com/index/chatgpt/
1•websiteapi•36m ago•0 comments

Trix: Embeddable stack-based scripting VM with cooperative concurrency

https://github.com/mcguidarelli/trix
1•oxryly1•37m ago•1 comments

iPhone 18 Pro Could Get a Signature New Color – Here's What the Latest Leaks Sug

https://moztako.me/iphone-18-pro-colors-dark-cherry/
1•cecyev•42m ago•0 comments

Will farm animals always suffer?

https://worksinprogress.co/issue/will-farm-animals-always-suffer/
1•mooreds•42m ago•0 comments

Ben Sasse on Faith, Family, and Facing Death [audio]

https://www.econtalk.org/ben-sasse-on-faith-family-and-facing-death/
1•mooreds•43m ago•0 comments

Tiny drones are powered by sound

https://actu.epfl.ch/news/these-tiny-drones-are-powered-by-sound-2/
1•simonebrunozzi•48m ago•0 comments

Jane Street took $15B hit in July tied to Situational Awareness

https://www.reuters.com/business/finance/jane-street-took-15-billion-hit-july-tied-situational-aw...
3•paulpauper•49m ago•1 comments

A mother has spent years caring for her special-needs child

https://www.washingtonpost.com/health/2026/08/16/she-spent-years-caring-her-child-with-disabiliti...
2•paulpauper•50m ago•0 comments