> ## Documentation Index
> Fetch the complete documentation index at: https://api-docs.ollang.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub

> Translate repository locale files and open localization pull requests with GitHub MCP and Ollang.

# Ollang MCP + GitHub

<Note>
  GitHub operates the hosted remote MCP server separately from Ollang. It requires a GitHub Copilot seat. Hosts that support OAuth can authorize it interactively; other clients can use a personal access token in an `Authorization: Bearer` header.
</Note>

Use [GitHub's hosted MCP server](https://github.com/github/github-mcp-server/blob/main/docs/remote-server.md) with Ollang MCP to localize repository content and return translated files through pull requests.

## Why GitHub + Ollang?

By connecting GitHub and Ollang, your AI assistant can:

* Work with locale files in repositories
* Create Ollang translation orders and track their IDs
* Prepare translated files for review
* Open pull requests containing completed localization work

## Setup

The hosted endpoint is Streamable HTTP:

`https://api.githubcopilot.com/mcp/`

GitHub also supports per-toolset URLs and a `/readonly` suffix for read-only access. A local/Docker server is available for hosts without remote MCP support.

<Tabs>
  <Tab title="Claude Desktop">
    ```json theme={null}
    {
      "mcpServers": {
        "ollang": {
          "url": "https://mcp.ollang.com/mcp"
        },
        "github": {
          "url": "https://api.githubcopilot.com/mcp/"
        }
      }
    }
    ```
  </Tab>

  <Tab title="Claude Code">
    ```bash theme={null}
    claude mcp add --transport http ollang https://mcp.ollang.com/mcp
    claude mcp add --transport http github https://api.githubcopilot.com/mcp/
    ```
  </Tab>

  <Tab title="Cursor">
    ```json .cursor/mcp.json theme={null}
    {
      "mcpServers": {
        "ollang": {
          "url": "https://mcp.ollang.com/mcp"
        },
        "github": {
          "url": "https://api.githubcopilot.com/mcp/"
        }
      }
    }
    ```
  </Tab>

  <Tab title="Devin">
    Add both remote servers in **Settings > Integrations > MCP Servers**:

    ```json theme={null}
    {
      "mcpServers": [
        {
          "name": "ollang",
          "url": "https://mcp.ollang.com/mcp",
          "transport": "http"
        },
        {
          "name": "github",
          "url": "https://api.githubcopilot.com/mcp/",
          "transport": "http"
        }
      ]
    }
    ```
  </Tab>

  <Tab title="Replit">
    ```json .replit-mcp.json theme={null}
    {
      "mcpServers": {
        "ollang": {
          "url": "https://mcp.ollang.com/mcp",
          "transport": "http"
        },
        "github": {
          "url": "https://api.githubcopilot.com/mcp/",
          "transport": "http"
        }
      }
    }
    ```
  </Tab>

  <Tab title="Lovable">
    Add both remote servers via **Settings > Integrations > MCP Servers**:

    ```json lovable.json theme={null}
    {
      "mcp": {
        "servers": {
          "ollang": {
            "url": "https://mcp.ollang.com/mcp",
            "transport": "http"
          },
          "github": {
            "url": "https://api.githubcopilot.com/mcp/",
            "transport": "http"
          }
        }
      }
    }
    ```
  </Tab>
</Tabs>

## GitHub MCP Capabilities

| Capability     | Description                                              |
| -------------- | -------------------------------------------------------- |
| Remote access  | Hosted Streamable HTTP server at `api.githubcopilot.com` |
| Toolsets       | Select toolsets with per-toolset URLs                    |
| Read-only mode | Add `/readonly` for read-only access                     |

## Example Workflows

### Translate locale files and open a PR

```
Find changed locale source files under src/locales/en in this repository.
Upload them to Ollang, create French and German document orders, and open
a pull request with the delivered files when the orders complete.
```

### Localize a release

```
Read the release notes and UI strings changed since the last release,
create Ollang translation orders for Japanese and Spanish, and prepare a
branch with the translated locale files for review.
```

### Track localization in GitHub

```
Read localization-orders.json, check each Ollang order, and update the
repository's localization tracking issue with completed files and links.
```
