Directory MCP server Search documentation...⌘KDeveloper PortalGet SandboxTry it yourselfOpen main menuGuidesHomeQuickstartAgent guideClaims data guideFinancial data guideParsing FHIR dataFor PatientsNetworkNetwork guideDirectoryDirectory MCP serverConfigurationToolsPromptsUse casesNext stepsConsentOAuthPatient linkingUsage patternsPatient accessRecordsFHIR APIWebhooksData SheetNode SDKSMART Health Links APITerminologyClaims to clinicalNewFHIR ResourcesMiscChangelogNewSupportPrivacy & SecurityFlexpa OSWe're hiringDirectory MCP server Beta — This feature is subject to change. The MCP specification and our implementation may evolve.The Endpoint Directory MCP server enables AI assistants to search and validate health insurance and healthcare provider endpoints programmatically. Unlike the patient data MCP server, the directory server is public and does not require authentication.Use it to build payer or provider selection flows, validate endpoint support for specific plan types, or let AI agents help users find their health insurance company or healthcare provider.EndpointPOST https://api.flexpa.com/mcp/directory CopyCopied!No authentication required. The directory server is read-only and exposes only public endpoint metadata. #Configuration #Claude Desktop / Claude.aiAdd the directory as a custom connector: Go to Settings → Custom Connectors Click Add Custom Connector Enter a name (e.g., "Flexpa Directory") Enter the URL: https://api.flexpa.com/mcp/directory Click "Connect" No authorization flow is required — the directory is public.Claude CodeCLI.claude/settings.jsonclaude mcp add flexpa-directory \ --transport http \ https://api.flexpa.com/mcp/directory CopyCopied! #Tools The directory server provides four tools for discovering and validating endpoints. #search_endpoints Search for health insurance payers and healthcare providers by name, brand, acronym, or state.Returns up to 10 matching endpoints with organization details, connection status, and supported lines of business.ParametersquerystringRequiredSearch query — payer name, provider name, brand, acronym, or state. Examples: "Aetna", "BCBS Illinois", "Mayo Clinic"Blue Cross Blue Shield is a federation of independent companies per state. If a user says "BCBS", the tool's instructions guide the AI to ask which state before searching.{ "name": "search_endpoints", "arguments": { "query": "Aetna" } } CopyCopied! #get_endpoint_details Get detailed information about a specific endpoint, including supported lines of business with authentication flow info, connection status, and features like inactive member access and 2FA requirements.ParametersendpointIdstringRequiredThe endpoint ID from search_endpoints results{ "name": "get_endpoint_details", "arguments": { "endpointId": "abc-123" } } CopyCopied! #check_lob_support Validate whether an endpoint supports a specific line of business (plan type) and determine the correct authentication flow.Lines of business:TypeFlowmedicaidOAuthmedicare_advantageOAuthchipOAuthaca_on_exchangeOAuthaca_off_exchangeOAuth or CredentialsemployerOAuth or Credentialsoriginal_medicareSpecialveteransSpecialParametersendpointIdstringRequiredThe endpoint ID from search_endpointslineOfBusinessstringRequiredOne of the line of business types listed above{ "name": "check_lob_support", "arguments": { "endpointId": "abc-123", "lineOfBusiness": "employer" } } CopyCopied!The response includes pass/fail validation, the authentication flow type (OAuth or Credentials), and recommended next steps. #list_endpoints List all endpoints in the directory, optionally filtered by status or line of business.ParametersstatusstringFilter by connection status. Default: CONNECTEDlobTypestringFilter by line of business supportlimitnumberMaximum results to return (default 50, max 100){ "name": "list_endpoints", "arguments": { "lobType": "medicaid", "limit": 20 } } CopyCopied! #Prompts The directory server includes three prompts that guide AI assistants through common workflows.PromptDescriptionfind_insuranceWalks through identifying a user's insurer, plan type, and validating endpoint supportfind_providerWalks through finding a healthcare provider or medical record systemexplore_directoryBrowse all available endpoints with line of business detailsPrompt invocationfind_insurancefind_providerexplore_directory{ "method": "prompts/get", "params": { "name": "find_insurance" } } CopyCopied! #Use cases AI-powered endpoint selection — Let an AI assistant guide users through finding their health insurance company (find_insurance) or healthcare provider (find_provider). The insurance prompt handles BCBS state disambiguation, Medicaid regional plans, and plan type identification automatically.Endpoint validation — Before initiating a patient authorization, validate that the endpoint supports the user's plan type and determine whether to use the OAuth or Credentials flow.Directory exploration — Build tools that help operations teams browse available payer and provider endpoints, filter by line of business, and understand coverage gaps. #Next steps Browse the Endpoint Directory for endpoint details and connection statuses Read the Agent guide for MCP integration patterns with patient data Review Consent for OAuth and Credentials authorization flows On this pageConfigurationClaude Desktop / Claude.aiToolssearch_endpointsget_endpoint_detailscheck_lob_supportlist_endpointsPromptsUse casesNext steps