Windsurf MCP server: ask about leave without leaving your editor
Windsurf can talk to your leave management account through a remote MCP server. Once the server URL is registered and you have signed in, you can type ordinary questions about who is away, which public holidays are coming up, and when two teams are both available — and read the answer in the editor instead of switching to another tab. This guide covers the three setup steps, the sign-in moment on your first question, and the kinds of prompts that work well.



Questions worth trying once you are connected

Questions worth trying once you are connected
Add the server in three steps
The connection is a single remote endpoint, so there is nothing to install and no local package to keep updated. You can reach it from the editor's MCP Marketplace or by editing the Windsurf configuration file directly.
- In Windsurf, open Settings → MCP Marketplace, or edit ~/.codeium/windsurf/mcp_config.json directly.
- Add the server URL as a new remote MCP server and save.
- The first time you query your leave data, Windsurf will prompt you to sign in.
Use the copy control beside the URL to avoid a mistyped host or a dropped path segment — the address must match exactly, including the trailing /mcp.

Before you start: a short checklist
- Windsurf is installed and you can open its settings.
- You know whether you will use the Marketplace flow or edit the JSON config file by hand.
- You have a leave management account you can sign in with when the prompt appears.
- You have copied the server URL rather than retyping it.
If you edit the config file manually, save before returning to the editor; an unsaved file looks identical to a server that was never added.

Setup problem or sign-in problem?
Two failures look similar from the outside, and separating them saves time.
A setup problem means the server never became reachable: the URL is wrong, the entry was not saved, or you are looking at a different configuration than the one Windsurf loaded. The symptom is that questions about leave are not answered at all, or the server does not appear as an option.
A sign-in problem means the server is registered but the first-query sign-in prompt has not been completed. The tell is that prompt appearing when you ask a question. Complete it, then repeat the question — do not re-add the server, which only creates a duplicate entry.
If neither explanation fits, remove the entry, re-add the copied URL, and try one short question before attempting a longer one.

Questions worth trying once you are connected
The server is there to answer questions about leave records, holidays and availability. Four prompts from the setup page show the range of things you can ask:
- "Who's off next week on the design team?"
- "How many people are out today across all offices?"
- "When is the next public holiday in Germany?"
- "When can Legal and HR meet this month?"
Each is a question, not a fixed command: what comes back depends on the leave records and holiday calendars configured in your own account, so treat the wording as a starting point you can adapt to your teams and locations.
Each question is a read. The connection surfaces information; it does not file, approve or cancel a leave request, so keep those actions in your leave management account.

Using a different AI client
Windsurf is one of the AI clients that can connect to the same server. If you work across more than one editor or assistant, the pattern is the same: register the remote endpoint, then sign in on first use. A link on this page leads to the wider MCP server overview for the other clients.

| Step | Where you act | What it changes | If it is skipped |
|---|---|---|---|
| 1. Locate the MCP settings | Settings → MCP Marketplace, or ~/.codeium/windsurf/mcp_config.json | Opens the place where servers are registered | No entry exists, so nothing can connect |
| 2. Add the remote server URL | MCP settings | Registers the endpoint as a remote MCP server | The server is unknown to Windsurf |
| 3. Sign in on first query | Sign-in prompt shown by Windsurf | Completes the sign-in the first query triggers | Questions return no leave information |
Steps reflect the setup sequence described for the Windsurf editor; menu labels and config paths can change between Windsurf releases, so confirm them in your installed version.
| Prompt | Scope | What it asks about |
|---|---|---|
| Who's off next week on the design team? | One team, forward-looking week | Absences for that team in the coming week |
| How many people are out today across all offices? | All locations, today only | People currently away across offices |
| When is the next public holiday in Germany? | One country's holiday calendar | The next holiday date for that country |
| When can Legal and HR meet this month? | Two groups, current month | A time when both groups are available |
These are illustrative prompts taken from the setup page; the exact answer depends on the leave records and holiday calendars configured in your account.
Frequently asked questions
What URL do I add as the remote MCP server?
Use {{MCP_BASE_URL}}/mcp exactly as written. Copy it with the copy control rather than retyping, because a changed host or a missing /mcp path will stop the connection from working.
Can I configure Windsurf without the MCP Marketplace?
Yes. Open Settings → MCP Marketplace, or edit ~/.codeium/windsurf/mcp_config.json directly, then add the URL as a new remote MCP server and save.
Why is Windsurf asking me to sign in?
The sign-in prompt appears the first time you query your leave data. Complete it and repeat your question. What credentials the prompt expects is set by Windsurf and your leave management account; the setup page does not spell out the method.
Can I request or approve leave from Windsurf?
The connection is for asking questions about time off, holidays and coverage. Requesting, approving or cancelling leave stays in your leave management account.
Does this work with AI clients other than Windsurf?
Yes — the same remote server can be registered in other AI clients, with the same pattern of adding the endpoint and signing in on first use. The MCP server overview lists the wider set.

