---
metadata:
  - name: generator
    content: Diplodoc Platform v5.57.3
alternate:
  - https://sourcecraft.dev/portal/docs/en/sourcecraft/operations/connect-to-mcp.md
  - https://sourcecraft.dev/portal/docs/ru/sourcecraft/operations/connect-to-mcp.md
  - href: en/sourcecraft/operations/connect-to-mcp.md
    type: text/markdown
    title: Markdown version
  - href: ../../llms.txt
    type: text/markdown
    title: llms.txt
title: MCP servers
description: SourceCraft, Yandex Cloud, and third-party MCP servers and methods used to connect them to your AI agents.
---
> **Documentation Index:** Fetch the complete configuration index at https://sourcecraft.dev/portal/docs/en/llms.txt


<!-- source: en/_includes/code-assistant/mcp-servers.md -->
# SourceCraft and Yandex Cloud MCP servers

AI agents can work with external systems via the Model Context Protocol (MCP). This is a universal method for connecting tools and data sources to a compatible agent, including a third-party one.

SourceCraft and Yandex Cloud have MCP servers to work with repositories and cloud resources. We also recommend using MCP Context7 for access to up-to-date documentation for popular libraries and services.

#|
|| **Name** | **Description** | **Authentication** | **Code Assistant for VS Code available in the Marketplace** ||
|| [Context7](https://context7.com/docs/overview) | Provides the agent with documentation for popular development libraries and their use cases | Not required | ![yes](../../_assets/common/yes.svg) ||
|| SourceCraft MCP | Provides tools you need to [work with SourceCraft](https://sourcecraft.dev/portal/docs/en/sourcecraft/operations/work-with-mcp.md): pull requests, issues, milestones, and other entities | Not required in Code Assistant. In external agents, a [PAT](https://sourcecraft.dev/portal/docs/en/sourcecraft/security/pat.md) is required | ![yes](../../_assets/common/yes.svg) ||
|| [Yandex Cloud Data Catalog Consumer](https://sourcecraft.dev/yandex-cloud/mcp/browse/servers/datacatalog-consumer-mcp-server/README.md) | Allows searching for tables, views, and queries in a centralized organization metadata repository and build table and column-level lineage graphs | [IAM_token](https://yandex.cloud/en/docs/iam/concepts/authorization/iam-token) | ![yes](../../_assets/common/yes.svg) ||
|| [Yandex Cloud Documentation](https://sourcecraft.dev/yandex-cloud/mcp/browse/servers/documentation-mcp-server/README.md) | Provides real-time access to official [Yandex Cloud documentation](https://yandex.cloud/en/docs/) via generative search | Not required | ![yes](../../_assets/common/yes.svg) ||
|| [Yandex Cloud Toolkit](https://sourcecraft.dev/yandex-cloud/mcp/browse/servers/toolkit-mcp-server/README.md) | Deploys simple apps in Yandex Cloud using [Yandex Compute Cloud](https://yandex.cloud/en/docs/compute/), [Yandex Virtual Private Cloud](https://yandex.cloud/en/docs/vpc/), [Yandex Identity and Access Management](https://yandex.cloud/en/docs/iam/), [Yandex Object Storage](https://yandex.cloud/en/docs/storage/), and [Yandex Managed Service for YDB](https://yandex.cloud/en/docs/ydb/) | [IAM_token](https://yandex.cloud/en/docs/iam/concepts/authorization/iam-token) | ![yes](../../_assets/common/yes.svg) ||
|| [Yandex Search](https://sourcecraft.dev/yandex-cloud/mcp/browse/servers/search-mcp-server/README.md) | Performs classic and generative web search using [Yandex Search API](https://aistudio.yandex.ru/docs/en/search-api/concepts/) | [IAM_token](https://yandex.cloud/en/docs/iam/concepts/authorization/iam-token) | ![yes](../../_assets/common/yes.svg) ||
|| [Yandex Serverless Containers MCP](https://sourcecraft.dev/yandex-cloud/mcp/browse/servers/containers-mcp-server/README.md) | Manages containers: deploys revisions, configures scaling, and works with container registries | [IAM_token](https://yandex.cloud/en/docs/iam/concepts/authorization/iam-token) | ![no](../../_assets/common/no.svg) ||
|| [Yandex Cloud Functions MCP](https://sourcecraft.dev/yandex-cloud/mcp/browse/servers/functions-mcp-server/README.md) _preview_ | Creates and deploys functions, manages their versions, tags, and scaling policies | [IAM_token](https://yandex.cloud/en/docs/iam/concepts/authorization/iam-token) | ![no](../../_assets/common/no.svg) ||
|| [Yandex Cloud Serverless Triggers MCP](https://sourcecraft.dev/yandex-cloud/mcp/browse/servers/triggers-mcp-server/README.md) _preview_ | Creates function and container triggers activated by timer or events in other services | [IAM_token](https://yandex.cloud/en/docs/iam/concepts/authorization/iam-token) | ![no](../../_assets/common/no.svg) ||
|| [Yandex Cloud Serverless Workflows MCP](https://sourcecraft.dev/yandex-cloud/mcp/browse/servers/workflows-mcp-server/README.md) _preview_ | Creates and executes workflows described in the YAML specification and manages their execution schedule | [IAM_token](https://yandex.cloud/en/docs/iam/concepts/authorization/iam-token) | ![no](../../_assets/common/no.svg) ||
|| [Yandex API Gateway MCP](https://sourcecraft.dev/yandex-cloud/mcp/browse/servers/apigateway-mcp-server/README.md) _preview_ | Manages API gateways, OpenAPI specifications, custom domains, and WebSocket connections | [IAM_token](https://yandex.cloud/en/docs/iam/concepts/authorization/iam-token) | ![no](../../_assets/common/no.svg) ||
|| [Yandex Cloud MCP Gateway](https://sourcecraft.dev/yandex-cloud/mcp/browse/servers/mcpgateway-mcp-server/README.md) _preview_ | Creates MCP gateways and sets up tools for calling functions, containers, HTTP endpoints, and workflows | [IAM_token](https://yandex.cloud/en/docs/iam/concepts/authorization/iam-token) | ![no](../../_assets/common/no.svg) ||
|| [YDB MCP](https://github.com/ydb-platform/ydb-mcp) | Allows your agent to run queries against Managed Service for YDB databses, get their schemas, and analyze query plans | No authentication, login and password, access token, or [service account's authorized key](https://yandex.cloud/en/docs/iam/concepts/authorization/key) | ![no](../../_assets/common/no.svg) ||
|#

{% note tip %}

For up-to-date information on Yandex Cloud MCP servers, refer to the [Yandex Cloud MCP Servers](https://sourcecraft.dev/yandex-cloud/mcp) repository.

{% endnote %}

## Installing an MCP server from the Marketplace in Code Assistant for VS Code {#installation-from-marketplace}

1. In the chat's top panel, click ![image](../../_assets/console-icons/thumbs-up.svg) **Marketplace** and go to the **MCP** tab.
1. Select the MCP server of interest and click **Install**.

    {% note warning %}

    Pay attention to the prerequisites and fulfill them before installing the MCP server.

    {% endnote %}

1. Select server **Installation Scope**:

    * **Global**: The MCP server will be available in all workspaces.
    * **Project**: The MCP server will be available at the Git repository level.

Select the installation method and install the server.

## Universal MCP server installation for any agent {#universal-installation}

Below are the examples of connecting a SourceCraft MCP at `https://api.sourcecraft.tech/mcp`. Third-party agents require a [PAT](https://sourcecraft.dev/portal/docs/en/sourcecraft/security/pat.md) for authentication.

{% note warning %}

Only repositories covered by the PAT will be available to the third-party agent via the SourceCraft MCP. Do not add the PAT and configuration files containing it to a version control system.

{% endnote %}

{% list tabs %}

- Code Assistant (VS Code)

  If the repository resides in SourceCraft, Code Assistant automatically connects the SourceCraft MCP. You need no PAT or manual server configuration.

  1. Open the SourceCraft repository in VS Code.
  1. In the left-hand panel, select the Code Assistant plugin, then click ![image](../../_assets/console-icons/gear.svg) **Settings** in the top panel.
  1. Go to **MCP servers** and turn on **Enable MCP servers**.

- Claude Code

  1. [Get](https://sourcecraft.dev/portal/docs/en/sourcecraft/security/pat.md) a PAT.
  1. Add the server to the custom configuration:

     ```bash
     claude mcp add --transport http --scope user \
       --header "Authorization: Bearer <PAT>" \
       sourcecraft https://api.sourcecraft.tech/mcp
     ```

  1. Test the connection:

     ```bash
     claude mcp list
     ```

- Cursor

  1. [Get](https://sourcecraft.dev/portal/docs/en/sourcecraft/security/pat.md) a PAT.
  1. Create a file named `.cursor/mcp.json` in the project root:

     ```json
     {
       "mcpServers": {
         "sourcecraft": {
           "url": "https://api.sourcecraft.tech/mcp",
           "headers": {
             "Authorization": "Bearer <PAT>"
           }
         }
       }
     }
     ```

  1. Open the Cursor settings and make sure the `sourcecraft` server is connected.

- Codex

  1. [Get](https://sourcecraft.dev/portal/docs/en/sourcecraft/security/pat.md) a PAT.
  1. Save the PAT in the `SOURCECRAFT_PAT` environment variable:

     ```bash
     export SOURCECRAFT_PAT="<PAT>"
     ```

  1. Add the server:

     ```bash
     codex mcp add sourcecraft \
       --url https://api.sourcecraft.tech/mcp \
       --bearer-token-env-var SOURCECRAFT_PAT
     ```

  1. Test the connection:

     ```bash
     codex mcp list
     ```

- OpenCode

  1. [Get](https://sourcecraft.dev/portal/docs/en/sourcecraft/security/pat.md) a PAT.
  1. Save the PAT in the `SOURCECRAFT_PAT` environment variable:

     ```bash
     export SOURCECRAFT_PAT="<PAT>"
     ```

  1. Add the server to the global file named `~/.config/opencode/opencode.json` or project file named `opencode.json`:

     ```json
     {
       "$schema": "https://opencode.ai/config.json",
       "mcp": {
         "sourcecraft": {
           "type": "remote",
           "url": "https://api.sourcecraft.tech/mcp",
           "enabled": true,
           "oauth": false,
           "headers": {
             "Authorization": "Bearer {env:SOURCECRAFT_PAT}"
           }
         }
       }
     }
     ```

  1. Test the connection:

     ```bash
     opencode mcp list
     ```

- Roo Code / Zoo Code

  1. [Get](https://sourcecraft.dev/portal/docs/en/sourcecraft/security/pat.md) a PAT.
  1. Open the global file named `mcp_settings.json` or create a file named `.roo/mcp.json` in the project root:

     ```json
     {
       "mcpServers": {
         "sourcecraft": {
           "type": "streamable-http",
           "url": "https://api.sourcecraft.tech/mcp",
           "headers": {
             "Authorization": "Bearer <PAT>"
           }
         }
       }
     }
     ```

  1. Open MCP settings in Roo Code or Zoo Code and make sure the `sourcecraft` server is enabled.

{% endlist %}

{% note tip %}

You do not have to connect the SourceCraft MCP in the [SourceCraft CLI](https://sourcecraft.dev/portal/docs/en/sourcecraft/operations/cli-quickstart.md) or in the [agent mode of the Code Assistant plugin for JetBrains IDE](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/jb-agent.md). Interaction with SourceCraft takes place via a built-in skill.

{% endnote %}

#### Useful links {#see-also}


* [Yandex Cloud documentation MCP server](https://yandex.cloud/en/docs/overview/mcp-doc-server)
* [Connecting a YDB MCP to Cursor](https://yandex.cloud/en/docs/ydb/operations/ydb-mcp-cursor)
* [Yandex Cloud MCP Servers repository](https://sourcecraft.dev/yandex-cloud/mcp/browse/servers)
* [YDB MCP repository](https://github.com/ydb-platform/ydb-mcp)
* [Working with a SourceCraft MCP server](https://sourcecraft.dev/portal/docs/en/sourcecraft/operations/work-with-mcp.md)
* [MCP overview](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/agent/mcp/overview.md)
* [MCP in the Code Assistant plugin for VS Code](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/agent/mcp/using-mcp-in-ca.md)
* [What is MCP](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/agent/mcp/what-is-mcp.md)
* [MCP transport in the Code Assistant plugin for VS Code](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/agent/mcp/server-transports.md)
* [What makes MCP different from the REST API](https://sourcecraft.dev/portal/docs/en/code-assistant/operations/agent/mcp/mcp-vs-api.md)
<!-- endsource: en/_includes/code-assistant/mcp-servers.md -->
