MCP Tools
The FL Repos MCP server exposes 15 tools split into read tools (always available) and write tools (require--write flag).
Read Tools
discover
Get the graph schema, platform statistics, node/edge type descriptions, and example Cypher queries. Call this first in any session to orient the AI agent. Parameters: None Returns: A structured document containing:- Node type list with descriptions and key properties
- Edge type list with source/target information
- Current graph statistics (node count, edge count, repo count)
- 5–10 example Cypher queries demonstrating common patterns
discover and summarizes the schema for you.
query
Execute a read-only Cypher query directly against the FalkorDB graph. This is the most powerful tool — any traversal, aggregation, or pattern match is possible. Parameters:
Returns: Query results as a list of row objects.
Constraints: Only
MATCH, RETURN, WHERE, WITH, ORDER BY, LIMIT, UNWIND, OPTIONAL MATCH are permitted. Mutation keywords are rejected.
Example queries:
search_repos
Search and filter the repository list. A higher-level alternative toquery for common repo lookup patterns.
Parameters:
Returns: List of matching repository objects with name, language, tier, score, and commit count.
Example:
search_repos(tier=1, language="python", sort_by="score", limit=20).
get_repo_detail
Get the full metadata and statistics for a single repository. Parameters:
Returns: Full repository object including function count, model count, endpoint count, test count, security issue count, language percentages, and all metadata fields.
Example:
get_recommendations
Get tier-based repository recommendations. Returns the top repos from each tier, useful for onboarding new team members or getting a quick overview of the most important repos. Parameters:
Returns: Ranked list of repos with scores and brief descriptions.
list_functions
List functions from the deep-insight layer with optional filters. Parameters:
Returns: List of function objects with name, repo, file path, args, decorators, docstring, line count, and complexity.
list_models
List Django ORM models with optional filters. Parameters:
Returns: List of model objects with name, repo, file path, field count, has_meta flag, and docstring.
list_contributors
List contributors with activity metrics. Parameters:
Returns: List of contributor objects with name, email, total commits, repos count, and activity window.
list_security
List detected security pattern findings. Parameters:
Returns: List of security pattern objects with type, repo, file path, severity, and description.
search_memory
Search the Graphiti or Zep memory backend for past episodes, facts, or conversations related to a query. Parameters:
Returns: List of matching memory episodes with content, timestamp, and relevance score.
Memory search requires Graphiti or Zep to be configured. If neither backend is available, this tool returns an empty result with a configuration hint.
Write Tools
add_entity
Add a new node to the graph. Parameters:
Returns: The created node with its assigned graph ID.
update_entity
Update properties on an existing graph node. Parameters:
Returns: The updated node.
add_relationship
Add an edge between two existing nodes. Parameters:
Returns: The created edge.
delete_entity
Delete a node and all its associated edges from the graph. Parameters:
Returns: Confirmation of deletion with count of edges removed.
add_memory
Add an episode to the configured Graphiti or Zep memory backend. Parameters:
Returns: The stored episode with its assigned ID and timestamp.
See Memory Backends for how Graphiti and Zep store and retrieve episodes.