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

HuggingBay

https://huggingbay.xyz/
1•satvikpendem•20s ago•0 comments

Wikipedia Banned Its Co-Founder Because Its Rules Mostly Work

http://www.techdirt.com/2026/07/06/wikipedia-banned-its-co-founder-because-its-rules-mostly-work-...
1•beardyw•2m ago•0 comments

Samsung Made More Profit Last Quarter Than the Last Two Years Combined

https://www.nytimes.com/2026/07/06/business/samsung-earnings-chips.html
1•iancmceachern•8m ago•0 comments

The Making of Claude Code

https://www.anthropic.com/features/making-of-claude-code
1•kanamekun•8m ago•0 comments

Storiesprout – Personalised bedtime stories for kids

https://storiesprout.com
1•stanleydupreez•19m ago•0 comments

The unsettling world of the 'TikTok Farlands'

https://www.bbc.com/future/article/20260618-the-terrifying-world-of-the-tiktok-farlands
1•1vuio0pswjnm7•19m ago•0 comments

Chinese proverb: If you want to be happy for an hour, take a nap

https://economictimes.indiatimes.com/news/international/us/chinese-proverb-of-the-day-if-you-want...
2•teleforce•20m ago•2 comments

Inference Optimization for MiMo v2.5: Pushing Hybrid SWA Efficiency to the Limit

https://mimo.xiaomi.com/blog/mimo-v2-5-inference
1•theanonymousone•21m ago•0 comments

Ask HN: If there would be millions of AI models in future

1•mzubairtahir•22m ago•0 comments

We Scaled PgBouncer to 4× Higher Throughput

https://clickhouse.com/blog/pgbouncer-clickhouse-managed-postgres
3•saisrirampur•25m ago•0 comments

Leave a failing test before you go on vacation

https://lukapeharda.com/article/leave-a-failing-test-before-you-go-on-vacation/
2•lukapeharda•29m ago•0 comments

The 'first' AI-run ransomware attack still needed a human

https://techcrunch.com/2026/07/06/the-first-ai-run-ransomware-attack-still-needed-a-human/
1•adithyaharish•30m ago•0 comments

I'm Building a Secure USB Drive That Hides Itself

https://rootkitlabs.com/2026/06/22/I%27m-Building-a-Secure-USB-Drive/
1•machinehum•41m ago•1 comments

200. milliseconds

https://200ms.thenodebook.com
4•thunderbong•44m ago•0 comments

Prompt Engineering Is Not Enough. Here Is How to Build Loop Engineering Instead

https://lightrains.com/blogs/prompt-engineering-to-loop-engineering/
1•niksmac•44m ago•1 comments

Selling to the Assistant

https://dmonn.com/selling-to-the-assistant/
1•dmonn•45m ago•0 comments

3D-Printed Micro Manipulator Can Achieve Accurate Sub-Micron Movement

https://www.hackster.io/news/this-3d-printed-micro-manipulator-can-achieve-accurate-sub-micron-mo...
1•robocat•46m ago•1 comments

How LLMs Work

https://arpitbhayani.me/blogs/how-llms-work/
1•aishwarydongre•47m ago•0 comments

I Built the Only 2026 WWII Jeep

https://www.theautopian.com/i-bet-my-company-on-an-impossible-jeep-build-then-a-miracle-happened/
3•martey•49m ago•1 comments

RAG

https://www.pinecone.io/learn/retrieval-augmented-generation/
1•kcxjbskxc•53m ago•0 comments

Show HN: Tune agents trained on public data to work better with your code

1•iamalizaidi•53m ago•0 comments

AI STS Stack for underserved languages paper

https://kamalg2.substack.com/p/choosing-a-real-time-voice-ai-stack
1•Internet_horse•55m ago•0 comments

What history tells us about the AI investment boom

https://www.fa-mag.com/news/what-history-tells-us-about-the-ai-investment-boom-87567.html
1•rwmj•56m ago•0 comments

Show HN: Build a Slack Agent

https://www.buildaslackagent.dev/
2•iacguy•57m ago•0 comments

Las Vegas Business Owner Sentenced to 15 Years for Tax Fraud Scheme (2009)

https://www.justice.gov/archive/usao/nv/news/2009/11162009.html
1•greyface-•59m ago•0 comments

Australian Insurance Brands – AI Search Ranks

https://somantra.ai/aeo-research/australia/insurance/may-2026
1•prasaar•1h ago•0 comments

Learning another language appears to slow brain ageing by up to 13 years

https://www.theguardian.com/education/2026/jul/06/learning-another-language-appears-to-slow-brain...
4•giuliomagnifico•1h ago•2 comments

Microsoft PhotoDNA flags users child sexual abusers on images containing a grid

https://twitter.com/tallcowyt/status/2073904860182008174
2•miohtama•1h ago•1 comments

The Art of Computer Programming by Donald E. Knuth

https://www-cs-faculty.stanford.edu/~knuth/taocp.html
4•archargelod•1h ago•0 comments

Every AI Company Needs a Context Graph. None of Them Need the Same One

https://hydradb.com/blog/ai-context-graph-ontology-infrastructure
2•manveerc•1h ago•0 comments