Getting Started
Add MCP servers to an agent
Create an agent, attach one or more MCP servers, and update the server list later from the agent overview.
An agent is the control plane for an agent in Emcy. It groups one or more MCP servers, keeps a system prompt, and gives you a single agent ID to use in the SDK.
Before you start#
Make sure you already have at least one MCP server in MCP Servers.
If you do not, Emcy will block agent creation and prompt you to create a server first.
Create a new agent#
- Open
Agents. - Click
Create Agent. - Enter a Name.
- In MCP Servers, check the servers this agent should use.
- Optionally add a System Prompt.
- Click
Create Agent.
As soon as the agent is created, Emcy takes you to the agent detail page.
What to select in the MCP Servers list#
Each server in the list shows:
- its name
- current status
- tool count
Pick the servers that belong together in one agent experience.
Good patterns:
- one agent for customer support
- one agent for internal operations
- one agent for sandbox or testing tools
Avoid mixing unrelated servers into one agent unless you want one agent to use all of them together.
Add or remove servers later#
You can change the server list at any time.
- Open the agent.
- Stay on the
Overviewtab. - In the MCP Servers card, check or uncheck servers.
- Click
Save.
The agent updates immediately after the save.
What happens after you attach servers#
Once servers are attached, the agent can:
- expose all enabled tools from those servers to the agent
- use those tools in the agent
Playground - power the
Embed Codesnippets in the dashboard
If one of the attached servers uses OAuth, the agent UI will also surface the sign-in flow when that server needs user authentication.
Recommended next step#
After the servers are attached, most teams continue with one of these: