What are the runtime requirements?
Ruby (see `.ruby-version`) and PostgreSQL (or Docker for a temporary instance). The ActionMCP gem is sourced from [https://github.com/seuros/mcp](https://github.com/seuros/mcp).
@seuros
基本信息
A minimal Rails API template for creating MCP (Model Context Protocol) servers with robust tool execution capabilities and examples.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp_rails_template": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"--url",
"http://localhost:8080/mcp"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。
A simple Ruby on Rails application demonstrating how to integrate and use the ActionMCP gem. It is intended for developers who want to see how to define MCP components (prompts, resource templates, tools) within a Rails project.
Clone the repository, run bin/setup, copy .env.example to .env and fill in required values (e.g., API keys). Set up PostgreSQL (e.g., via make up for Docker on port 5466), then start the Rails server with bin/rails s. The ActionMCP server runs on port 62770, proxied by Nginx at /mcp. You can test interactively using the MCP Inspector: npx @modelcontextprotocol/inspector --url http://localhost:8080/mcp.
gemfile://{environment})Ruby (see `.ruby-version`) and PostgreSQL (or Docker for a temporary instance). The ActionMCP gem is sourced from [https://github.com/seuros/mcp](https://github.com/seuros/mcp).
JWT tokens are used. Test users (e.g., `test@example.com` / `password123`) are loaded from fixtures. Tokens can be generated in the Rails console. A pre‑configured `.mcp.json` file with a long‑lived token is provided.
The ActionMCP server runs as a standalone server on port `62770` (via `mcp.ru`). Nginx proxies `/mcp` requests to this server.
**Prompts**: `epic_adventure_prompt.rb`. **Resource Templates**: `gemfile_template.rb`. **Tools**: `dependency_info_tool.rb`, `fetch_weather_by_location_tool.rb`, `rubocop_tool.rb`, `ruby_code_analyzer_tool.rb`.
Use the MCP Inspector: `npx @modelcontextprotocol/inspector --url http://localhost:8080/mcp`. Make sure Docker is running (`docker compose up`) before executing the inspector command.

Catch intent conflicts before code conflicts. The open-source coordination protocol for coding agents, built above Git.

MCP server for AI Agents — exposes Yocoolab feedback threads and design selections as tools
MCP server that lets Claude Code, Cursor or Codex ask you for API keys on a local page and write them to .env. The agent only ever sees key names.


Read and edit DB Planner database schemas (DBML/SQL), Mermaid diagrams and board layouts from any MCP client. 38 tools, OAuth sign-in, read and write as separate scopes enforced server-side.
评论