This guide explains how to properly connect the Cloudscape Assistant MCP server to Roo. For detailed information about the MCP protocol, see the MCP Protocol Guide.
To connect Roo to the Cloudscape Assistant MCP server, you need to add the server to your Roo configuration. There are two ways to do this:
- Click on the MCP icon in the Roo sidebar
- Click "Add Connection"
- Enter the following details:
- Name: Cloudscape Assistant
- URL: http://localhost:3001 (or your custom port if specified)
- Click "Connect"
Create an mcp.json file in your project root with the following content:
{
"mcpServers": {
"cloudscape-assistant": {
"url": "http://127.0.0.1:3001",
"disabled": false,
"alwaysAllow": []
}
}
}Important: Note the correct spelling of "cloudscape-assistant" with two 's' characters, not three.
For a more modern configuration using the connections format:
{
"connections": [
{
"name": "Cloudscape Assistant",
"type": "sse",
"url": "http://127.0.0.1:3001",
"autoConnect": true
}
]
}{
"connections": [
{
"name": "Cloudscape Assistant",
"type": "stdio",
"command": "mcp-cloudscape-assistant",
"args": ["--port", "3001"],
"env": {},
"cwd": "${workspaceFolder}",
"autoConnect": true
}
]
}To verify that your MCP server correctly implements the protocol expected by Roo, use the comprehensive test script:
# Run the comprehensive test script
ts-node test-roo-integration.tsThis script tests:
- SSE connection
- tools/list endpoint
- tools/call endpoint
- resources/list endpoint
- resources/read endpoint (if resources are available)
The script will also generate example configuration files in different formats:
mcp.legacy.json: Legacy format withmcpServersmcp.modern.json: Modern format withconnectionsandtype: "sse"mcp.stdio.json: Modern format withconnectionsandtype: "stdio"
You can also run individual tests for specific components:
# Test just the tools endpoint
ts-node test-tools.ts
# Test just the resources endpoint
ts-node test-resources.tsIf you're experiencing connection issues:
- Ensure the MCP server is running on the specified port (default: 3001)
- Check for typos in the server name and URL
- Verify that CORS is properly configured
- Check that the server is implementing the MCP protocol correctly
- Run the test scripts to verify the server is working properly
- Check the server logs for any error messages
- Verify your mcp.json file is correctly formatted and in the right location
- Make sure your Roo client supports the configuration format you're using
For more detailed troubleshooting, refer to the MCP Protocol Guide.
The Model Context Protocol (MCP) consists of two main communication channels:
- Server-Sent Events (SSE): A one-way communication channel from the server to the client
- JSON-RPC 2.0: A request-response protocol for the client to call methods on the server
The protocol defines four standard endpoints:
tools/list: Lists all available toolstools/call: Calls a specific tool with argumentsresources/list: Lists all available resourcesresources/read: Reads a specific resource
For a complete explanation of the protocol, see the MCP Protocol Guide.
After configuring the connection, you should see "Cloudscape Assistant" in your list of available MCP servers in Roo. You can then use the Cloudscape Assistant tools and resources in your Roo conversations.
To verify the connection is working properly:
- Open Roo
- Click on the MCP icon in the sidebar
- Check that "Cloudscape Assistant" is listed and shows as connected
- Try using one of the tools or resources in a conversation
- Use the Latest Configuration Format: The
connectionsformat provides more flexibility and is recommended for new implementations. - Test Thoroughly: Always run the test scripts before deploying your MCP server.
- Provide Clear Documentation: Document your tools and resources clearly for users.
- Handle Errors Gracefully: Implement proper error handling in your server.
- Monitor Performance: Keep an eye on server performance, especially for resource-intensive tools.