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

America Is Having MacBook Sticker Shock

https://www.theatlantic.com/technology/2026/07/apple-prices-macbook-memory-shortage/687781/
1•voxadam•6m ago•0 comments

Show HN: Autonomous Home Services Businesses

https://rainslice.ai
2•edgware674•7m ago•0 comments

Deep Agent Code Capabilities

https://docs.langchain.com/oss/python/deepagents/code/overview
1•kristianpaul•7m ago•0 comments

Startup sues Palo Alto Networks' Koi Security due to AI-hallucinated report

https://www.theregister.com/legal/2026/07/02/startup-sues-palo-alto-networks-koi-security-saying-...
2•dijksterhuis•7m ago•0 comments

GitHub is proud to announce that you can now obtain your public repo on CD-ROM

https://forms.cloud.microsoft/pages/responsepage.aspx?id=v4j5cvGGr0GRqy180BHbR6G-c11n8yFDlQmk4B-Q...
1•throwaway2027•9m ago•0 comments

An American Privacy Emergency

https://scottaaronson.blog/?p=9902
3•flowercalled•9m ago•0 comments

Fable 5's cyber safeguards and jailbreak framework

https://www.anthropic.com/news/fable-safeguards-jailbreak-framework
2•logickkk1•10m ago•0 comments

GLM-5.2: The Open-Source Chinese Model Challenging Claude at One-Fifth the Cost

https://mrkt30.com/glm-5-2-open-source-ai/
1•bmcdresson•14m ago•0 comments

Australians have more negative view of Israel than of China – Essential poll

https://www.theguardian.com/australia-news/2026/jul/03/australians-more-negative-view-of-israel-t...
1•aussieguy1234•14m ago•0 comments

Right to Local Intelligence

https://righttointelligence.org/
3•thoughtpeddler•16m ago•0 comments

Google must pay €4.1B fine for using Android to 'block' rivals

https://www.bbc.co.uk/news/articles/cvgj0pp5p62o
3•logickkk1•18m ago•0 comments

Hobbes – A Language and Embedded JIT Compiler

https://github.com/morganstanley/hobbes
1•ryan-ca•18m ago•0 comments

Using AI Agents with Databases

https://github.com/vaishcodescape/data-spear
1•vaishcodescape•18m ago•0 comments

Stealing 50 Years of Database Ideas for AI Agents

https://onewill.ai/blog/2026/stealing-50-years-of-database-ideas-for-ai-agents/
1•matt_d•20m ago•0 comments

Domino's Pizza parodies Sony's discontinuation of physical games

https://twitter.com/Dominos_UK/status/2072602429959340517
2•josephcsible•23m ago•0 comments

Building the T.LY iOS App

https://timleland.com/building-the-tly-ios-app/
1•TimLeland•24m ago•0 comments

Leverage Research 1.0

https://lydialaurenson.substack.com/p/the-inside-story-of-leverage-research
2•jxmorris12•25m ago•0 comments

Data Science Weekly – Issue 658

https://datascienceweekly.substack.com/p/data-science-weekly-issue-658
1•sebg•26m ago•0 comments

Amazon launches new $1B FDE org, following OpenAI and Anthropic

https://techcrunch.com/2026/06/30/amazon-launches-new-1-billion-fde-org-following-openai-and-anth...
2•mgh2•27m ago•0 comments

Microsoft’s answer to the end of PlayStation discs: a bizarre GitHub stunt

https://www.theverge.com/tech/961177/microsofts-answer-to-the-end-of-playstation-discs-a-bizarre-...
1•modinfo•28m ago•0 comments

Ukraine has struck a key semiconductor facility in Voronezh [video][7 mins]

https://www.youtube.com/watch?v=jL0ei7E44Ls
1•Bender•28m ago•0 comments

Learning to Replicate Expert Judgment in Financial Tasks

https://thinkingmachines.ai/news/learning-to-replicate-expert-judgment-in-financial-tasks/
1•Anon84•30m ago•0 comments

Meta launches vibe-coded gaming app Pocket

https://techcrunch.com/2026/07/02/meta-quietly-launches-vibe-coded-gaming-app-pocket/
2•bushwart•31m ago•0 comments

Small Molecules Have More Information per Atom Than Biologics

https://corinwagen.github.io/public/blog/20260701_information_content.html
1•sebg•35m ago•0 comments

Linux kernel developers discuss dropping AI attribution tags

https://www.phoronix.com/news/Linux-AI-Attribution-Again
1•logickkk1•36m ago•0 comments

How Statisticians Split a Bill

https://dmvaldman.github.io/tablestakes/
1•dmvaldman•36m ago•0 comments

Ask HN: How to host my website for cheap?

2•kapitanjakc•43m ago•7 comments

OCaml 5.5 Released

https://discuss.ocaml.org/t/ocaml-5-5-0-released/18265
2•lambda_foo•43m ago•0 comments

Empirical Computation: Prompting versus Programming [pdf]

https://mboehme.github.io/paper/ASE26-empirical.pdf
1•matt_d•45m ago•0 comments

Top 'Suicide Squad' Developers Say Flop Made Them Not Want to Make Games Anymore

https://www.bloomberg.com/news/newsletters/2026-07-02/top-suicide-squad-developers-say-flop-made-...
1•healsdata•49m ago•0 comments