MCP Servers in Cursor: Setup and Differences
Where MCP servers are configured in Cursor, how it differs from a terminal agent, what behaves identically, and what to watch when moving a configuration between clients.
All articles in the guide MCP-серверы · 11
One protocol, different clients. Here is what Cursor does differently and what stays the same.
Where it is configured
The editor settings include an MCP section where servers are connected and their status is visible. Behind the interface is an ordinary config file that can be edited by hand.
There are two levels, as with other clients:
- User level, applying across all your projects.
- Project level, living in the repository and working for anyone who opens it.
As everywhere, secrets go in environment variables rather than the file. A project config with a token inside reaches everyone who clones the repository.
How it differs from a terminal agent
Lifecycle. The server lives with the editor. Close it and the process ends. A terminal agent behaves the same way, but sessions are usually shorter, and the difference shows on servers that are slow to start.
Where you see results. In the editor, tool calls appear in the chat interface, which is easier to observe. In a terminal you read text.
Automation. There is none: an editor does not run on a schedule or fit into CI. If the server is meant for background work, the client has to be a different one.
Permissions. The confirmation model in the editor is its own, and it is worth checking once what runs without asking. That matters most for servers with write access - see security.
What behaves identically
Practically everything else:
- The server itself. The same server connects to any compatible client with no changes.
- Tool selection. The agent chooses by description, and description quality matters more than the client.
- Context cost. Tool descriptions occupy space in every request regardless of client.
- The debugging order. Run it by hand, check stdout, check variables, restart the client - see setup.
Porting a configuration between clients
The entry format is similar but not identical: field names and file structure differ per client. Copying blindly usually ends with the client reading the file, failing to parse it, and silently running with no servers.
What to check when porting:
- The full path to the executable. Different clients launch processes in different environments, and
PATHmay differ. - Environment variables. What was picked up in one client may not be in another. Set them explicitly in the server entry.
- The configuration level. User versus project: a server that “disappeared” is often defined somewhere other than where you are looking.
A practical rule: port one server at a time and verify each. Five servers added at once tell you nothing about which one broke.
Next
The general procedure is in how to connect an MCP server. Terminal-agent specifics are in MCP servers in Claude Code. The tools themselves are compared in Claude Code or Cursor. The overview is in the MCP guide.
FAQ
Where are MCP servers configured in Cursor?
The editor settings have an MCP section that lists connected servers and their status. Behind it is a config file you can edit directly: the user level applies across projects, the project level lives in the repository.
Can the same server be used in Cursor and in a terminal agent?
Yes, that is the point of the protocol: a server is written once and connects to any compatible client. Only the location of the configuration differs; the server itself needs no changes.
Why does a server work in one client and not another?
Almost always the environment. Clients launch processes differently, and environment variables or PATH may differ. Using the full path to the executable and setting variables explicitly in the config resolves most cases.
- MCP Servers: What They Are and Why They ExistGuide
- An MCP Server for 1C: Connecting an Agent to an Accounting SystemWhat users of the 1C accounting platform want from an AI agent, the options for reaching the data, how to wrap HTTP services and OData, and where the permission and security lines sit.
- How to Connect an MCP Server to Claude Code and CursorWhere MCP configuration lives, how to connect a server step by step, how to confirm the agent really sees it, and what to do when the server never appears.
- Running a Local MCP ServerHow a local MCP server differs from a remote one, how it is launched, how to limit its file access, and how to debug it when the client shows no errors.
Done for you
I will connect your services and data to AI through MCP
A custom MCP server for your CRM, database or internal API, with access rules and logs.
from $1,500 · 1 to 2 weeks