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

Cache Merging as a Convergent Replicated State for Multi-Agent Latent Reasoning

https://arxiv.org/abs/2607.01308
1•CarlosBaquero•12s ago•0 comments

BitTorrent Explained: Deep Dive into Peer-to-Peer Sharing, Security, and Usage

https://www.ikkaro.net/what-is-bittorrent/
2•Gedxx•3m ago•0 comments

Smooth AI criminal drives 'first' end-to-end agentic ransomware attack

https://www.theregister.com/security/2026/07/02/smooth-ai-criminal-drives-first-end-to-end-agenti...
2•smurda•3m ago•0 comments

Margin – Turn YouTube videos into structured notes in your Google Drive

https://margin.bhairav.ai
1•chandanjha_dev•4m ago•0 comments

You'll miss the soul when it's gone

https://bell.bz/youll-miss-the-soul-when-its-gone/
1•coinfused•5m ago•0 comments

NASA chief praises progress Blue Origin is making after launch failure

https://arstechnica.com/space/2026/07/nasa-chief-praises-progress-blue-origin-is-making-after-lau...
1•rbanffy•5m ago•0 comments

Show HN: Humbug: GUI-based agentic dev platform built with only 3 dependencies

https://github.com/m6r-ai/humbug
1•tritondev•6m ago•0 comments

Zynkbot – Open-source local AI with transparent memory (Rust)

https://github.com/MSkill1/zynkbot
1•MSkill1•6m ago•0 comments

Show HN: Local-first NetOps agent with guardrailed execution and low token cost

https://zalous.com/
1•leyopoker•7m ago•0 comments

Can AI Make Scientific Breakthroughs?

https://blog.cosmos-institute.org/p/can-ai-make-scientific-breakthroughs
1•alexicon_•7m ago•0 comments

The first Windows application of its kind in the world

https://sites.google.com/view/adbuster-winapp
1•Bo_Amigo_910•9m ago•1 comments

NetNut cracked as Google and FBI target 2M-device botnet

https://www.theregister.com/security/2026/07/03/netnut-cracked-as-google-and-fbi-target-2-million...
1•nadermx•9m ago•0 comments

Mathematicians are developing rules for AI use

https://www.nature.com/articles/d41586-026-01881-2
1•Gedxx•10m ago•0 comments

RL Beyond the Verifiable

https://www.tanayj.com/p/rl-beyond-the-verifiable
2•gmays•16m ago•0 comments

Strategic Petroleum Reserve (SPR) Storage Sites

https://www.energy.gov/hgeo/opr/spr-storage-sites
2•thunderbong•16m ago•0 comments

Mac Malware found spreading through sponsored ad on X

https://9to5mac.com/2026/07/02/malware-found-spreading-through-sponsored-ads-on-x/
3•rvz•17m ago•0 comments

The cancer Alzheimer's disease paradox

https://www.nature.com/articles/s41514-026-00442-1
1•Michelangelo11•18m ago•0 comments

The future of gaming shouldn't come at the expense of ownership

https://www.eurogamer.net/gog-playstation-discs-game-ownership
1•HelloUsername•18m ago•0 comments

Official shutdown of Droitwich transmitter on LW – 30 June 2026 [video]

https://www.youtube.com/watch?v=37by40BciK4
1•austinallegro•19m ago•0 comments

Ethics of Taste (1875)

https://www.jstor.org/stable/20568781
1•barkhargrove•20m ago•0 comments

Runtime Fisher Spectral Sensitivity for Early Hallucination Detection

https://zenodo.org/records/21133067
1•adamzwasserman•21m ago•0 comments

Microsoft commits $2.5B and 6k employees to new AI implementation unit

https://www.cnbc.com/2026/07/02/microsoft-commits-2point5-billion-6000-employees-ai-implementatio...
2•bookofjoe•23m ago•1 comments

NASA inspector general suggests Boeing's Starliner will now be a decade late

https://arstechnica.com/space/2026/07/nasa-inspector-general-suggests-boeings-starliner-will-now-...
1•rbanffy•23m ago•0 comments

Teaching High Valyrian to my server monitoring agent

https://akashrajpurohit.com/blog/i-built-a-watchman-for-my-servers/
1•ghostfoxgod•23m ago•0 comments

The War for Sociology

https://www.chronicle.com/article/the-war-for-sociology
1•Michelangelo11•23m ago•0 comments

Trispe: Building an AI Prediction Exchange Without Human Traders

https://trispe.com/
1•chainbuilder•24m ago•0 comments

CB Mania

https://cinemasojourns.com/2026/07/03/cb-mania/
2•jjgreen•24m ago•0 comments

Learning Multi-Agent Coordination via Sheaf-ADMM

https://pub.sakana.ai/sheaf-admm/
1•hardmaru•29m ago•0 comments

Abartleby: Automate the US Visa Bureaucracy

https://tangled.org/breezykermo.tngl.sh/abartleby
2•nerdypepper•30m ago•0 comments

PEP 836 – JIT Go Brrr: The Path to a Supported JIT Compiler for CPython

https://peps.python.org/pep-0836/
1•connorbrinton•32m ago•0 comments