GitDBDocs
GitDB Desktop

MCP servers

GitDB's built-in MCP server, adding your own MCP servers, secrets, sign-in, Connect & check, and what each status means.

MCP servers give agents extra tools. In GitDB Desktop there are two kinds:

  • GitDB's built-in server (named gitdb). The app connects it for you on every thread that works in a GitDB repository — it's how agents reach the repository there. You don't set it up and can't edit it.
  • Your own servers — external MCP servers you add in the app. They're used on threads that work in a local folder.

Threads in a GitDB repository use only the built-in server. The manager says so for those threads: "This is a GitDB workspace thread: external MCP servers are never loaded into it — only the embedded gitdb server."

Your server list belongs to the account you're signed in with (offline mode has its own list).

Open the MCP servers manager

From a thread's ··· menu, choose MCP servers….

The manager shows:

SectionWhat's in it
EmbeddedGitDB's built-in gitdb server, status only: "GitDB Desktop's own server. It is app plumbing, managed by the app — not editable here."
App-managedThe servers you add here.

Add a server

Click Add server and fill in the form:

FieldWhat to enter
NameA name for the server.
Transportstdio (a command), HTTP, or SSE.
Command and Arguments (one per line)For stdio: the program to run, and its arguments.
URLFor HTTP and SSE: the server's address.
Timeout (ms, optional)Leave empty to use the default.
EnabledWhether the server is used.
SecretsValues the server needs but that you don't want visible — see below.

Then click Save.

A few names and combinations aren't allowed, and the manager explains how to fix them:

  • gitdb, and any name starting with gitdb_, belong to GitDB Desktop's own server.
  • You can't have two servers with the same name.
  • The command, arguments and URL can't contain ${…} placeholders. Write the literal value, and put anything secret in the server's secrets instead.

Secrets

For a stdio server, secrets are environment variables, one NAME=value per line. For an HTTP or SSE server, they're request headers, one Name: value per line — for example an Authorization header.

  • Secrets are stored encrypted with your operating system's keychain. If the keychain isn't available, a server with secrets isn't saved at all.
  • "Stored secret values are never shown — they only travel to the app once, when saved."
  • When you edit a server that has secrets, choose Keep the stored secrets, Replace (type all the values again), or Clear.

Enable, disable, edit and remove

Each of your servers has Edit, Disable (or Enable) and Remove buttons. Remove asks you to click again ("Click again to remove") and deletes the server together with its stored secrets.

Statuses

Under each of your servers, the manager shows its status:

StatusMeaning
● ConnectedThe server is connected.
◐ Connecting / ◐ StartingIt's on its way up.
⚠ Needs sign-inThe server needs you to sign in — see Sign-in.
✕ FailedIt couldn't connect. The server's own error is shown next to it.
○ DisabledIt's turned off.
○ Not started / ○ CancelledIt hasn't been started, or its start was cancelled.
? UnknownNo status has been read yet.

Next to each status is how fresh it is: live (read from the thread's running session just now), as of a time (the last status the app knew), or never checked. You can also expand View tools to see what a server offers.

Opening the manager never starts or connects anything by itself, so a status can be out of date. When it is, a line under the buttons says why — for example "This thread has no live session: statuses are the last known ones. Send a message to start one, or use Connect & check."

Connect & check

Connect & check "Connects your servers once to read their status". Use it to get a fresh status for every server, for example after adding one.

Sign-in

Some servers need you to sign in (OAuth). When a server needs it, its status is Needs sign-in and an Authenticate button appears:

  1. Click Authenticate. Your browser opens the server's sign-in page, and the manager says "Sign-in opened in your browser for" the server.
  2. Finish signing in in the browser.

Authenticate needs an open thread to sign in through.

When a server asks you something

An MCP server can ask you for input while an agent works. A window titled with the question (or "MCP server" name "needs input") appears and says the server "is waiting on this answer". Fill it in and click Submit, or click Skip to decline — the server is told you chose not to answer.

If your organization turns this off

Your organization can turn off external MCP servers on your computer. The manager then shows a notice that "External MCP servers are disabled by this machine's managed policy" and that "The manager is read-only". You can still see statuses, but you can't add, edit, enable, disable or remove servers, or sign in to them. GitDB's built-in server is not affected.

On this page