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

An architectural blueprint to excise MS-DOS device debt (CON, NUL) from Windows

https://feedbackportal.microsoft.com/feedback/idea/dca14930-b767-f111-9b47-6045bdbd0989
1•breakthematrix•1m ago•0 comments

New Brunswick woman sues OpenAI, alleging ChatGPT led to daughter's death

https://www.cbc.ca/news/canada/new-brunswick/sue-open-ai-suicide-chat-gpt-9.7234630
1•uladzislau•10m ago•0 comments

Don't trust large context windows

https://garrit.xyz/posts/2026-05-06-dont-trust-large-context-windows
2•computersuck•11m ago•1 comments

China Is Propping Up the World Economy by Importing Less Oil

https://www.wsj.com/business/energy-oil/china-is-propping-up-the-world-economy-by-importing-a-lot...
3•PankajGhosh•20m ago•0 comments

Introduction to (Multimodal) LLM-as-a-Judge

https://yinghonglan.substack.com/p/introduction-to-multimodal-llm-as
2•rented_mule•21m ago•0 comments

Mining And refining: uranium and plutonium (2024)

https://hackaday.com/2024/04/24/mining-and-refining-uranium-and-plutonium/
1•leonidasrup•25m ago•0 comments

How an astrophysicist uses Codex to help simulate black holes

https://openai.com/index/using-codex-to-simulate-black-holes/
1•gmays•32m ago•0 comments

AI: Surgeon's Assistant or Commodity on a Meter?

https://replicated.wiki/blog/stream.html
1•gritzko•32m ago•0 comments

Show HN: Hanzi Popup – Chinese Language Reader for iOS

https://krmanik.github.io/hanzipopupapp/
1•krmani•37m ago•0 comments

Effective Note Taking

https://isgin01.github.io/posts/effective-note-taking/
1•pullshark91•42m ago•0 comments

SchemaFlow: Agentic Database Change Impact Analysis, SQL Gen and Eval Guardrails

https://developers.openai.com/cookbook/examples/partners/schemaflow_design_guide/schemaflow_cookbook
2•gmays•43m ago•0 comments

Making FlashAttention-4 faster for inference

https://modal.com/blog/flash-attention-4-faster
2•birdculture•43m ago•0 comments

A Missing Woman from Germany Reappears in the Epstein Files

https://www.spiegel.de/international/world/the-mystery-of-michele-a-missing-woman-from-germany-re...
3•doener•51m ago•0 comments

Consciousness likely not unique to earthlings, paper says

https://news.ucr.edu/articles/2026/06/10/consciousness-likely-not-unique-earthlings-paper-says
1•giuliomagnifico•51m ago•0 comments

As Donald Trump turns 80, he faces a foe he can never defeat: Father Time

https://www.theguardian.com/news/ng-interactive/2026/jun/14/donald-trump-turns-80-faces-foe-fathe...
3•hebelehubele•53m ago•1 comments

An O(x)Caml book that runs

https://kcsrk.info/ocaml/oxcaml/teaching/nptel/llm/2026/06/13/an-oxcaml-book-that-runs/
1•matt_d•53m ago•0 comments

Tribblix: The retro Illumos distribution

http://tribblix.org/
13•naturalmovement•55m ago•3 comments

How (and Why) SpaceX Will Colonize Mars

https://waitbutwhy.com/2015/08/how-and-why-spacex-will-colonize-mars.html
2•kunalsin9h•1h ago•1 comments

Digg Reborn

https://digg.com/tech
2•gurjeet•1h ago•0 comments

Story of How Im Running an Unlimited $6/Month AI Provider on 4x RTX 3090s

2•yolo-auto•1h ago•0 comments

World Models and the Emergence of a "First-Person" Perspective in an AI [video]

https://www.youtube.com/watch?v=2nQSoiC5VHs
1•mojuba•1h ago•0 comments

Frontier AI companies will never exceed the capability frontier again

https://andrewtrask.substack.com/p/breaking-todays-frontier-ai-companies
2•williamtrask•1h ago•0 comments

OpenAI hit with multistate probe into possible user harm as its IPO looms

https://www.yahoo.com/news/politics/articles/openai-hit-multistate-probe-possible-191744135.html
2•1vuio0pswjnm7•1h ago•0 comments

AP Transit – A lightweight 3D real-time NYC subway and PATH map

https://aptransit.co/
1•UnitedOfTransit•1h ago•0 comments

Git merges can be better

https://brandondong.github.io/blog/git_merges_can_be_better/
2•brandon_bot•1h ago•0 comments

New Documents Detail Nine-Figure, Silicon Valley–Funded "Abundance Movement"

https://prospect.org/2026/06/12/new-documents-detail-nine-figure-silicon-valley-funded-abundance-...
2•slater•1h ago•0 comments

Extinction-Level Capitalism

https://matthewbutterick.com/extinction-level-capitalism.html
4•csbartus•1h ago•0 comments

Phoenix LiveView 1.2 Released

https://phoenixframework.org/blog/phoenix-liveview-1-2-released
2•ksec•1h ago•0 comments

Show HN: Motplot is a crossword but it plays like Sudoku

https://motplot.app/
3•jamwise•1h ago•1 comments

Quick: An internal hosting platform for the AI era

https://shopify.engineering/quick
2•ksec•1h ago•0 comments