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
Create an API key from your Nexus workspace: the Nexus documentation, linked below, gives the exact path.
- 2
The key acts with the permissions of the person who created it, no more, no less.
- 3
A read-only key can only call the read tools: start with that.
- 4
Store it in a vault or an environment variable, NEXUS_CLE, never in the code or in a web page.
Authorization: Bearer <key>
- Address
POST $NEXUS_URL/api/v1/mcp- Protocol
- JSON-RPC 2.0 over Streamable HTTP, stateless. A
GETreturns 405. - Headers
Authorization: Bearer <key>,Accept: application/json, text/event-stream,Content-Type: application/json- Methods
initialize,tools/list,tools/call
curl "$NEXUS_URL/api/v1/mcp" \
-H "Authorization: Bearer $NEXUS_CLE" \
-H "Accept: application/json, text/event-stream" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_project","arguments":{}}}'Exposed tools:
get_projectlist_project_tasksget_tasklist_site_requestslist_project_credentialsrun_server_commanddatabase_querynexus_design_lirenexus_design_ecriresearch_agency_coderun_testsnote_project_fact
Anything the MCP tools don't cover goes through the Nexus API. Its list of routes can itself be read through the API: 1,170 routes when we last reviewed it.
- List of routes
GET $NEXUS_URL/api/v1/endpoints- Settings
filterto search,offsetetlimitto paginate: 30 routes by default, 33 at most.
curl "$NEXUS_URL/api/v1/endpoints?filter=<mot>&limit=30" \
-H "Authorization: Bearer $NEXUS_CLE"- Claude Code, Cursor, an in-house agent
They accept an authorisation header: enter the server address and the key, nothing else.
- Claude, ChatGPT, Le Chat on the web
Their custom connectors generally expect an OAuth connection. Check the Nexus documentation for the method intended for them before pasting in a key.
claude mcp add --transport http nexus "$NEXUS_URL/api/v1/mcp" \
--header "Authorization: Bearer $NEXUS_CLE"{
"mcpServers": {
"nexus": {
"url": "https://<votre-nexus>/api/v1/mcp",
"headers": { "Authorization": "Bearer <clé>" }
}
}
}Worth knowing. An AI connected to Nexus can run commands on your servers if the key allows it. Give it a read-only key until you have written down what it is allowed to do.