Connection URL
The MCP server is available at:SSE Connection (Primary)
The MCP server uses Server-Sent Events (SSE) as its primary transport. SSE provides real-time, bidirectional communication over HTTP.Connection Flow
- Establish Connection - Send a GET request to
/ssewith your MCP key - Receive Endpoint - The server responds with a message endpoint URL
- Send Messages - POST JSON-RPC messages to the provided endpoint
- Receive Responses - Responses stream back through the SSE connection
Step 1: Establish Connection
Step 2: Send Messages
POST JSON-RPC messages to the endpoint you received:Step 3: Receive Responses
Responses arrive through your SSE connection as message events:Streamable HTTP (Alternative)
For clients that prefer a simpler transport, the MCP server also supports Streamable HTTP at the root endpoint.Using mcp-remote (Claude Desktop)
Claude Desktop and some other MCP clients don’t support SSE natively. Use themcp-remote package to bridge the connection.
Installation
Claude Desktop Configuration
Add the following to your Claude Desktop configuration file: macOS:~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Using Environment Variables
For better security, reference an environment variable:Health Check
Verify the MCP server is available before connecting:The health check endpoint doesn’t require authentication. Use it to verify connectivity before attempting to establish an authenticated connection.
Troubleshooting
Connection refused or timeout
Connection refused or timeout
Possible causes:
- Network connectivity issues
- Firewall blocking outbound HTTPS
- Incorrect URL
- Verify network connectivity:
curl https://mcp.shingleai.com/health - Check firewall rules allow outbound HTTPS (port 443)
- Ensure you’re using
https://nothttp://
401 Unauthorized
401 Unauthorized
403 Forbidden
403 Forbidden
Possible causes:
- Insufficient permissions for requested tool
- Monthly call limit exceeded
- Account suspended
- Check the error message for details
- Verify your MCP key has the required permissions
- Check your usage in the dashboard
- Upgrade your plan if you’ve hit the monthly limit
429 Rate Limited
429 Rate Limited
Possible causes:
- Too many requests in a short period
- Exceeding 100 requests per minute
- Implement request queuing or throttling
- Use exponential backoff when retrying
- Wait for the
retryAfterduration before retrying
SSE connection drops
SSE connection drops
Possible causes:
- Network instability
- Idle timeout
- Server maintenance
- Implement automatic reconnection logic
- Send periodic ping messages to keep the connection alive
- Check status.shingleai.com for service issues
mcp-remote not connecting
mcp-remote not connecting
Possible causes:
- Incorrect configuration path
- Environment variable not set
- npx not found
- Verify the configuration file path for your OS
- Restart Claude Desktop after configuration changes
- Ensure Node.js and npm are installed and in your PATH
- Try running
npx mcp-remote --versionto verify installation
Session Management
MCP connections are stateful. Each connection receives a unique session ID that persists for the duration of the connection.- Session IDs are generated automatically on connection
- Sessions expire after extended idle periods
- Reconnections create new sessions - previous session state is not preserved
Design your agent to be stateless where possible. Don’t rely on server-side session state persisting between tool calls.