MCP Configuration System
DeployStack uses a three-tier configuration architecture to manage MCP server arguments, environment variables, and credentials. This system enables secure credential management, team collaboration, and individual customization through sophisticated lock/unlock controls.Three-Tier Architecture Overview
The system separates configuration into three distinct layers:- Template Level - Global schemas and locked elements defined by administrators
- Team Level - Shared team configurations with lock/unlock controls
- User Level - Personal configurations within team-defined boundaries
How It Works
Lock/Unlock Control System
The heart of the system is sophisticated lock/unlock controls with precise categorization: Secret Type Support: Configuration values marked astype: "secret"
in schemas are automatically encrypted for security. For complete details on secret encryption, masking, and security, see Security and Privacy.
Global Administrator Controls:
- Sophisticated Categorization - Categorize every configuration element into Template/Team/User tiers
- Granular Lock/Unlock Controls - Set default lock states and visibility controls for each element
- Security Boundaries - Define what can never be changed vs. what teams/users can configure
- Validation Rules - Set data types, constraints, and security requirements for configurable elements
- Precise Schema Definition - Create detailed schemas that control the exact configuration experience
- Configure Team Settings - Set shared credentials and parameters within schema boundaries
- Control User Access - Lock/unlock elements for team members based on organizational needs
- Manage Team Credentials - Securely handle team-wide secrets with appropriate visibility controls
- Work Within Schema Boundaries - Configure only elements designated as “Team Configurable” by global admins
- Personal Customization - Modify only unlocked elements within boundaries set by global admin categorization
- Secure Experience - No access to locked configuration, team secrets, or template elements
- Focused Interface - See only configuration elements designated as personally configurable
- Team Integration - Access through OAuth team authentication
User Journey Workflows
Each tier has its own focused workflow:For Global Administrators
Admin Schema Workflow - Learn how to transform raw MCP configurations into secure three-tier schemas with sophisticated lock/unlock controls through the Configuration Schema Step. Key workflow: Repository → Claude Desktop Config → Configuration Schema Categorization → Basic Info → Catalog EntryFor Team Administrators
Team Installation - Learn how to install MCP servers from the catalog, configure shared team settings, and control user access. Key workflow: Browse Catalog → Configure Team Settings → Set Lock Controls → Deploy InstallationFor Individual Users
User Configuration - Learn how to configure personal MCP settings and customize your workflow. Key workflow: Access Team Installation → Configure Personal Settings → Save ConfigurationOfficial Registry Configuration Mapping
When MCP servers are synced from the official MCP Registry, their environment variables are automatically mapped to the appropriate tier based on their properties: Mapping Rules:- Template Level (Locked): Fixed environment variables with preset values
- Team Level: Required credentials marked as secrets (
isRequired: true
+isSecret: true
) - User Level: Optional configurations and personal preferences (
isRequired: false
)
Configuration Assembly Example
Here’s how the three tiers combine into a final runtime configuration: Template (Global Admin):*****
.
Example: Official Registry Server Configuration
Here’s how an official registry server (Context7) is mapped to the three-tier system: Official Registry Environment Variables:UPSTASH_REDIS_URL
(required credential)UPSTASH_REDIS_TOKEN
(required secret, encrypted)
DEBUG
(optional personal preference)
Key Benefits
Security: Sensitive credentials managed at appropriate tiers with encryption and access controls Simplicity: Users see only what they can configure, teams share common settings automatically Flexibility: Support for variable-length configurations and individual customization Collaboration: Teams coordinate through shared settings while maintaining individual customization Governance: Clear boundaries and audit trails for organizational compliance, with precise control over configuration inheritanceCommon Use Cases
Development Teams: Share Git tokens and project settings while allowing personal directory configurations Data Science Teams: Share database credentials and data lake access while supporting individual analysis workflows Support Teams: Share customer service API keys while allowing personal workspace customizationOfficial Registry Transport Types
Servers synced from the official MCP Registry can use different transport mechanisms: STDIO Transport (via packages): Servers that run as local processes using standard input/output. Arguments are configured in the template level (locked), with runtime arguments at team/user levels. HTTP/SSE Transport (via remotes): Servers accessed via HTTP endpoints. Headers are mapped to appropriate tiers - authentication headers at team level, optional headers at user level. The three-tier system adapts automatically based on the transport type detected from the official registry.Related Documentation
For complete system understanding:- MCP Catalog - Browse and discover available MCP servers
- Teams - Team structure and membership management
- MCP Installation - Basic MCP server installation concepts
- Security and Privacy - Platform security and data protection