Conduit
Conduit
Docsllms.txtHostingGitHubIntroduction

Getting Started

OverviewInstall ConduitMCP SetupYour First AppStart with AI

Learn

ArchitectureClient vs Admin APIConfiguration

Modules

OverviewAuthenticationAuthorizationDatabaseStorageCommunicationsChatRouterFunctions

Guides

Next.js IntegrationReBAC Team ScopingGitOps State Export

Deployment

Deployment OverviewDocker ComposeKubernetes and HelmLocal from SourceContainer Images

Reference

CLI ReferenceClient APIAdmin APIEnvironment VariablesMCP Tools

Resources

Migration v0.16 → v0.17Legacy DocumentationChangelogFAQGlossaryContributing

MCP Tools

How Admin API routes map to MCP tool names — modules, exclusions, and bulk operations.

Discovery

Call list_modules on every new MCP connection. Tools for unloaded modules are unavailable until you add ?modules= to the MCP URL and reconnect.

Only core and __meta__ load by default. The core module includes config tools, API token management, and health (get_ready, get_live).

Naming pattern

Admin routes convert to tools:

  1. Strip leading /admin/ if present
  2. Replace / with _
  3. Lowercase
  4. Prepend HTTP method: get_, post_, patch_, put_, delete_
  5. Remove hyphens and other non-alphanumeric characters from path segments (e.g. /api-tokens → apitokens, not api_tokens)
Admin routeMCP tool
GET /database/schemasget_database_schemas
POST /database/schemaspost_database_schemas
PATCH /config/databasepatch_config_database
GET /readyget_ready
GET /liveget_live
POST /api-tokenspost_apitokens
GET /api-tokensget_apitokens
DELETE /api-tokens/:iddelete_apitokens_id
POST /authorization/relations/manypost_authorization_relations_many
POST /authorization/indexer/reconstructpost_authorization_indexer_reconstruct

Config tools

When a module is loaded:

  • get_config_{module}
  • patch_config_{module}

Global: get_config returns all module configs.

Authorization bulk tools

With ?modules=authorization loaded:

ToolAdmin routeBody
post_authorization_relationsPOST /authorization/relationsSingle tuple: subject, relation, resource
post_authorization_relations_manyPOST /authorization/relations/manyBulk: subject, relation, resources[] (async index jobs per tuple)
post_authorization_indexer_reconstructPOST /authorization/indexer/reconstructOptional { soft: true } — rebuild ReBAC indexes after corruption or bulk import

Prefer post_authorization_relations_many when seeding many tuples at provision time. Validate subject/relation against the ResourceDefinition; keep batches ≤100 resources when possible.

Excluded routes (mcp: false)

These Admin routes never register as MCP tools. Call the Admin API or admin panel directly:

ModuleRoutesWhy excluded
databasePOST /database/schemas/importBulk schema import — operator intent required
databaseGET/POST /database/introspection, GET /database/introspection/schemas, POST /database/introspection/schemas/finalizeDB introspection mutates pending schema state
corePOST /login, admin password/2FA/user bootstrap routesCredential and session flows

GET /database/schemas/export is available as get_database_schemas_export.

Resources

MCP exposes conduit://docs/* resources including Admin and Client API OpenAPI specs and an API usage guide. See MCP setup.

Module aliases

?modules=communications expands to email, push, and sms module tools.

Environment Variables

Core and module environment variable reference — ports, gRPC, and readiness tuning.

Migration v0.16 → v0.17

What changed and how to upgrade your deployment and integrations.

On this page

DiscoveryNaming patternConfig toolsAuthorization bulk toolsExcluded routes (mcp: false)ResourcesModule aliases