chaserx/cpc/mcp-tools-guide
Claude Code and agent skill by chaserx/cpc
- community
Checking that the SKILL.md file is still in the repository.
Use when needing to analyze a Rails codebase programmatically — inspecting models, schemas, routes, or controllers. Also applies when looking up library documentation or tracing method definitions across files. Covers Rails MCP Server tools, Context7 documentation queries, and Ruby LSP code intelligence.
Install
npx vskill@latest install chaserx/cpc/mcp-tools-guideSKILL.md
The same SKILL.md was published earlier as carakan/dotfiles/mcp-tools-guide.
MCP Tools Guide for Rails Development
Three MCP servers are available for Rails development. Use them to analyze codebases faster and more accurately than reading files manually.
Rails MCP Server
The primary tool for Rails codebase analysis.
Tool Discovery
Returns available analyzers organized by category:
- models — Model analysis, associations, validations
- database — Schema, migrations, indexes
- routing — Route analysis and listing
- controllers — Controller structure, actions, filters
- files — File listing and reading
- project — Project-wide analysis
- guides — Rails guides and documentation
Execute Analyzers
| Tool | Purpose | Example Params | |
|---|---|---|---|
analyze_models | Model associations, validations, scopes | { model_name: "User" } (optional) | |
get_schema | Database schema and indexes | {} | |
get_routes | Application routing table | {} | |
analyze_controller | Controller actions and filters | { controller_name: "UsersController" } | |
list_files | Find files by pattern | { pattern: "app/models/**/*.rb" } | |
get_file | Read a specific file | { path: "app/models/user.rb" } |
Ruby Execution
Read-only Ruby execution for custom analysis. Common queries:
Context7 MCP Server
Retrieves up-to-date documentation and code examples for any library.
Workflow
- Resolve library ID first:
``text mcp__plugin_context7_context7__resolve-library-id( libraryName: "rails", query: "your question" ) ``
- Query documentation:
``text mcp__plugin_context7_context7__query-docs( libraryId: "/rails/rails", query: "your question" ) ``
When to Use
- Verifying current Rails API behavior or method signatures
- Looking up gem documentation (Devise, Pundit, Sidekiq, etc.)
- Checking for deprecations in newer Rails versions
- Finding code examples for specific patterns
- Confirming configuration options and defaults
Common Library IDs
| Library | ID | |
|---|---|---|
| Rails | /rails/rails | |
| Ruby | /ruby/ruby | |
| Devise | /heartcombo/devise | |
| Pundit | /varvet/pundit | |
| RSpec | /rspec/rspec | |
| RSpec Rails | /rspec/rspec-rails |
For other gems, always call resolve-library-id first.
Ruby LSP
Language-aware intelligence for Ruby code. Tools use the mcp__ruby-lsp__ prefix.
Key Tools
Jump to the definition of a method, class, or module at a given position.
Find all usages of a symbol across the codebase.
Search for classes, modules, and methods by name across the workspace.
Other Capabilities
- Type checking — Infer and validate types at a given position
- Intelligent completions — Context-aware code suggestions
- Diagnostics — Identify issues in Ruby code
When to Use
- When Rails MCP tools don't provide enough detail about specific method implementations
- When tracing method calls across the codebase
- When investigating inheritance hierarchies or module mixins
- When locating all callers of a method before refactoring
Quick Reference
| Need | Tool | |
|---|---|---|
| Understand models/schema | Rails MCP: analyze_models, get_schema | |
| Check routes | Rails MCP: get_routes | |
| Analyze controllers | Rails MCP: analyze_controller | |
| Find files | Rails MCP: list_files | |
| Custom analysis | Rails MCP: execute_ruby | |
| Verify API docs | Context7: resolve-library-id + query-docs | |
| Navigate code | Ruby LSP: definition, references | |
| Find symbols | Ruby LSP: symbol |
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/rails-specialist/skills/mcp-tools-guide/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/chaserx/cpc/mcp-tools-guide)