Get Bundle Proxy Info
Get information about a proxied bundle. Args: bundle_key: The bundle's unique sharing key. session: Database session (injected). Returns: JSONResponse with bundle information.
curl -X GET "https://loading/mcp/bundle/string/info"null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Revoke invitation
Revoke a pending invitation. Only pending invitations can be revoked. Requires ADMIN or OWNER role.
Handle Bundle Mcp Request
Handle MCP JSON-RPC requests for bundles. This endpoint exposes bundles via the MCP protocol. Bundles act as transparent tool aggregators that always list all their enabled tools directly. For search/execute mode with semantic search, use the unified gateway endpoint (/mcp/gateway) which respects user's gateway_settings. The bundle_key serves as authentication - only valid keys can access bundles. Session Management: - If Mcp-Session-Id header is provided, uses existing session - Otherwise, creates a new session (anonymous if no user_id) - Returns session ID in Mcp-Session-Id response header Args: bundle_key: The bundle's unique sharing key (auth). request: The JSON-RPC request body. http_response: FastAPI response object for setting headers. session: Database session (injected). server_repo: Server repository (injected). mcp_client: MCP client service (injected). audit_logger: Audit logger (injected). embeddings: Embeddings service (injected). cred_service: Credential resolution service (injected). session_service: Session service (injected). user_id: Optional authenticated user's ID. x_mcp_session_id: Optional session ID from request header. Returns: JSONResponse with the JSON-RPC response and Mcp-Session-Id header. Raises: HTTPException: 404 if bundle not found, 500 if processing fails.
