Skip to main content

Documentation

AI integration (local MCP)


The Allianz Trade MCP server runs locally and connects your AI assistant to our API documentation. Ask in plain English which API to use, how to authenticate, or how to call an endpoint, and get working code based on our OpenAPI specs and tutorials.

 

Allianz Trade local MCP v1.0.0

5 minutes to install · 15 API specs · 18 tutorials · no API key needed to run it. ZIP, 316 KB, updated 18/11/2026.

 

How it works. The local MCP server runs on your machine and only provides documentation. It sends no requests to Allianz Trade and cannot access your policies, coverage, or claims. All the reasoning is done by the AI assistant in your IDE, such as Claude, Cursor, Windsurf, or GitHub Copilot, using your own license

 

 

Install in 4 steps

Step 1 · Check Node.js

You need Node.js 18 or later. In a terminal:

node -v

No Node.js? Install the LTS version from nodejs.org, then reopen your terminal.

 

Step 2 · Download and install the local MCP

Unzip the package in a folder; please do not store this folder in Downloads, since your IDE will be pointed to it.

macOS / Linux

mkdir -p ~/tools/allianz-trade-mcp
unzip ~/Downloads/allianz-trade-mcp-1.0.0.zip -d ~/tools/allianz-trade-mcp
cd ~/tools/allianz-trade-mcp/mcp-server
npm install

Windows (PowerShell)

Expand-Archive $HOME\Downloads\allianz-trade-mcp-1.0.0.zip -DestinationPath C:\tools\allianz-trade-mcp
cd C:\tools\allianz-trade-mcp\mcp-server
npm install

 

Step 3 · Connect your IDE

Add the block for your IDE. Replace the path by the absolute path of mcp-server/src/index.js on your machine (run pwd in the mcp-server folder to get it). On Windows, write it with forward slashes: C:/tools/allianz-trade-mcp/mcp-server/src/index.js.

Claude Code · in your project's .claude/settings.json, or ~/.claude/settings.json for all projects:

{
  "mcpServers": {
    "allianz-trade": {
      "command": "node",
      "args": ["/Users/you/tools/allianz-trade-mcp/mcp-server/src/index.js"]
    }
  }
}

Cursor · Settings › Cursor Settings › MCP › Add server:

{
  "allianz-trade": {
    "command": "node",
    "args": ["/Users/you/tools/allianz-trade-mcp/mcp-server/src/index.js"]
  }
}

Windsurf · in .windsurf/mcp.json at the root of your project:

{
  "mcpServers": {
    "allianz-trade": {
      "command": "node",
      "args": ["/Users/you/tools/allianz-trade-mcp/mcp-server/src/index.js"]
    }
  }
}

VS Code + GitHub Copilot · in .vscode/mcp.json:

{
  "servers": {
    "allianz-trade": {
      "type": "stdio",
      "command": "node",
      "args": ["/Users/you/tools/allianz-trade-mcp/mcp-server/src/index.js"]
    }
  }
}

 

Step 4 · Check it works

Restart your IDE, then ask your assistant:

What APIs does Allianz Trade offer?

It works when the assistant calls the tool list_apis and lists our APIs (Authentication, Company Search, Covers, Claims…). The local MCP allianz-trade shows 10 tools in your IDE's MCP settings.

 

Example Questions.

Copy a question and paste it in your assistant.

QuestionTool used
How do I authenticate? Show me in Python.get_auth_guide
Which endpoint do I call to declare a payment overdue?find_endpoint
Write Python code to search for a company and get its grade.get_code_example
Show me the named cover standard workflow tutorial.get_tutorial
What are the API rate limits? How does the webhook retry work?get_guidelines
What BU code should I use for Germany?get_reference_data

To run the generated code against our test environment, generate a test key in Dashboard › Environments & keys.

 

Troubleshooting & FAQ

The local MCP does not appear in my IDE, or shows as failed

Check that the path in the configuration is absolute and ends with mcp-server/src/index.js, then restart the IDE.

Error "Cannot find module '@modelcontextprotocol/sdk'"

Run npm install in the mcp-server folder (step 2).

Error "node: command not found" or "spawn node ENOENT"

Install Node.js 18+, or replace "node" in the configuration by its full path (which node on macOS / Linux, where node on Windows).

The assistant answers without using the tools

Mention Allianz Trade in your question, and check that the 10 tools are enabled in the IDE's MCP settings.

Which APIs and tools are included?

APIs: Authentication (IDP), Company Search, Company Referential, Company Grade, Grade Check, Grade Record, Country Grade, Covers, Cover Extended Information, Policy Management, Policy & Intermediary KPIs (Beta), Claims, Payment Overdues, Jobs, Reference Data, Risk Reference Data.

Tools: list_apis, get_api_schema, find_endpoint, get_auth_guide, get_code_example, list_tutorials, get_tutorial, get_guidelines, lookup_term, get_reference_data.

How do I update to a new version?

Download the new package, replace the folder and run npm install again. Your IDE configuration does not change.

 

Still stuck? Open a ticket and attach the MCP log of your IDE.