> For the complete documentation index, see [llms.txt](https://glu.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://glu.gitbook.io/docs/getting-started/introduction.md).

# Introduction

### API Overview

The Glu API is formatted around REST and is available through standard HTTP requests, responses and codes. Response bodies are always JSON, as are your request bodies.

We offer two APIs, the first is the [Organisation API](/docs/api-reference/organisation-api.md) sometimes referred to as a backoffice API and allows operations that work across the entire organisations data, common uses are for bulk data extraction, reporting and analytics and syncing between third-party systems and services.&#x20;

The second is the [Store API](/docs/api-reference/store-api.md) which accepts OAuth authentication on behalf of a member, the use cases for this API include offering a headless members area backed by the Glu platform.&#x20;

#### Endpoints

Requests to the organisation API should be sent to: <https://api.glu.io>

Requests to the store API will always be relative to the the store URL, in a format like: <https://yourstorename.glu.io>

#### Responses

* **Monetary values** are returned as integers in the lowest denomination.
* **Date and datetimes** are always DateTime objects and are always UTC.

### Model Context Protocol (MCP)

These guides and the reference documentation are available as an MCP server. These provide tools and guidance to AI agents on how to interact with the Glu API.

{% tabs %}
{% tab title="VS Code" %} <a href="vscode:mcp/install?%7B%22name%22%3A%22API%20Documentation%22%2C%22url%22%3A%22https%3A%2F%2Fglu.gitbook.io%2Fdocs%2F~gitbook%2Fmcp%22%7D" class="button primary" data-icon="vscode">Connect</a>&#x20;

Clicking connect will open up a new tab and prompt you to open VS Code and add the MCP automatically.
{% endtab %}

{% tab title="Claude Code" %}
{% code overflow="wrap" expandable="true" %}

```shellscript
claude mcp add api-documentation --scope user --transport http https://glu.gitbook.io/docs/~gitbook/mcp
```

{% endcode %}
{% endtab %}

{% tab title="Codex" %}
{% code overflow="wrap" expandable="true" %}

```shellscript
codex mcp add api-documentation --url https://glu.gitbook.io/docs/~gitbook/mcp
```

{% endcode %}
{% endtab %}

{% tab title="Other" %}
Use the url: <https://glu.gitbook.io/docs/~gitbook/mcp>
{% endtab %}
{% endtabs %}
