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

Literary Museum Prize "400 Years of History"

https://www.mnhn.fr/fr/concours-litteraire-artistes
1•Eridanus2•34s ago•0 comments

An open-source firewall for the next LiteLLM attack

https://www.strix.ai/blog/firewall-announcement
1•iacgm•1m ago•0 comments

How we detect frontier model misalignment

https://openai.com/index/how-we-detect-frontier-model-misalignment/
1•giuliomagnifico•1m ago•0 comments

Survivor

1•NAMUGONASIARJI•2m ago•0 comments

GitHub Incident with Actions, Pages, and Webhooks

https://www.githubstatus.com/incidents/pwxsjgnvrk6b
7•damontal•5m ago•3 comments

Understanding Open-Ended Work from a Data Perspective

https://www.fig.inc/blog/understanding-open-ended-work-from-a-data-perspective/
1•joehabeebs•5m ago•0 comments

Show HN: Pollsight – a simple tool to aid ballot research

https://pollsight.napsty.com
1•gaieges•6m ago•0 comments

Show HN: Offense – Security tools for your agents

https://github.com/offense-research/offense
1•imranye•7m ago•0 comments

Truth, Bullshit and Reputation

https://blog.happyfellow.dev/truth-bullshit-and-reputation/
1•thehappyfellow•7m ago•0 comments

The Biggest Crypto Theft in History [video]

https://www.youtube.com/watch?v=m7hL3bVoUuQ
3•Bender•9m ago•0 comments

AI review of the research of Emmanuel Saez and Gabriel Zucman

https://saez-zucman-audit-replication.vercel.app/
1•sreeix•9m ago•0 comments

Trusted code is one bad update away from malware

https://photostructure.com/coding/malicious-editor-extensions/
1•mceachen•9m ago•0 comments

Altman says 'quite terrible' for your PCs to have RAM

https://www.tomshardware.com/tech-industry/data-centers/openai-ceo-says-its-quite-terrible-for-yo...
2•theanonymousone•10m ago•1 comments

Digital panopticon: 'When you work faster, you have to work even faster'

https://euobserver.com/245543/digital-panopticon-when-you-work-faster-you-have-to-work-even-faste...
1•robtherobber•11m ago•0 comments

MecAgent (AI agent for SolidWorks) scans drives for CAD files and uploads them

https://www.reddit.com/r/SolidWorks/comments/1xjhrvz/psa_mecagent_ai_agent_for_solidworks_scans_y...
3•ummonk•12m ago•0 comments

Sam Altman says the chip supply chain's invisible hand failing and DRAM is why

https://finance.biggo.com/news/c8f9be1b0cccfd2c
1•theanonymousone•12m ago•1 comments

Show HN: Newton Wars – Fight your friends and planetary gravity

https://newtonwars.wipgames.dev/
1•neuling•12m ago•1 comments

A Flutter game holds 60 FPS on a $100 Android phone

https://upsling.space/blog/60-fps-flutter-physics-on-a-100-dollar-phone/
1•bjornhoj•12m ago•0 comments

Show HN: Prompt – A New, Beautiful Terminal

https://github.com/paul-oms/prompt
4•albertgoeswoof•14m ago•1 comments

Alkaline batteries are obsolete – but not for the reason you'd think [video]

https://www.youtube.com/watch?v=I1rlK3BKmyA
1•tambourine_man•14m ago•0 comments

Claude subscription now usable in OpenCode (legit)

https://twitter.com/opencode/status/2116198602523513081
3•kandros•16m ago•0 comments

Singapore third-quarter layoffs at highest level since 2020

https://www.reuters.com/business/world-at-work/singapore-third-quarter-layoffs-highest-level-sinc...
2•frank_clover•17m ago•0 comments

Show HN: An easy-to-play, hard-to-complete card battler

https://cnaize.com/fawe-arena/en/
1•cnaize•18m ago•0 comments

Anthropic hacked to deliver remote access trojan to Claude developer laptops

https://doublepulsar.com/anthropic-hacked-to-deliver-remote-access-trojan-to-claude-developer-lap...
4•vrganj•19m ago•2 comments

Robert Caro – The master biographer reflects at 91

https://www.dwarkesh.com/p/robert-caro
2•swolpers•19m ago•0 comments

4 Real? Tracking exploitation and patching of eMudhra's weak keys

https://blog.cloudflare.com/emudhra-patching/
2•pure-orange•20m ago•0 comments

Muse wins a small claims case

https://twitter.com/philwinkle/status/2116180121447014434
2•CGMthrowaway•21m ago•0 comments

Alphabet Sheds Half a Trillion in Market Value in Stock's Worst Day

https://www.wsj.com/tech/ai/alphabet-sheds-half-a-trillion-in-market-value-in-stocks-worst-day-ev...
2•teachrdan•22m ago•1 comments

Libriak-C – A C11 Client for Riak KV with HTTP and Protocol Buffers

https://github.com/arthurtumanyan/libriak-c
1•arthurtumanyan•22m ago•0 comments

I miss the part of programming where I figure it out myself

https://medium.com/@behind-the-stack/ai-has-made-coding-boring-adb1826134b0
2•birdculture•23m ago•0 comments