frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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

Granite Switch: Building AI more like software

https://research.ibm.com/blog/granite-libraries-project-switch
1•yangikan•44s ago•0 comments

Bonsai Browser: Reader-mode for every page, powered by a local LLM, Nothing Else

https://drive.google.com/drive/folders/1qDYvycW4Ki0gAppMGhvSixUCioIRXcmN
1•coolwulf•49s ago•0 comments

Show HN: OWASP VulnerableApp: Break It.Scan It.Benchmark Against It.Improve It

https://github.com/SasanLabs/VulnerableApp
1•newaccount12344•1m ago•0 comments

The Anatomy of a Learning Stall

https://tagide.com/blog/llm/the-anatomy-of-a-learning-stall/
1•azhenley•1m ago•0 comments

Siddhartha (1922): Competence Porn – before it was cool

https://acxreviews.robennals.org/reviews/siddhartha-1922-by-hermann-hesse
1•Gooblebrai•1m ago•0 comments

The Man Whose Job Is Making Sure We Don't Have Blackouts This Summer

https://www.wsj.com/business/blackouts-electricity-data-centers-david-mills-pjm-d1c499fe
1•impish9208•2m ago•1 comments

I Just watched "We just launched Paxel" by narrated by Garry Tan [video]

https://www.youtube.com/shorts/ywS7Ytkx3A0
1•mockingloris•3m ago•1 comments

Do I Need to Learn the Domain? Do I Want To?

https://ianmcnaughton.net/blog/do-i-need-to-learn-the-domain/
1•wc_nomad•3m ago•0 comments

I am getting sick and tired of our AI oligarchs

https://news.ycombinator.com/from?site=eversoleken.substack.com
1•kennethops•5m ago•1 comments

The Legacy of Spam

https://siderite.dev/blog/legacy-of-spam
1•speckx•5m ago•0 comments

China builds an economic fortress as global tensions rise

https://www.nytimes.com/2026/06/05/business/china-investment-rules.html
1•leonidasrup•5m ago•0 comments

Lateos/NPM-scan v1.2.0: Detecting Native Addon Malware (node-gyp Abuse)

https://github.com/lateos-ai/npm-scan/blob/main/VALIDATION.md
1•lateos-ai•6m ago•1 comments

Show HN: I rebuilt a tiny old volleyball game I loved

https://volleyhop.com/
1•cebceb•8m ago•0 comments

Reason Behind a Startup's Success

https://orchidfiles.com/reason-behind-startups-success/
1•theorchid•9m ago•0 comments

RemotePower – self-hosted remote power management

https://github.com/tyxak/remotepower
1•stenit•11m ago•0 comments

What Is an Agent?

https://tidydesign.substack.com/p/what-is-an-agent
1•yurivish•13m ago•0 comments

Google to pay SpaceX $920M a month for compute capacity at xAI data centers

https://www.cnbc.com/2026/06/05/google-to-pay-spacex-920-million-a-month-for-xai-compute-capacity...
8•toephu2•13m ago•0 comments

Partitions over Permutations

https://www.johndcook.com/blog/2026/06/04/partitions-over-permutations/
1•ibobev•14m ago•0 comments

Chatting via Meshtastic in Emacs

https://en.andros.dev/blog/1a6f3018/chatting-via-meshtastic-in-emacs/
1•ibobev•15m ago•0 comments

Constants and pure functions in Python: how to do it right

https://en.andros.dev/blog/5afd804f/constants-and-pure-functions-in-python-how-to-do-it-right/
1•ibobev•15m ago•0 comments

Gullible Bots Gobbling Slop

https://old.reddit.com/r/PoisonFountain/comments/1tx2vlo/gullible_bots_gobbling_slop/
2•busymom0•16m ago•0 comments

AI's Wrong Answers Are Bad. Its Wrong Reasoning Is Worse

https://www.msn.com/en-us/news/technology/ai-s-wrong-answers-are-bad-its-wrong-reasoning-is-worse...
3•galaxyLogic•17m ago•0 comments

Writing vs. Shipping: Productivity Effects Across Generations of AI Coding Tools

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6843118
2•b-man•18m ago•0 comments

Netty VirtualThread Scheduler

https://github.com/franz1981/Netty-VirtualThread-Scheduler
1•mfiguiere•19m ago•0 comments

Phoenix Code Now with AI (Via Claude)

https://phcode.io/pricing.html
1•janandonly•20m ago•0 comments

Show HN: A backwards dough fermentation scheduler

https://impastopizza.app/
1•Floppyrom•21m ago•1 comments

What Dogs See That We Can't

https://www.theatlantic.com/newsletters/2026/06/what-i-learned-from-my-dog/687437/
3•paulpauper•21m ago•0 comments

Defeated! Picking Works by Design's Unpickable Lock [video]

https://www.youtube.com/watch?v=rMi1dIqMwNw
1•austinallegro•21m ago•1 comments

Killing Lake Powell Won't Save the Colorado River

https://www.bloomberg.com/opinion/articles/2026-06-05/killing-lake-powell-won-t-save-the-colorado...
1•littlexsparkee•22m ago•0 comments

Trump to meet AI leaders to discuss US investment in their companies

https://www.bbc.com/news/articles/c98r8r7dz5no
4•artninja1988•23m ago•1 comments