API keys, OAuth and MCP: the tutorial, tool by tool.

To connect an AI or an automation to your tools, you need three things: a key or an OAuth connection, the address of an MCP server when the vendor publishes one, and the right setting in Claude, ChatGPT or Le Chat. Here are the steps for Nexus and fifty tools, one by one.

# 1. la clé, rangée hors du code
$ export NOTION_CLE=ntn_••••••••

# 2. un appel qui ne modifie rien
$ curl https://api.notion.com/v1/users/me \\
    -H "Authorization: Bearer $NOTION_CLE" \
    -H "Notion-Version: 2022-06-28"

{ "object": "user", "type": "bot" }
  • 51tutorials, including Nexus
  • 21tools with an official MCP server
  • 4tabs per tool

Choose your tool.

Each tool has four tabs: create the key, use OAuth, find its MCP server, connect it to an AI. Menu names are those of the French interface where one exists.

The agency platform · API and MCP

Nexus

Connect an AI or a script to your Nexus projects: records, tasks, client requests, access, server commands and Studio, through the MCP server or the API.

  • MCP and REST
  • Key or personal token
  • Official MCP server
  1. 1

    Create an API key from your Nexus workspace: the Nexus documentation, linked below, gives the exact path.

  2. 2

    The key acts with the permissions of the person who created it, no more, no less.

  3. 3

    A read-only key can only call the read tools: start with that.

  4. 4

    Store it in a vault or an environment variable, NEXUS_CLE, never in the code or in a web page.

Send with every call
Authorization: Bearer <key>

The rules to follow before creating a key.

  1. One key per use.

    One for the CRM, another for the website. If one leaks, you revoke only that one.

  2. Minimal permissions.

    Read-only first. Write access once the need is documented and tested.

  3. Never in the code.

    A vault or an environment variable. Never a web page, a git repository or an email.

  4. An expiry date.

    When the tool allows it. And a new key whenever someone leaves the team.

Your questions.

What is an MCP server?

It’s the door a vendor opens to AI assistants. The server describes what the AI can read or do in the tool, and you connect with your own account. No code to write, unlike an API.

API key or OAuth: which should you choose?

Use the key for your own scripts and automations, on your own data. Use OAuth as soon as the app acts for other people, or when the tool requires it: everyone signs in with their own account and can revoke access.

What if the tool has no MCP server?

Go through Zapier, Make or n8n, which expose their actions as tools for AI. Or have a small MCP server written that calls the API with the key, hosted on your own infrastructure.

Does a connected AI see all my data?

It sees what the key or the connected account sees, nothing more. Hence minimal permissions, and a dedicated account where possible. Review every write action before approving it.

My key has leaked: what should I do?

Revoke it immediately in the tool, create a new one and replace it everywhere it was used. Then read the tool’s activity log to see what was done with it.