Prerequisites
Before you begin, make sure you have:- Cursor installed on your machine
- An emma account with API access
- Your emma API Key (available in Settings)
Configuration
Step 1: Get Your API Key
- Log in to emma
- Go to Settings
- Copy your API Key
Step 2: Configure Cursor
Add the emma MCP server to your Cursor configuration file.- macOS / Linux
- Windows
Edit
~/.cursor/mcp.json:Step 3: Restart Cursor
After saving the configuration file, restart Cursor to load the MCP server.Verify the Connection
To verify that emma MCP Server is working correctly, you can use the health check tool:- Open Cursor
- In the AI chat, ask: “Check emma connection status”
- The
emma_health_checktool should return a successful response
Configuration Options
Environment Variables
| Variable | Required | Description |
|---|---|---|
EMMA_API_KEY | Required | Your emma API key |
Troubleshooting
Server Not Starting
Python not found
Python not found
Make sure Python is installed and available in your PATH. You can verify by running:If Python is not found, install it from python.org.
Module not found: emma_mcp
Module not found: emma_mcp
Ensure the emma MCP package is installed correctly. Contact support if you need assistance with installation.
Invalid API Key
Invalid API Key
Double-check that your API key is correct and hasn’t expired. You can generate a new key from emma Settings.
Connection Issues
Health check fails
Health check fails
- Verify your internet connection
- Check that your API key is valid
- Ensure there are no firewall rules blocking the connection
Tools not appearing
Tools not appearing
- Restart Cursor completely
- Check the MCP configuration file for syntax errors
- Verify the server name matches exactly:
emma
Security Best Practices
Use Environment Variables
Instead of hardcoding your API key, consider using environment variables:Then set the environment variable in your shell profile.
Restrict API Key Permissions
If emma supports scoped API keys, use a key with only the permissions you need.
Next Steps
emma MCP Server
Learn about available tools and use cases
Tools Reference
Detailed documentation for all tools