Skip to main content
Glama
itsmeadarsh2008

Reflex Docs MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
REFLEX_DOCS_DOCS_SRCNoPath to clone docs into.docs_src
REFLEX_DOCS_CACHE_TTLNoSeconds for search cache TTL.300
REFLEX_DOCS_AUTO_INDEXNoControls whether the server auto-builds the index if missing.true
REFLEX_DOCS_SKIP_CLONENoIf set, skip cloning docs.
REFLEX_DOCS_FORCE_CLONENoIf set, force clone docs.
REFLEX_DOCS_HTTP_TIMEOUTNoSeconds for outbound HTTP requests.10
REFLEX_DOCS_KEEP_EXISTINGNoIf set, keep existing docs.
REFLEX_DOCS_MAX_SEARCH_LIMITNoHard cap on search result limit.30
REFLEX_DOCS_ENABLE_LIVE_FETCHNoIf false, disable live HTTP fetches.true

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{
  "tasks": {
    "list": {},
    "cancel": {},
    "requests": {
      "tools": {
        "call": {}
      },
      "prompts": {
        "get": {}
      },
      "resources": {
        "read": {}
      }
    }
  }
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_docsA

Search Reflex documentation by keyword or natural language query.

Args: query: Search query (e.g., "rx.foreach", "state management", "styling") limit: Maximum number of results to return (default: 10) include_content: If True, include full page content in each result (max 5 results) fuzzy: If True, enable prefix expansion for broader matching (default: True)

Returns: List of matching documentation sections with slug, title, score, snippet, and URL

Example: search_docs("rx.foreach") search_docs("how to style components", fuzzy=True)

get_docA

Retrieve a full documentation page by its slug.

Args: slug: Document slug (e.g., "library/layout/box", "components/rendering_iterables") extract_code: If True, return only fenced code blocks from the page

Returns: Full document with title, URL, and all sections with markdown content

Example: get_doc("library/layout/box") get_doc("state/overview", extract_code=True)

list_componentsA

List all documented Reflex components.

Args: category: Optional category filter (e.g., "layout", "forms", "data-display")

Returns: List of components with name, category, description, and documentation URL

Example: list_components() list_components("layout") list_components("forms")

search_componentsA

Search components by name or description.

Args: query: Search query (e.g., "button", "layout", "table") limit: Maximum number of results to return (default: 20)

Returns: List of matching components with name, category, description, and documentation URL

get_componentA

Get detailed information about a specific Reflex component.

Args: name: Component name (e.g., "rx.box", "rx.button", "box", "button") The "rx." prefix is optional.

Returns: Component info with name, category, description, and documentation URL

Example: get_component("rx.box") get_component("button")

list_pagesA

List documentation pages, optionally filtered by slug prefix.

Args: prefix: Optional slug prefix (e.g., "library/", "state/") limit: Maximum number of results to return (default: 200)

Returns: List of pages with slug, title, and URL

get_statsA

Get statistics about the indexed documentation.

Returns: Dictionary with counts of pages, sections, and components

get_code_examplesA

Find Python code examples from Reflex docs related to a topic.

Args: topic: Topic to search for (e.g., "state vars", "event handlers") limit: Maximum number of code examples to return (default: 5)

Returns: Dict with topic, count, and list of code examples with source info

decode_errorA

Analyze a Reflex error and find relevant documentation.

Args: error_text: The error message or traceback text context: Optional additional context about what you were doing

Returns: Dict with error class, rx symbols, relevant docs, and search queries used

get_changelogA

Fetch Reflex release notes from the changelog.

Args: version: Specific version to fetch (e.g., "0.6.1"). Empty for latest releases. limit: Number of recent releases to return if version is empty (default: 5)

Returns: Dict with requested version, count, source URL, and release sections

get_migration_guideA

Get migration guidance between two Reflex versions.

Args: from_version: The version you're migrating from (e.g., "0.5.0") to_version: The version you're migrating to (e.g., "0.6.0")

Returns: Dict with breaking changes, relevant docs, and changelog section

search_api_referenceA

Look up API reference documentation for a Reflex symbol.

Args: symbol: The symbol to look up (e.g., "rx.State", "rx.button", "EventHandler")

Returns: Dict with symbol info, headings, code blocks, and tables

get_component_propsA

Get the props table for a specific Reflex component.

Args: name: Component name (e.g., "rx.button", "button"). The "rx." prefix is optional. filter: Optional filter string to match prop names or descriptions

Returns: Dict with component name, total props count, and filtered props list

list_recipesA

Browse recipe and tutorial pages from Reflex docs.

Args: category: Optional category filter (e.g., "auth", "database")

Returns: Dict with category filter, count, and list of recipes with summaries

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/itsmeadarsh2008/reflex-docs-mcp'

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