Background
For local development, connecting to MCP servers such as Composio often encounters cross-domain or protocol mismatch problems. scira MCP Chat provides three transmission methods to adapt to different environments.
prescription
- HTTP mode: For remote servers, the full API endpoint (e.g. https://api.composio.dev) needs to be filled in the settings
- SSE model: real-time data streaming scenario, need to ensure that the server supports the EventSource protocol
- stdio mode: best solution for local tool integration, need to add parameter to startup command (e.g. node server.js -stdio)
troubleshooting
- Check firewall settings, open port 3000 and MCP server port
- Verify the NEXT_PUBLIC_API_BASE_PATH configuration in the .env file
- Debugging Node.js subprocesses with chrome://inspect
This answer comes from the articleScira MCP Chat: open source AI chat tool with support for multi-platform AI models and tool extensionsThe