Install Sentiment Analysis in Cursor

What you need first

  • Cursor, installed.
  • Nothing else: the server runs on its publisher's machines and Cursor connects to it.

Steps

  1. Open ~/.cursor/mcp.json, or create it. For one project only, use .cursor/mcp.json in that project.
  2. Add this block. If the file already has mcpServers, add only the entry inside it.
{
  "mcpServers": {
    "sentiment-analysis": {
      "url": "https://4chilles-sentiment-analysis.hf.space/gradio_api/mcp/sse"
    }
  }
}
  1. Save the file. In Cursor's settings, find the server in the MCP section and turn it on if it is off.

Check it worked

Ask Cursor: List the tools of sentiment-analysis. It should list 1 tool.

If it does not start

401 Unauthorized
The endpoint wants a sign-in or a key. Sign in when Cursor asks.
Nothing changes after a restart
The file is not valid JSON any more. Look for a missing comma where the block was added.

Back to Sentiment Analysis