rails-ast-mcp-server

ganjooh/rails-ast-mcp-server

3.1

If you are the rightful owner of rails-ast-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Rails AST MCP Server is an intelligent server designed for Ruby on Rails projects, offering advanced code parsing and analysis capabilities through AST-based parsing and a knowledge graph.

Tools

Functions exposed to the LLM to take actions

search_symbols

Search for symbols (classes, methods, modules) in your codebase.

get_snippet

Extract code snippets from files.

call_graph

Analyze call relationships between methods.

find_similar

Find code patterns similar to a given snippet.

find_tests

Find test files related to an implementation file.

reindex

Reindex the codebase.

db_tables

List all database tables from schema.rb.

db_table

Get detailed information about a database table including columns, indexes, and constraints.

db_table_relations

Get foreign key relationships for a table.

db_suggest_associations

Suggest Rails associations and validations based on database schema.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources