Rails Template icon

Rails Template

Createdseuros

Provides a minimal Rails API template for building Model Context Protocol (MCP) servers with tool execution capabilities.

About

This Rails API template provides a foundation for creating MCP servers, offering robust tool execution features and illustrative examples. It integrates the ActionMCP gem to define and utilize MCP components within a Rails project. Example components include prompts for generating narrative adventure stories, resource templates for accessing Gemfile dependencies, and tools for fetching weather data, analyzing Ruby code with RuboCop, and extracting project dependency information.

Key Features

  • Demonstrates integration with the ActionMCP gem.
  • Supports interactive testing with the MCP Inspector.
  • Provides tools for code analysis (RuboCop) and dependency management.
  • 23 GitHub stars
  • Includes example prompts, resource templates, and tools.
  • Offers a weather fetching tool using the Open-Meteo API.

Use Cases

  • Implementing tool-based interactions with language models.
  • Rapid prototyping of MCP server applications.
  • Creating custom tools for specific application needs (e.g., code analysis, data retrieval).
Craft Better Prompts with AnyPrompt