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•7mo ago

Comments

NinjaGems•7mo 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

Contrast best practices between OS and enterprise

https://gist.github.com/bdfinst/496d06b057c44edae7fd88d906e78f67
1•gpi•10m ago•0 comments

OpenAI API user data exposed in Mixpanel security breach

https://www.dqindia.com/news/openai-api-user-data-exposed-in-mixpanel-security-breach-10816218
4•donsupreme•11m ago•0 comments

How to Fix a Typewriter and Your Life

https://www.nytimes.com/interactive/2025/11/20/us/typewriter-repair-seattle-bremerton.html
1•gmays•13m ago•0 comments

Show HN: Era – Open-source local sandbox for AI agents

https://github.com/BinSquare/ERA
1•gregTurri•16m ago•0 comments

The Temporal Uncanny Valley: On the Nature of AI Work

https://substack.com/inbox/post/180071478
1•mpesce•18m ago•1 comments

Fracking has transformed an Argentine town

https://www.bbc.com/news/articles/cewj1e1yk2vo
1•1659447091•20m ago•0 comments

Evaluating Uniform Memory Access Mode on AMD's Turin

https://chipsandcheese.com/p/evaluating-uniform-memory-access
1•zdw•22m ago•0 comments

PostgreSQL CDC library with snapshot – 50x less memory than Debezium

https://github.com/Trendyol/go-pq-cdc
1•erayarslan•23m ago•0 comments

The Thinking Game – Full documentary [video]

https://www.youtube.com/watch?v=d95J8yzvjbQ
1•vinhnx•23m ago•0 comments

Tell HN: Happy Thanksgiving

5•prodigycorp•24m ago•0 comments

Cuffing Season: A look at culture and science

https://www.bbc.com/future/article/20251124-cuffing-season-is-winter-the-season-for-romance
1•1659447091•26m ago•0 comments

Two National Guard members in critical condition after shooting near White House

https://www.bbc.com/news/articles/c3r7qpqddnro
3•colinprince•28m ago•0 comments

Z-Image Turbo Released – 6B Parameter Text to Image Model

https://huggingface.co/Tongyi-MAI/Z-Image-Turbo
1•rossriley•28m ago•0 comments

Jony Ive and Sam Altman say they have an AI hardware prototype

https://www.theverge.com/news/827607/openai-hardware-prototype-chatgpt-jony-ive-sam-altman
1•ent101•31m ago•0 comments

$96M AUD revamp of Bom website bombs out on launch

https://www.bbc.com/news/articles/c2k4dy15nqqo
4•sam-cop-vimes•39m ago•1 comments

The AI Industry's Scaling Obsession Is Headed for a Cliff

https://www.wired.com/story/the-ai-industrys-scaling-obsession-is-headed-for-a-cliff/
1•zerosizedweasle•39m ago•0 comments

Building Agents Is Hard, Meet Stripe for Agents

https://grupa.ai/api
1•balmdotai•43m ago•0 comments

What happens if you throw sand into a jet engine? [video]

https://www.youtube.com/watch?v=QtxVdC7pBQM
2•gmays•49m ago•0 comments

Music eases surgery and speeds recovery, study finds

https://www.bbc.com/news/articles/c231dv9zpz3o
2•1659447091•49m ago•0 comments

Show HN: Interactive Relative Rotation Graphs for 500 Stocks (Python/Plotly)

https://prasnna.github.io/market-intelligence.html
1•prasnna•54m ago•0 comments

Show HN: Floaty – a tiny macOS tool to pin any window always on top

https://www.floatytool.com/
2•fayecat910•56m ago•1 comments

Scientists Unearth 15-Meter Snake Fossil in India, as Large as a T. Rex

https://dailygalaxy.com/2025/11/scientists-unearth-15-meter-snake-fossil/
1•zdw•56m ago•0 comments

Wingsuit pilot gains altitude mid-flight using a foil wing

https://www.redbull.com/int-en/peter-salzmann-soaring-wingsuit-foil-wing-breakthrough
1•melenaboija•59m ago•0 comments

Three Directions in Design: Gerald Jay Sussman (2024) [video]

https://www.youtube.com/watch?v=Tdwr9tweTDE
1•swatson741•1h ago•0 comments

Chile's Route 7: One of the Last Great Road Trips

https://www.bbc.com/travel/article/20251006-chiles-carretera-austral-a-tough-lonely-drive-to-the-...
2•skx001•1h ago•0 comments

Coq: The World's Best Macro Assembler? [pdf] [2013]

https://nickbenton.name/coqasm.pdf
19•addaon•1h ago•12 comments

Generalized Worley Noise

https://ianthehenry.com/posts/generalized-worley-noise/
2•todsacerdoti•1h ago•0 comments

Indonesia's Jakarta now the world's largest city, Tokyo falls to third: UN

https://www.aljazeera.com/news/2025/11/26/indonesias-jakarta-now-the-worlds-largest-city-tokyo-fa...
2•thunderbong•1h ago•1 comments

From Frustration to Foundation: Story Behind Building ADirectory

https://www.indiehackers.com/post/from-frustration-to-foundation-the-indie-hacker-story-behind-bu...
1•abdurbd•1h ago•0 comments

LLMs can invent their own compression

https://www.rajan.sh/llm-compression
1•dsr12•1h ago•0 comments