Documentation Index
Fetch the complete documentation index at: https://docs.lucid.foundation/llms.txt
Use this file to discover all available pages before exploring further.
MCPGate (Tool Gateway)
The MCPGate serves as a robust tool gateway within the Lucid platform, providing essential features such as Role-Based Access Control (RBAC), audit logging, and credential injection. This gateway ensures secure and efficient routing of requests to various tools and services.Workflow Overview
The request processing in MCPGate follows a structured workflow to ensure security, compliance, and efficient resource management. Here’s a step-by-step breakdown of the process:-
Request Authentication and Authorization:
- Incoming requests are authenticated using Bearer tokens.
- RBAC scopes are applied to ensure that the requestor has the necessary permissions to access the requested resources.
-
Plan Enforcement:
- The system checks the user’s subscription plan to enforce any limitations or special conditions associated with their plan.
-
Quota Check:
- Before routing the request, the system verifies that the user has not exceeded their allocated quota for the requested service or tool.
-
Routing:
- Requests are routed to either:
builtin:*: In-process services that are handled internally.- Registered servers: External services that are accessed via StreamableHTTP or Server-Sent Events (SSE).
- Requests are routed to either:
-
Tool Metering:
- Usage of tools is metered to track consumption and ensure compliance with usage policies.
-
Audit Logging:
- All actions and requests are logged for auditing purposes, providing a detailed record of activities for security and compliance reviews.
-
Response:
- After processing, a response is generated and sent back to the requester, completing the request lifecycle.
Key Features
- RBAC: Ensures that only authorized users can access specific tools and services, enhancing security.
- Audit Logging: Provides a comprehensive log of all actions and requests for transparency and accountability.
- Credential Injection: Automatically manages and injects necessary credentials for accessing various tools, simplifying the user experience.
.png?fit=max&auto=format&n=VsjUqn6fLqEhBiuI&q=85&s=8b4c7e6431e9a6af1ef23b77bb4ff5fd)
.png?fit=max&auto=format&n=VsjUqn6fLqEhBiuI&q=85&s=d5651a45e4bfbabc33f74e146af3f94a)