Prerequisites
- The SSE server must be reachable from your machine (local port or public URL).
- The server must implement the MCP SSE transport spec:
GET /sseto open the event stream,POST /messageto receive requests.
Add the server in MIRA
Enter the server URL
Type the base URL of the MCP server (without
/sse).Examples:| Environment | URL |
|---|---|
| Local dev server | http://localhost:3001 |
| Docker container | http://host.docker.internal:3001 |
| Remote server | https://mcp.mycompany.com |
Give the server a name
Enter a short name (e.g.
company-tools). This becomes the tool namespace prefix.Set scope
Choose Session or Global. See Session vs Global.
Connection status
| Status | Meaning |
|---|---|
| 🟢 Connected | SSE stream open; tools discovered |
| 🟡 Connecting | Waiting for the server to respond |
| 🔴 Error | Connection failed; hover for detail |
Security considerations
- Use HTTPS for any remote SSE server to protect tool arguments and results in transit.
- MIRA does not validate the server’s TLS certificate for self-signed certificates on localhost (
http://localhost:*). For all other hosts, a valid certificate is required. - API keys in the Authorization header are stored in the OS keychain, not in the MIRA database.
Troubleshooting
| Symptom | Fix |
|---|---|
Error: ECONNREFUSED | Server is not running on the specified port |
Error: 401 Unauthorized | Check that the Authorization header value is correct |
| Tools list is empty | Ensure the server returns a valid list_tools response |
| Stream drops after 30 s | Add keep-alive pings to the server; MIRA reconnects automatically after 5 s |
Edit this page — Open a pull request