multi-tenant-mcp · packages
Every package shipped from reaatech/multi-tenant-mcp, published or pending.
9 packages
@reaatech/multi-tenant-mcp-artifact-store
Provides tenant-isolated file storage with built-in path safety, quota enforcement, and TTL-based lifecycle management. It exposes `FileSystemArtifactStore` and `S3ArtifactStore` classes that implement a common `ArtifactStore` interface, with the S3 implementation requiring the `@aws-sdk/client-s3` peer dependency.
- status
- published
- published
- 11 hours ago
@reaatech/multi-tenant-mcp-config-isolation
Manages multi-tenant application configurations by providing Zod-based schema validation, base-config inheritance, and versioned migration support. It exposes a `TenantConfigManager` class to handle merged configuration access and a `ConfigMigrationRunner` to orchestrate schema updates across tenant stores.
- status
- published
- published
- 11 hours ago
@reaatech/multi-tenant-mcp-cost-accounting
Calculates and tracks multi-tenant usage costs for MCP tool invocations using per-call, per-token, and tiered pricing models. It provides classes for cost calculation, in-memory state tracking, and asynchronous event emission to external billing pipelines.
- status
- published
- published
- 11 hours ago
@reaatech/multi-tenant-mcp-middleware
Enforces multi-tenancy, rate limiting, and access control for Model Context Protocol (MCP) servers by providing a middleware factory that wraps request handlers. It requires the `@modelcontextprotocol/sdk` as a peer dependency and automatically filters tools, resources, and prompts based on tenant-specific visibility policies.
- status
- published
- published
- 11 hours ago
@reaatech/multi-tenant-mcp-observability
Provides a structured JSON logger and an LRU-bounded metrics collector for MCP servers that automatically injects tenant IDs from a `TenantContextStore`. It exports a `ConsoleTenantLogger` class for logging and a `MetricsCollector` class for tracking per-tenant usage without memory exhaustion.
- status
- published
- published
- 11 hours ago
@reaatech/multi-tenant-mcp-rate-limiter
Enforces per-tenant rate limits using a token-bucket algorithm via the `DefaultRateLimiter` class. It provides pluggable storage backends, including an LRU-bounded in-memory store and a Redis-backed store for distributed environments.
- status
- published
- published
- 11 hours ago
@reaatech/multi-tenant-mcp-tenant-resolver
Extracts tenant identity from MCP requests using header, JWT, or API key resolvers and propagates the context through `AsyncLocalStorage`. It provides a set of resolver classes and a `TenantContextStore` to enable implicit tenant access in downstream handlers.
- status
- published
- published
- 11 hours ago
@reaatech/multi-tenant-mcp-tool-visibility
Provides a `VisibilityEngineImpl` class to restrict access to Model Context Protocol (MCP) tools, resources, and prompts based on tenant-specific allow-lists, deny-lists, or custom dynamic evaluation functions. It exposes a boolean `isVisible` method to filter MCP entities at runtime.
- status
- published
- published
- 11 hours ago
@reaatech/multi-tenant-mcp-types
Provides shared TypeScript interfaces, JSON-RPC 2.0 error classes, and an LRU-evicting BoundedMap for building multi-tenant Model Context Protocol (MCP) middleware. It serves as the foundational type library for the @reaatech/multi-tenant-mcp ecosystem.
- status
- published
- published
- 11 hours ago
