Remote MCP servers extend Dev Agent's capabilities beyond built-in Salesforce tools by connecting to external services, APIs, and third-party platforms. This allows Dev Agent to integrate with your entire development ecosystem.
Remote MCP servers are external services that expose tools and resources through the Model Context Protocol. Unlike built-in servers that run locally, remote servers:
- Operate Over Networks: Connect via HTTPS endpoints to cloud-hosted services.
- Extend Capabilities: Add functionality not available in built-in Salesforce servers.
- Require Authentication: Often need API keys or OAuth tokens for secure access.
Unified Development Experience By connecting remote servers, you create a seamless workflow where Dev Agent can:
- Access your entire development toolchain from one interface.
- Coordinate actions across multiple platforms.
- Maintain context across different services and tools.
To access the MCP Servers interface in Dev Agent:
- Click the Agentforce icon in the VS Code Activity Bar.
- Click the icon (
) in the top right corner of the Dev Agent panel to open the MCP Servers interface.
The MCP Servers interface is divided into three main tabs:
- Marketplace: Discover and install pre-configured MCP servers (if enabled).
- Remote Servers: Connect to existing MCP servers via URL endpoints.
- Installed: Manage your connected MCP servers.
-
Click the Remote Servers tab in the MCP interface.
-
Enter the following information:
- Server Name: Choose a descriptive, unique name (e.g., "GitHub Integration", "Company Database").
- Server URL: Enter the complete endpoint URL from the service provider.
-
Click Add Server.
Dev Agent attempts to connect to the server and display the connection status. Verify the connection using the status indicators.
When connecting to a remote server, ensure you trust the source, as MCP servers can execute code in your environment. Always verify the server provider's credentials and security practices.
Once added, your MCP servers appear in the "Installed" tab where you can monitor their status:
- 🟢 Green Dot: Connected and ready to use.
- 🟡 Yellow Dot: Connecting or experiencing warnings.
- 🔴 Red Dot: Disconnected or error state.
Server Configuration Options
Click on a server to expand its settings panel:
Tools and Resources
- View all available tools and resources from the server.
- Configure auto-approval settings for trusted tools.
- Review tool documentation and parameters.
Request Timeout Settings
- Set how long Dev Agent should wait for server responses.
- Options range from 30 seconds to 1 hour.
- Adjust based on server performance and network conditions.
Server Management Actions
- Retry Connection: Reconnect if the server becomes unresponsive.
- Delete Server: Remove the server from your configuration.
- Enable/Disable: Toggle server availability without deleting.
Server Connection Failures
- Verify the server URL is correct and accessible.
- Check that the server is running and accepting connections.
- Confirm network connectivity and firewall settings.
- Use the Retry Connection button to attempt reconnection.
Authentication Problems
- Verify API keys or tokens are valid and not expired.
- Check that authentication credentials have required permissions.
- Review the authentication method matches server requirements.
Try these prompts to verify your remote server setup:
-
Test Server Connection
-
Test Tool Execution