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

Cognition Is Acquiring Poke

https://twitter.com/cognition/status/2080311229256540194
1•tosh•2m ago•0 comments

A 99-year-old mathematician unraveled a century-old braid mystery

https://www.scientificamerican.com/article/how-a-99-year-old-mathematician-unraveled-a-century-ol...
1•Anon84•2m ago•1 comments

Una Watch: Garmin watch competitor but repairable, open ecosystem and USB-C

https://unawatch.com/
1•pimterry•2m ago•0 comments

I'd not buy a LG monitor

https://beko.famkos.net/2026/07/27/id-not-buy-a-lg-monitor/
2•speckx•4m ago•0 comments

What to Know About Americans Leaving the U.S. in Record Numbers

https://www.wsj.com/us-news/what-to-know-americans-leaving-the-us-ff296092
1•Anon84•4m ago•0 comments

Universal Gravitational Constant Gets a 10-Year Recheck

https://spectrum.ieee.org/universal-gravitational-constant-nist-schlamminger
1•rbanffy•5m ago•0 comments

The five primitives I run a one-person company on

https://methezone.github.io/solo-operator-playbook/five-primitives.html
2•solo_operator•6m ago•0 comments

Guides to help you learn more about Ruby

https://www.rubyforum.org/t/guides-to-help-you-learn-more-about-ruby/572https://www.rubyforum.org...
2•jvrc•7m ago•0 comments

Coding too fast to collaborate

https://chrisloy.dev/post/2026/07/19/coding-too-fast-to-collaborate
1•chrisloy•8m ago•0 comments

Ballpark – a daily game that measures how overconfident you are

https://tfalgiano.github.io/ballpark/
1•tfalgiano•8m ago•0 comments

Astrallist – Extracts Recipes from Food YouTube Videos

https://www.astrallist.com/
4•kushthedevn•8m ago•3 comments

Is Mythos good at cyber bec it kept hacking Anthropic during training?

https://www.lesswrong.com/posts/QKDoZe6EKhxnFjLWK/is-mythos-good-at-cyber-because-it-kept-hacking...
1•FergusArgyll•9m ago•1 comments

Trump may need to allow CN minerals as US industry struggles to hit '27 deadline

https://www.reuters.com/legal/government/trump-may-need-allow-chinese-minerals-us-industry-strugg...
1•littlexsparkee•10m ago•0 comments

Exp_q(x) keeps every qth term in the power series for exp(x)

https://www.johndcook.com/blog/2026/07/26/exp-q/
1•ibobev•12m ago•0 comments

Permutation Roots

https://www.johndcook.com/blog/2026/07/26/permutation-roots/
1•ibobev•12m ago•0 comments

Show HN: JusTTY – a minimal native macOS terminal powered by libghostty

https://github.com/0x96f/justty
1•0x96f•12m ago•0 comments

Printing floating point numbers in binary

https://www.johndcook.com/blog/2026/07/27/float-binary/
1•ibobev•12m ago•0 comments

Hybrid Comeback Powers Extended Range Electric Vehicles

https://spectrum.ieee.org/extended-range-electric-vehicles
1•rbanffy•13m ago•0 comments

You Aren't Going to Like What Comes After America

https://www.nytimes.com/2026/07/28/opinion/canada-trump-tariffs-south-park.html
1•bwood•13m ago•1 comments

Show HN: The Posting Substack API

https://apisubstack.com/
1•bigmuzzy•14m ago•0 comments

The Apocaloptimist's Dilemma and Song

https://theinterconnecteduniverse.substack.com/p/the-apocaloptimists-dilemma-song
1•nigeljohnfarmer•15m ago•0 comments

Person Opposing Data Center Arrested for Clapping at City Meeting

https://www.404media.co/person-opposing-data-center-arrested-for-clapping-at-city-meeting/
3•Brajeshwar•16m ago•1 comments

Show HN: Reply Better AI – browser AI writing that runs on-device or your Ollama

https://chromewebstore.google.com/detail/reply-better-ai/dpdibbijcljdjnafjnmaljphpkfojlkb
1•wpdevant•16m ago•0 comments

Show HN: Country Draw – draw country borders from memory

https://countrydraw.net
1•alanzhan•17m ago•0 comments

Show HN: Git log for your infrastructure (including your AI agent's config)

https://github.com/statedrift/statedrift
2•ibukunolu•17m ago•0 comments

Show HN: Comber explores your app once, then replays QA checks deterministically

https://codecomber.io
1•RADLAB•18m ago•0 comments

Europe's Ultra-Rich Could Fund a Substantial Part of the EU's Budget

https://www.socialeurope.eu/europes-ultra-rich-could-fund-a-substantial-part-of-the-eus-budget
3•robtherobber•19m ago•0 comments

Hugging Face rebuilt a third of its infrastructure after OpenAI agents ran amok

https://www.theregister.com/ai-and-ml/2026/07/28/openais-agent-siege-forced-significant-rebuild-a...
2•joebuckwilliams•19m ago•0 comments

CachyOS Outperforming Windows 11, Slight Advantage over Ubuntu and Fedora

https://www.phoronix.com/review/amd-hx470-windows-linux
3•speckx•20m ago•1 comments

Show HN: Haserupt – A different take on reducing phone usage

https://www.haserupt.com
2•vishalds•20m ago•0 comments