Skip to content

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.

Illustrative workplace handover discussion
Illustrative time off beside a lake
Illustrative team coverage planning

Add the server in three steps

Read details
Add the server in three steps

Add the server in three steps

Add the server in three steps

Before you start: a short checklist

Read details
Before you start: a short checklist

Before you start: a short checklist

Before you start: a short checklist

Setup problem or sign-in problem?

Read details
Setup problem or sign-in problem?

Setup problem or sign-in problem?

Setup problem or sign-in problem?

Questions worth trying once you are connected

Read details
Questions worth trying once you are connected

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.

  1. In Windsurf, open Settings → MCP Marketplace, or edit ~/.codeium/windsurf/mcp_config.json directly.
  2. Add the server URL as a new remote MCP server and save.
  3. 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.

Workplace and time-off editorial photography

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.

Workplace and time-off editorial photography

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.

Workplace and time-off editorial photography

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.

Workplace and time-off editorial photography

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.

Workplace and time-off editorial photography
Setup steps and what each one changes
StepWhere you actWhat it changesIf it is skipped
1. Locate the MCP settingsSettings → MCP Marketplace, or ~/.codeium/windsurf/mcp_config.jsonOpens the place where servers are registeredNo entry exists, so nothing can connect
2. Add the remote server URLMCP settingsRegisters the endpoint as a remote MCP serverThe server is unknown to Windsurf
3. Sign in on first querySign-in prompt shown by WindsurfCompletes the sign-in the first query triggersQuestions 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.

Example prompts and what each one asks about
PromptScopeWhat it asks about
Who's off next week on the design team?One team, forward-looking weekAbsences for that team in the coming week
How many people are out today across all offices?All locations, today onlyPeople currently away across offices
When is the next public holiday in Germany?One country's holiday calendarThe next holiday date for that country
When can Legal and HR meet this month?Two groups, current monthA 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.