OConsole Discovery API

What a client reads before it knows where to authenticate.

GitHub OpenAPI

Operations 1

GET /.well-known/oauth-protected-resource Protected resource metadata #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/odooconsole-com:odooconsole-com-discovery-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

odooconsole-com-discovery-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OConsole MCP Discovery API
  version: 1.1.0
  summary: One MCP endpoint for every instance on your account.
  description: 'Every connector points at `https://mcp.odooconsole.com/mcp`. What a token carries decides what it reaches: a token for **all instances** reaches every instance''s ERP on your account — using its remembered active selection or a per-call override — plus the provisioning tools; a token for **one instance** reaches only that instance''s ERP; a token for the account reaches the provisioning tools alone. Adding an instance issues no new hostname and needs no change in your client — and an all-instances connector reaches it the moment it exists, with nothing to re-authorise. ## Connecting a client


    Point any MCP client at `https://mcp.odooconsole.com/mcp`. It will get a `401` carrying a `WWW-Authenticate` header that names the metadata document below, discover the authorization server from there, register itself, and send you to a consent screen. Nothing has to be configured by hand. 1. **Discover** — `GET /.well-known/oauth-protected-resource` names `https://auth.odooconsole.com` as the authorization server. 2. **Register** — clients that support Dynamic Client Registration (RFC 7591) `POST /oauth2/register` there. No pre-shared client id. 3. **Authorize** — the standard authorization-code flow with PKCE. You sign in to OConsole and pick, on the consent screen, what this connector may reach: **Connect my account** (the default — every instance you own, plus provisioning), a **single instance**, or **Manage my instances** for the account tools alone. 4. **Call** — send the access token as `Authorization: Bearer ` on every request. The choice is part of the grant, not a setting in the client. A **single-instance** connector authorised for `acme` cannot see `beta`, and re-authorising is the only way to point it elsewhere. An **all-instances** connector selects an active instance with `use_instance` (see the `instance` argument below) and reaches every instance you own, including ones created after it was authorised. ## The kinds of grant


    | Grant | Scopes | Reaches |

    | --- | --- | --- |

    | Connect my account | `odoo:*`, `instances:*` | Every instance''s ERP on the account — using the active instance or an explicit `instance` override — **and** the provisioning tools. The default consent choice. |

    | One instance | `odoo:read`, `odoo:write` | That instance''s ERP data — records, models, views. Takes no `instance` argument; the grant fixes it. |

    | The account | `instances:read`, `instances:write` | Create, restart, inspect and delete instances. **No** route to any instance''s data. |


    The scope families stay separable: a single-instance connector holds only `odoo:*` and can never provision, and an account-only connector holds only `instances:*` and can never read a record — so text injected into an Odoo record cannot reach a provisioning tool. The all-instances grant deliberately holds both, for one agent that manages the account and works inside its instances; grant the narrower kinds when a connector should see less. ## Tools


    `tools/list` is authoritative — what follows is what a token of each kind sees today. ### With `instances:*`


    | Tool | Writes | What it does |

    | --- | --- | --- |

    | `setup_options` | – | Available apps, app presets and sample packs, with requirements |

    | `get_context` | – | Account, connection, active instance and context version; opens the picker in MCP Apps hosts |

    | `use_instance` | preference only | Remembers an active instance for this connection |

    | `clear_instance` | preference only | Clears the selection without deleting an instance |

    | `list_instances` | – | Every instance on the account, with state and an active marker |

    | `instance_status` | – | State plus live container health |

    | `instance_logs` | – | Recent log lines; `source` is `odoo` or `sidecar` |

    | `create_instance` | yes | Provisions an instance (Odoo 19) and returns its admin password **once**. Select `apps` individually or use `app_preset` (`manufacturing` or `services`).'
  contact:
    name: OConsole
    url: https://www.odooconsole.com/
servers:
- url: https://mcp.odooconsole.com
  description: The single MCP endpoint for every instance
security:
- odooconsole:
  - odoo:read
tags:
- name: Discovery
  description: What a client reads before it knows where to authenticate.
paths:
  /.well-known/oauth-protected-resource:
    get:
      tags:
      - Discovery
      summary: Protected resource metadata
      operationId: resourceMetadata
      security: []
      description: 'RFC 9728. Published once for the shared endpoint, which is why the instance is carried by the token rather than by the audience: there is one resource identifier here, not one per instance.'
      responses:
        '200':
          description: Where to authenticate, and what may be asked for.
          content:
            application/json:
              example:
                resource: https://mcp.odooconsole.com
                authorization_servers:
                - https://auth.odooconsole.com
                scopes_supported:
                - odoo:read
                - odoo:write
                - instances:read
                - instances:write
                bearer_methods_supported:
                - header
                resource_documentation: https://www.odooconsole.com/docs/mcp
components:
  securitySchemes:
    odooconsole:
      type: oauth2
      description: Authorization code with PKCE. Clients register themselves at `https://auth.odooconsole.com/oauth2/register` (RFC 7591) — there is no client id to copy out of a dashboard.
      flows:
        authorizationCode:
          authorizationUrl: https://auth.odooconsole.com/oauth2/auth
          tokenUrl: https://auth.odooconsole.com/oauth2/token
          refreshUrl: https://auth.odooconsole.com/oauth2/token
          scopes:
            odoo:read: Read records, models and views in the instance this connector is authorised for
            odoo:write: Create, update and delete records in that instance
            instances:read: List instances on the account and read their status and logs
            instances:write: Create, restart and delete instances