Add an MCP Server in Kimchi Studio
Add any third-party MCP server to Kimchi Studio, a local process or a remote URL, from Settings → MCP Servers, and pick how it signs in.
Add any MCP server to Kimchi Studio from Settings → MCP Servers. Studio saves the server to your MCP configuration and reloads the agent; there is no config-file editing and no restart to run.
Before you start, check the server's own documentation: each server has its own dependencies (runtime packages, API keys). Also know how the server runs. A Local process (stdio) server is a command Studio launches on your machine. A Remote URL server is an HTTP endpoint Studio calls.
Add a server
Open MCP Servers settings
In Kimchi Studio, open Settings → MCP Servers. The page lists your servers, each card showing its connection status and tool count.
Start the add form
Click Add MCP server in the section header. Enter a Name; you will reference the server by it later, and Studio locks the name after saving.
Choose the server type
Under Connection, select Local process (stdio) or Remote URL.
Configure a local process server
For Local process (stdio), enter:
- Command: the executable Studio runs when connecting (for example
npx). - Arguments: the command's arguments (for example
-yand@example/mcp-server@latest).
The command runs on your computer whenever Studio connects to the server. Only add MCP servers you trust.
Expand Advanced to set a working directory and environment variables for the process.
Configure a remote URL server
For Remote URL, enter the server's URL (for example https://api.example.com/mcp) and pick an Authentication method. Unless you know the server needs specific credentials, leave it on Auto-detect.
Expand Advanced to add custom headers.
Save
Click Add server. Studio saves the configuration, reloads the agent, and connects right away to check the server. The server's card shows the connection status and its tool count, for example 12 tools.

Settings → MCP Servers, with a remote server added and awaiting sign-in.
Authenticate a remote server
A Remote URL server may ask for a sign-in before the agent can use it. The Authentication dropdown controls how Studio handles that; a Local process (stdio) server authenticates through its environment variables instead.
The rule of thumb: leave it on Auto-detect. Only switch to another option when Auto-detect fails, or when the server's documentation tells you exactly what to enter.
Auto-detect (default)
With Auto-detect, Studio saves the server with no authentication instructions. The harness checks what the server requires when it first connects:
- The server allows anonymous access: it connects straight away, no sign-in.
- The server requires a sign-in: the card shows Auth required; click Sign in to run it in your browser.
- Automatic registration: where the provider supports it, Studio registers itself as an OAuth client, so you fill in nothing.
For most servers this works with no setup at all, which is why it is the default.
None
Choose None when the server has no login. Studio then skips every automatic sign-in attempt.
Bearer token
Choose Bearer token when the server gave you a token directly. Paste it into the token field; Studio stores it securely and never displays it again.
Choose Bearer token from environment variable when the token lives in an environment variable instead. You provide the variable's name; Studio reads its current value on every connect, so a rotated token needs no edit here.
When to switch to OAuth 2.1
Picking OAuth 2.1 means you take manual control of the sign-in: you fill in the credentials yourself instead of relying on automatic registration. You need this when the automatic path cannot work:
- The provider blocks automatic app registration. Google is the classic case: tools cannot register themselves there.
- Server-to-server connections. A machine-to-machine integration with no browser sign-in. Select the Client credentials grant type.
For a blocked provider, create an OAuth app in its settings (for example Google Cloud Console), then paste its client ID and secret into Studio.
| Field | Required | Notes |
|---|---|---|
| Grant type | yes | Authorization code signs in as a user through the browser; Client credentials authenticates server-to-server. |
| Client id | sometimes | From the OAuth app you created with the provider. Needed only when the provider does not support automatic registration. |
| Client secret | no | Also from the provider; not all providers issue one. |
| Scope | no | The permissions to request; copy from the server's documentation. |
| Redirect URI | no | Defaults to http://localhost:19876/callback. Override it only when your OAuth app already has a different URI registered, for example from another tool. |
If you keep the default, register http://localhost:19876/callback as an allowed redirect URI in your OAuth app.
Troubleshooting a connection that won't sign in
- Read the server's card first. An open server connects on its own; a server that needs sign-in shows Auth required.
- Click Sign in to run the browser sign-in again. If the provider cannot register Studio automatically, the error says so and points at the OAuth fields.
- Enter the credentials manually. Edit the server, select OAuth 2.1, and fill in the fields from the server's documentation.
- Wrong or stale credentials? Open the server for editing. Type a new value over the stored placeholder, or click Clear stored token.
Advanced settings
The Advanced section of the form holds settings most servers never need:
| Setting | What it controls |
|---|---|
| Custom headers | Extra HTTP headers sent with each request, for example an Authorization or API key header. Click + Add header. |
| Lifecycle | When the server connects: Default (lazy) (the default), Lazy (connect on demand), Eager (auto-connects once authorized), or Keep alive (always connected). |
| Idle timeout (ms) | Milliseconds of inactivity before Studio closes an unused connection. Leave empty to keep the default. |
| Direct tools | Tools the agent can call: Discover on demand (default), Expose all tools directly, Expose selected tools, or Expose no tools. Never disables direct tool calls. |
| Exclude tools | Hides chosen tools from the agent. Both pickers let you click to discover tools the server exposes and choose from the list. |
| Debugging | Expose resources makes the server's resources available to the agent, on top of its tools. Debug turns on verbose logging. |
Edit or remove a server
From Settings → MCP Servers, use the actions on the server's card:
- Edit: change anything except the server's name and type. After saving, Studio reloads and reconnects automatically.
- Remove: deletes the server after a confirmation.
Studio never displays stored secrets (bearer tokens, client secrets, header and environment variable values) in cleartext. The field shows a stored placeholder instead. Type a new value to replace it, or click Clear stored token or Clear stored secret to remove it.
Where the configuration is stored
Studio saves custom servers to ~/.config/kimchi/harness/mcp.json, the same file the Kimchi TUI reads, so servers you add in one appear in the other. If Studio detects previously imported legacy MCP entries when you open the page, it offers to migrate them.
An active project's .kimchi/mcp.json may add or override servers for that project only.
Using the Kimchi TUI or the IDE extension instead of Studio? They read the same configuration. See Connect MCP servers for file-based configuration and the
/mcpcommand.
Next steps
Updated 5 days ago