概要
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.
主な機能
- 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.
ユースケース
- 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).