Connecting MCP Servers
MCP Servers allow Karyam to securely connect AI systems with external tools, services, and business applications.
Once connected, Karyam automatically discovers the capabilities exposed by the server and makes them available to Agents and AI Flows.
Before You Begin
Section titled “Before You Begin”Before connecting an MCP Server, ensure you have:
- An accessible MCP Server endpoint
- Required authentication credentials (if applicable)
- Network connectivity between Karyam and the MCP Server
Step 1 — Navigate to MCP Servers
Section titled “Step 1 — Navigate to MCP Servers”Open:
MCP ServersClick:
New MCP ServerStep 2 — Configure General Information
Section titled “Step 2 — Configure General Information”Provide basic information about the server.
A friendly name used throughout Karyam.
Example:
GitHub MCPDescription
Section titled “Description”Optional information describing the server’s purpose.
Example:
GitHub repository automation and development workflows.Step 3 — Configure Authentication
Section titled “Step 3 — Configure Authentication”Karyam supports multiple authentication mechanisms.
Use when the MCP Server does not require authentication.
Example:
- Local development servers
- Internal trusted environments
OAuth 2.0
Section titled “OAuth 2.0”Use OAuth when connecting to secured services.
Supported modes include:
Automatic Discovery
Section titled “Automatic Discovery”Karyam automatically discovers OAuth configuration from the provider.
Recommended for:
- Standard OAuth providers
- Public cloud services
- SaaS platforms
Manual Discovery
Section titled “Manual Discovery”Allows explicit OAuth endpoint configuration.
Recommended for:
- Internal identity providers
- Custom OAuth implementations
- Enterprise environments
Step 4 — Configure Server URL
Section titled “Step 4 — Configure Server URL”Specify the MCP endpoint URL.
Example:
https://api.example.com/mcp/githubExamples:
https://mcp.company.internal/githubhttps://mcp.company.internal/jirahttps://mcp.company.internal/hrStep 5 — Configure Request Headers
Section titled “Step 5 — Configure Request Headers”Additional request headers can be attached to every request.
Examples include:
- API Keys
- Bearer Tokens
- Tenant Identifiers
- Custom Authentication Headers
Example:
| Key | Value |
|---|---|
| Authorization | Bearer **** |
| X-Tenant-ID | company-prod |
Encrypted Headers
Section titled “Encrypted Headers”Sensitive values can be encrypted before storage.
Encrypted values are:
- Securely stored
- Permanently masked after submission
- Never exposed in the user interface
Existing encrypted values cannot be viewed or recovered.
To update an encrypted value, a new value must be entered and saved again.
This helps organizations safely manage credentials and secrets.
Step 6 — Save The Server
Section titled “Step 6 — Save The Server”Once configuration is complete, click:
SaveKaryam validates the configuration and registers the MCP Server.
Server Management
Section titled “Server Management”Each connected server contains two sections:
Settings
Section titled “Settings”Manage:
- Name
- Description
- Authentication
- Headers
- Endpoint URL
The Tools section displays capabilities discovered from the MCP Server.
Click:
Sync ToolsKaryam will:
- Connect to the server
- Discover available tools
- Import tool definitions
- Update existing capabilities
Automatic Tool Discovery
Section titled “Automatic Tool Discovery”Example:
GitHub MCP Server ↓Sync Tools ↓Discovered:- Create Issue- Create Pull Request- Search Repository- List Workflow Runs- Get Repository InformationNo manual schema configuration is required.
Tool Metadata
Section titled “Tool Metadata”Each discovered tool can be expanded to view its metadata.
Metadata typically includes:
- Tool name
- Description
- Input schema
- Parameters
- Required fields
- Output schema
Example:
Create Issue├── title├── body├── repository└── labelsThis allows users to understand exactly how the tool behaves before attaching it to Agents or AI Flows.
Attaching MCP Tools
Section titled “Attaching MCP Tools”Discovered tools can be attached directly to:
- Agents
- AI Flows
Example:
Agent Settings ↓Attach MCP Tools ↓Select:- Create Issue- Search Repository- List Pull RequestsExample Workflow
Section titled “Example Workflow”Employee:Create a GitHub issue for the VPN renewal problem.
Agent ↓GitHub MCP Tool ↓Create Issue ↓Issue CreatedSecurity Best Practices
Section titled “Security Best Practices”When connecting MCP Servers:
- Use OAuth whenever possible.
- Encrypt sensitive headers.
- Use least-privilege credentials.
- Rotate credentials regularly.
- Restrict network access to trusted systems.
Troubleshooting
Section titled “Troubleshooting”Connection Failed
Section titled “Connection Failed”Verify:
- Server URL
- Network connectivity
- Firewall rules
- DNS resolution
Authentication Failed
Section titled “Authentication Failed”Verify:
- OAuth configuration
- Access tokens
- Header values
- Credential permissions
No Tools Found
Section titled “No Tools Found”Verify:
- The MCP Server is running.
- The endpoint is accessible.
- The authenticated user has permission to discover tools.
Next Steps
Section titled “Next Steps”Continue with:
➡️ Authentication
Learn how Karyam securely manages OAuth flows, credentials, and encrypted headers for MCP Servers.
