{"repo":"seuros/mcp_rails_template","free":true,"listed":false,"github":"https://github.com/seuros/mcp_rails_template","clone":"git clone https://github.com/seuros/mcp_rails_template.git","description":"A minimal Rails API template for creating MCP (Model Context Protocol) servers with robust tool execution capabilities and examples.","language":"Ruby","stars":42,"topics":["agents","claude","mcp-server","rails-api"],"license":null,"category":"mcp-servers","readme_excerpt":"Action MCP Example 🚀 A simple Ruby on Rails application demonstrating how to integrate and use the ActionMCP gem. The gem source code can be found on GitHub at https://github.com/seuros/mcp. This application showcases how to define and use MCP components within a Rails project. --- Requirements - Ruby (see .ruby-version for recommended version) - PostgreSQL (or Docker) --- Getting Started 1. Clone and Setup 2. Environment Configuration Copy the provided .env.example file: Edit .env and fill in necessary values according to your setup (especially any required API keys for tools like fetch weather by location tool ). 3. Database Setup You can quickly spin up a temporary PostgreSQL instance using Docker: This will start PostgreSQL on port 5466 . Alternatively, configure your own PostgreSQL database by editing config/database.yml . 4. Run the Application Launch the Rails server: The app will be available at http://localhost:3002. --- ActionMCP Server ActionMCP runs as a standalone server on port 62770 (via mcp.ru ). Nginx proxies /mcp requests to this server. --- Authentication This application uses JWT-based authentication via the ApplicationGateway class. Test Users (from fixtures) Email Password Role ------- ---------- ------ test@example.com password123 Test User admin@example.com password123 Admin User Loading Fixtures Generating a JWT Token MCP Client Configuration A .mcp.json file is provided with a pre-configured long-lived token: Or test manually with curl: Gateway Conf","default_branch":null,"files":null,"tree":[],"storefront":"/r/seuros","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/seuros/mcp_rails_template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}