Skip to content
Buildv1

Export MCP and API configuration

Add Nexra to an MCP client, download an integration's service contract and export API artefacts.

Updated 7 Oct 2026

On this page

What you can export

ExportWhereContains
MCP client configurationDashboard → MCP → your app → Connection guideThe server URL and authorisation header to paste into an MCP client
Integration service contractConnect → Integrations → your integration → Review API / MCP exportnexra-connect-service.json: flows, operations, mappings, invocation and monitoring details, and the MCP client block
OpenAPI, Postman and SDK filesAPI reference → Download, or the public artefact endpointSpecifications and generated client code for a published API product

None of these exports contain secrets.

Add Nexra to an MCP client

Clients that support MCP authorisation need only the URL; they handle sign-in and token refresh themselves (see Authentication):

json
{
  "mcpServers": {
    "nexra": {
      "url": "https://api.nexra.amakoragroup.com/mcp"
    }
  }
}

For a client without OAuth support, or a server-to-server agent, exchange a credential for an access token at /oauth/token with the client_credentials grant and send it as a header:

json
{
  "mcpServers": {
    "nexra": {
      "url": "https://api.nexra.amakoragroup.com/mcp",
      "headers": {
        "Authorization": "Bearer ${NEXRA_MCP_TOKEN}"
      }
    }
  }
}

Keep tokens and credential secrets in your client's secret store or environment, never in a file you commit. Access tokens expire after an hour. Clients that only launch local (stdio) servers need a bridge that forwards to a remote HTTP server; Nexra does not ship a stdio package.

Export an integration as a service contract

Open the integration in Dashboard → Connect → Integrations. You can also export from the last step of the New integration wizard.

Choose Review API / MCP export and check the summary.

Choose Download service contract. The button is available once the integration has at least one flow.

The file nexra-connect-service.json has format: "nexra-connect-service-v1" and includes:

integrationId, name and projectId: identify the saved integration and its project.

flows: one entry per flow, with productionReady, the bound source and destination operations, the mapped field paths and an invoke template.

mcp: the endpoint path /mcp, the transport streamable-http, the credential scope (workspace-and-project), the five Connect tools and setup notes.

invoke: how to start the integration with trigger_approved_connect_integration.

monitor: how to follow an event with get_connect_integration_event.

mcpServers.nexraConnect: a ready-to-paste client entry using ${NEXRA_APPLICATION_TOKEN}.

runtime: "hosted-by-nexra": the integration keeps running in Nexra. The contract describes how to call it; it is not a deployable copy.

Each export is recorded in the workspace audit log as connect.integration.exported.

The export panel guides you through Review and activate → Set up application access → Connect and monitor. Downloading does not approve a flow or grant application access. Publish and independently review a production flow, activate its approved revision, and publish the Connect tools in an active application belonging to the same project. Sandbox flows remain available for tests in Nexra.

In the downloaded configuration, NEXRA_APPLICATION_TOKEN means the short-lived OAuth access token. It is not the raw MCP credential secret or your console sign-in token. For backend services, exchange the MCP credential prefix and secret at /oauth/token with grant_type=client_credentials, and renew the access token when it expires. Interactive OAuth clients can use the MCP endpoint and sign in instead. See authentication setup.

Invoking an exported integration

json
{
  "jsonrpc": "2.0",
  "id": 7,
  "method": "tools/call",
  "params": {
    "name": "trigger_approved_connect_integration",
    "arguments": {
      "integrationId": "<integration-id>",
      "idempotencyKey": "po-2026-10-07-0042",
      "correlationId": "agent-po-0042"
    }
  }
}

Follow the result with get_connect_integration_event, using the same integrationId and idempotencyKey. Only flows with an approved production deployment run.

Export API artefacts

For any published API product you can download:

FormatFile
openapiOpenAPI JSON
postmanPostman collection JSON
typescript, python, go, csharp, javaGenerated client source
bash
curl -OJ "https://api.nexra.amakoragroup.com/api/developer-portal/public/catalogue/integration-sandbox/artifacts/openapi"

Add ?version=<version> to pin a version. See SDKs for the managed, versioned SDK pipeline.

Need a hand?

Ask Nexra Agent for implementation steps or error guidance.

Ask Nexra Agent