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

# MCP

> Connect an MCP client to Jinko and read tool results correctly.

Connect the Jinko Builder MCP with OAuth in production or an API key in sandbox.

## Endpoint

```
https://mcp.builders.gojinko.com/mcp
```

## Sandbox

Use the sandbox endpoint to test with isolated data before going to production:

```
https://mcp.builders.sandbox.gojinko.com/mcp
```

> [!NOTE]
>
> Sandbox MCP uses a sandbox API key, not OAuth. Production and sandbox keys are separate. See [Sandbox keys](https://docs.gojinko.com/authentication/api-keys.md#sandbox-keys) to create the key and choose the correct endpoint.

## API key mode

Production uses OAuth by default. If the client does not support OAuth, send the API key as an `Authorization: Bearer jnk_t_your_key` header.

The MCP endpoint does not read `X-API-Key`. That header is for the REST API. See [Which header to send](https://docs.gojinko.com/authentication/api-keys.md#which-header-to-send).

## Guide the model with Jinko Travel

The MCP server gives the model access to Jinko tools. The [Jinko Travel skill](https://docs.gojinko.com/connect/skills.md) is an optional complement that helps the model choose the right tool, follow the booking flow, and apply the right rules for payment and post-booking changes.

The skill does not replace the MCP connection. Use both when your client supports skills or reusable instruction files.

## Tool results

A Builder MCP tool result can contain two channels:

| Channel | What it carries | Who should read it |
| - | - | - |
| `structuredContent` | Complete machine-readable data | Your integration |
| `content[].text` | A concise answer written for the model | The model |

The MCP host decides which channel the model sees. Your integration should always read `structuredContent` when it needs result data.

> [!WARNING]
>
> Do not parse `content[].text` as JSON. Its wording can change. Use `structuredContent` for stable result data.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.