# Integrations

> Connect GitHub, social accounts and translation services. Every connection is also something Brain can use.

Open **Integrations** in the sidebar, pick a service, and press **Connect**. Owners and admins connect and disconnect. Each service page shows its **Health** and **What Brain can do with it**.

## Available

| Service | Status | How you connect |
|---|---|---|
| GitHub | live | install the Lefine GitHub App on your organization or account |
| X | beta | sign in to X |
| LinkedIn | beta | sign in to LinkedIn (your profile; company pages later) |
| Bluesky | beta | handle + an app password (never your account password) |
| Mastodon | beta | sign in on your server |
| Telegram | beta | bot token + channel; the bot must be an admin with "Post messages" |
| Discord | beta | a channel webhook URL |
| MCP server | beta | the server's URL, plus a bearer token if it asks for one ([below](#mcp-servers)) |

DeepL, Google Translate and Azure Translator take your API key, but apps still translate with Lefine AI until they can pick one.

## GitHub pull requests

AI apps and the API can open a pull request on a connected repository with `integrations.github.open_pull_request`. Each call waits for a person: an owner or admin opens the approval link, **Open a pull request on GitHub**, and sees the repo, the branches, the title and every file with its size. Only that exact call runs, once.

Lefine only writes what a workspace app bound for translations:

- only the locale files an app of this workspace syncs in that repo; every other path is refused,
- never CI or repository files (`.github/`, `.gitlab-ci.yml`, `CODEOWNERS`, `Jenkinsfile` and similar),
- only to branches that start with `lefine/`, never the default branch,
- up to 200 files and 5 MB per pull request.

If a `lefine/` branch already has an open pull request, the new commit is added to it.

## MCP servers

Connect any MCP server, and its tools are offered over Lefine's API and MCP. Pick **MCP server** in Integrations and fill in:

- **Server URL**: its Streamable HTTP address, over `https` on a public host (for example `https://example.com/mcp`),
- **Bearer token**: only if the server asks for one.

Lefine takes the server's name from the server. You can connect more than one.

**Every call waits for a person's yes.** The approval card shows the server, the tool and everything it sends, with a note: "The server is not Lefine: what it does with this, and what it answers, is its own."

**Tools are pinned when checked.** At connect and at each **Check now**, Lefine records each tool. If the server later adds or changes a tool, calls to it are refused until an owner or admin presses **Check now** again.

The URL and the token are stored sealed, because many servers put a key in the URL. Lefine shows only a masked address, such as `https://host/s/…/mcp`.

For agents: `integrations.mcp.list_tools` lists the tools (it does not ask), and `integrations.mcp.call_tool` with `{ tool, arguments }` calls one (it asks first; add `connectionId` with more than one server). Brain does not use MCP servers yet. Limits: 200 tools per server, answers up to 1 MB, a tool's result cut at 20,000 characters.

## Not yet

- **In review** (the network must approve Lefine first): Threads, Instagram, Facebook Page, YouTube, TikTok, Pinterest.
- **Coming:** GitLab, Figma, Webflow, Contentful, Shopify, Slack, Amazon Translate.

## When a connection breaks

The card says **Having trouble**, **Rate limited**, **Sign-in ends soon** or **Needs reconnect**. Press **Reconnect**, or **Check now** after you fix it. LinkedIn asks you to sign in again every 60 days.

Source: https://lefine.ai/en/docs/integrations/
