How do I get Cursor to use my configured MCP Servers?

I’ve used these MCP Servers in Claude Desktop. Found out Cursor supported MCP so I tried to add here. For the Brave Web Search MCP I tried wrapping it in a bash script that set my API key ENV VAR. For github, I tried the suggestion in another thread of prefixing the env var for the command. Both show green indicators that they loaded and list available tools, but I have no idea how to get Cursor to invoke them? Tried with Claude 3.5 Sonnet in both Chat and Composer windows…

I tried several ways of getting it to invoke them including mentioning specific names of MCP servers and tools. Example below.

Help?

1 Like

Make sure they are running and that you are on Composer Agent mode

I have the same problem as u .
User this MCP Server :GitHub - fengin/search-server: 一个基于MCP协议的搜索服务实现,提供网络搜索和本地搜索功能,Cursor和Claude Desktop能与之无缝集成。
I rewrite it with python and you can change the API KEY in server.py file or config the ENV .
I am running it well now~

They seem to be running, see screenshot. I am using the Composer window. I never noticed “agent” mode and even though I have 3.5 Sonnet as my model selected I only see “normal” as an option?

I have a pro account, is that enough? Sorry, but I am finding it hard to find that info in the docs. I do see their examples show agent / normal but I only have normal…

You need to start a new Composer session to be able to select “agent” mode, you can’t change mode on an already existing session

1 Like

what does this do to context?