LibreChat/packages/api/src/index.ts
Dustin Healy 7b27e7941e 🧩 feat: MCP Apps support (#13831)
* feat: add MCP Apps support

* fix: preserve MCP App results and enforce sandbox policy

* fix: bind persisted MCP Apps to their server configuration

* fix: complete MCP Apps runtime integration

* fix: type the optional MCP App binding codec explicitly

* test: provide MCP Apps policy in bridge mocks

* fix: pass admitted App policy to the tool call owner

* fix: align MCP Apps CI contracts

* test: preserve MCP abort reasons in recovery mocks

* fix: preserve MCP compatibility across policy profiles

* test: use profiled MCP catalog generations

* test: expect the standard MCP session profile

* fix: remove the unused MCP abort import

* test: expect profiled MCP fixture arguments

* test: seed profiled MCP manager fixtures

* Fix request-header bearer resolution after canary merge

* Preserve MCP App views across canary message updates

* Document message-owned MCP App placement

* ci: Recheck MCP Apps Against Canary Base

---------

Co-authored-by: Lia <lia@librechat.ai>
(cherry picked from commit a98d40f61c)

Original-PR: https://github.com/LibreChat-AI/LibreChat/pull/13831
2026-10-01 03:46:16 +00:00

138 lines
3.7 KiB
TypeScript

export * from './app';
export * from './acl/accessControlService';
export * from './acl/insightsPermissions';
export * from './acl/middleware';
export * from './acl/principals';
export * from './acl/search';
export * from './credentials';
/* Artifacts */
export * from './artifacts';
/* Admin */
export * from './admin';
export * from './cdn';
export * from './code';
/* Auth */
export * from './auth';
/* API Keys */
export * from './apiKeys';
/* MCP */
export * from './mcp/mcpConfig';
export * from './mcp/capabilities';
export * from './mcp/authority';
export * from './mcp/registry/MCPServersRegistry';
export * from './mcp/MCPManager';
export * from './mcp/connection';
export * from './mcp/toolsChanged';
export * from './mcp/oauth';
export * from './mcp/auth';
export * from './mcp/zod';
export * from './mcp/errors';
export * from './mcp/loading';
export * from './mcp/openid';
export * from './mcp/cache';
export * from './mcp/tools';
export * from './mcp/apps';
export * from './mcp/apps/controller';
export * from './mcp/apps/binding';
export * from './mcp/apps/limits';
export * from './mcp/sandbox';
export * from './mcp/catalog/store';
export * from './mcp/catalog/recovery';
export * from './mcp/authorization';
export * from './mcp/authorizationRetry';
export * from './mcp/assistants';
export * from './mcp/request';
export * from './mcp/reinitialize';
export * from './mcp/icons';
/* Utilities */
export * from './mcp/utils';
export * from './mcp/domainValidation';
export * from './mcp/context';
export * from './utils';
export { default as Tokenizer, countTokens } from './utils/tokenizer';
export type { EncodingName } from './utils/tokenizer';
export * from './db/utils';
/* HTML */
export * from './html';
/* OAuth */
export * from './oauth';
export * from './mcp/oauth/OAuthReconnectionManager';
/* Crypto */
export * from './crypto';
/* Flow */
export * from './flow/manager';
/* Middleware */
export * from './middleware';
/* Security */
export * from './security';
/* Content protection */
export * from './protection';
/* Imports */
export * from './imports';
/* Memory */
export * from './memory';
/* Model Specs */
export * from './modelSpecs';
/* Agents */
export * from './agents';
/* Assistants */
export * from './assistants';
/* Actions */
export * from './actions';
/* Prompts */
export * from './prompts';
/* Projects */
export * from './projects';
/* Conversations */
export * from './conversations';
/* Skills */
export * from './schedules';
export * from './schedules/service';
export * from './skills';
export * from './favorites';
/* User */
export * from './user';
/* Agent Plugins */
export * from './plugins';
/* Endpoints */
export * from './endpoints';
/* Files */
export * from './files';
/* Images */
export * from './images';
/* Storage */
export * from './storage';
/* Tools */
export * from './tools';
/* web search */
export * from './web';
/* Langfuse */
export * from './langfuse';
/* Traces */
export * from './traces';
/* Insights */
export * from './insights';
/* Cache */
export * from './cache';
/* Cluster */
export * from './cluster';
/* Shared Links */
export * from './shared-links/access';
export * from './shared-links/service';
export * from './shared-links/config';
export * from './shared-links/http';
export * from './shared-links/protection';
export * from './shared-links/session';
/* Stream */
export * from './stream';
/* Diagnostics */
export { memoryDiagnostics } from './utils/memory';
/* RUM */
export * from './rum/proxy';
/* OpenAPI */
export { createOpenApiRouter } from './openapi/router';
export type { OpenApiRouterDeps } from './openapi/router';
/* types */
export type * from './mcp/types';
export type * from './flow/types';
export type * from './types';