This guide covers how to connect AI agents to the ShingleAI MCP server, including the available transports and troubleshooting common issues.Documentation Index
Fetch the complete documentation index at: https://docs.shingleai.com/llms.txt
Use this file to discover all available pages before exploring further.
Connection URL
The MCP server is available at:Authentication
Modern MCP clients (Claude Desktop, Claude Code, Cursor, Windsurf) handle OAuth 2.1 + PKCE automatically — point them at the connection URL above and they walk you through sign-in and consent. See Authentication for the full flow.Transports
The MCP server supports two transports:- Streamable HTTP —
https://mcp.shingleai.com/mcp. The current MCP transport; recommended for new clients. - Server-Sent Events (SSE) —
https://mcp.shingleai.com/sse. Kept for compatibility with clients that implement the earlier SSE transport.
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 the requested tool
- Monthly call limit exceeded
- Account suspended
- Check the error message for details
- 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 60 seconds per (user, client)
- Implement request queuing or throttling
- Use exponential backoff when retrying
- Wait for the duration in the
Retry-Afterresponse header 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
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.
Next Steps
Available Tools
Explore the complete list of MCP tools
Integrations
See examples of MCP integrations