Skip to main content
Glama
juspay

FDEP MCP Server

by juspay

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_HOSTNoPostgreSQL database hostlocalhost
DB_NAMENoPostgreSQL database namecode_as_data
DB_PORTNoPostgreSQL database port5432
DB_USERNoPostgreSQL database userpostgres
DEV_MODENoEnable development modefalse
FDEP_PATHYesPath to your FDEP output directory (required)
LOG_LEVELNoLogging level (e.g., INFO, DEBUG, WARNING)INFO
DB_PASSWORDNoPostgreSQL database passwordpostgres

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_modulesC

Get list of all modules in the database

get_function_detailsB

Get detailed information about a specific function

search_functionsB

Search for functions by name pattern

get_most_called_functionsC

Get the most frequently called functions

execute_queryC

Execute a basic SQL query on the code database

get_module_detailsC

Get detailed information about a specific module including function counts and statistics

get_functions_by_moduleB

Get all functions defined in a specific module

search_modulesC

Search for modules by name pattern

get_module_dependenciesC

Analyze module dependencies and imports

get_function_call_graphB

Get function call hierarchy showing what functions this function calls and what calls it

get_function_callersB

Get all functions that call a specific function

get_function_calleesC

Get all functions called by a specific function

execute_advanced_queryC

Execute complex JSON-based queries with joins and advanced conditions

find_cross_module_callsC

Find function calls that cross module boundaries

analyze_function_complexityC

Analyze function complexity metrics including call count and signature complexity

get_code_statisticsC

Get comprehensive statistics about the codebase

list_typesC

Get types by module or pattern with support for different type categories

get_type_detailsC

Get detailed information about a specific type including constructors and fields

search_typesC

Search for types by name pattern with advanced filtering

get_type_dependenciesC

Analyze type dependencies and relationships

analyze_type_usageC

Analyze how types are used throughout the codebase

list_classesB

Get class definitions with filtering by module or pattern

get_class_detailsB

Get detailed information about a specific class including methods and instances

search_classesC

Search for classes by name pattern with module filtering

analyze_importsC

Analyze import patterns and dependencies for modules

get_import_graphC

Generate module import relationship graph

find_unused_importsC

Find potentially unused imports in modules

get_import_detailsC

Get detailed information about imports in a module

find_similar_functionsC

Find functions similar to a given function based on signature and code

find_code_patternsC

Find recurring code patterns across functions

group_similar_functionsC

Group functions by similarity to identify common patterns

build_type_dependency_graphC

Build a comprehensive type dependency graph showing relationships between types

get_nested_typesC

Get all nested type definitions for specified types

analyze_type_relationshipsC

Analyze deep type relationships and dependencies

find_element_by_locationC

Find code elements (functions, types, classes, imports) by source location

get_location_contextC

Get comprehensive context around a source location

get_function_contextC

Get complete context for a function including all used types and functions

generate_function_importsB

Generate all necessary import statements for a function or code element

execute_custom_queryC

Execute custom SQL queries on the code database with parameters

pattern_match_codeC

Advanced pattern matching to find code structures

analyze_cross_module_dependenciesC

Comprehensive analysis of cross-module dependencies and coupling

enhanced_function_call_graphC

Generate enhanced function call graphs with advanced options

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/juspay/fdep-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server