apic-mcp-server

July 1, 2026 ยท View on GitHub

IBM APIC MCP server exposes API Connect capabilities to your MCP clients and AI Agent workflows.

mcp Using apic-mcp-server with MCP Clients

This MCP server can be integrated with various MCP clients such as Claude Desktop, VS Code, and IBM BOB etc.

๐Ÿ“ฐ Blogs

IBM API Connect MCP Server

Exploring IBM API Connect v12.1.0 API Analytics with the API Agent's Analytics MCP Tool

๐Ÿ’ป Suggested MCP Clients

IBM BOB Visual Studio Code Claude Desktop

โœ… Prerequisites

  • Existing API Connect v10 or v12 customer either on SaaS or on-prem
    • Your provider organization name
    • API key to connect with you API Connect instance
    • Client ID configured on your API Connect instance
    • Client Secret configured on your API Connect instance
    • APIC Platform Endpoint of your instance
    • APIC Management Endpoint of your instance
  • npm package tar file OR the .mcpb installer of the API Connect service (e.g., Analytics)
  • One of the suggested MCP Client application

๐Ÿ“„ Debug Logs

When running the MCP server, INFO level logs are written to a daily rotating file in a directory called apic-mcp inside your home directory by default:

  • Windows:
    • Log files are located at %USERPROFILE%\apic-mcp\apic-mcp-YYYY-MM-DD.log
  • macOS / Linux:
    • Log files are located at ~/apic-mcp/apic-mcp-YYYY-MM-DD.log

The log directory is created automatically if it does not exist. Each log file contains one day's logs and up to 14 days of logs are retained. If the log directory cannot be created, logs are discarded.

Additionally, if you would like the log file to capture DEBUG level logs, update your chosen mcp client's env config to include the below env property:

LOG_LEVEL: 'debug'

For example:

    "servers": {
        "apic-analytics-mcp-server": {
            "command": "npx",
            "args": ["-y", "-p", "${input:tarPath}", "apic-analytics-mcp-server"],
            "env": {
                ...
                ...
                "LOG_LEVEL": "debug"
            }
        }
    }

๐Ÿ“ Setup Instructions for suggested MCP Clients

IBM BOB IBM BOB

IBM Bob provides two setup methods: an automated skill-based approach (recommended) and manual configuration.

Bob uses a skill called init-apic-ai-assets that automates the entire installation and configuration process. Install it with a single command:

npx -y skills add -y https://github.com/ibm-apiconnect/apic-mcp-server/skills -a bob

Once installed, open the chat, ensure in Agent mode and type / in the chat and select init-apic-ai-assets command and hit enter:

/init-apic-ai-assets

The skill will automatically:

  • โœ… Ask which IBM product you are setting up (IBM API Connect or IDIG standalone)
  • โœ… Verify prerequisites (Git, Node.js v20+, npm)
  • โœ… Clone the official APIC MCP server repository to ~/apic-mcp/
  • โœ… Install the API Studio CLI (@apistudio/apim-cli)
  • โœ… Prompt you for required configuration values (API keys, URLs, etc.) one at a time
  • โœ… Generate the .bob/mcp.json configuration file with absolute paths
  • โœ… Validate the complete installation

Restart Bob after the skill completes to load the newly configured MCP servers.

Manual Configuration (Alternative)

If you prefer manual setup or need to troubleshoot:

  1. Choose the template file mcp.bob.json from the specific service folder

  2. Fill in your APIC configuration details in the template

  3. Copy the configured mcp json to your workspace .bob folder

  4. Install Agent Skills (Required)

    Clone the repository to get access to bundled skills:

    # macOS/Linux
    git clone --filter=blob:none --no-checkout https://github.com/ibm-apiconnect/apic-mcp-server.git ~/apic-mcp
    git -C ~/apic-mcp sparse-checkout init --cone
    git -C ~/apic-mcp sparse-checkout set README.md skills/
    git -C ~/apic-mcp checkout main
    
    # Windows (PowerShell)
    git clone --filter=blob:none --no-checkout https://github.com/ibm-apiconnect/apic-mcp-server.git "$env:USERPROFILE\apic-mcp"
    git -C "$env:USERPROFILE\apic-mcp" sparse-checkout init --cone
    git -C "$env:USERPROFILE\apic-mcp" sparse-checkout set README.md skills/
    git -C "$env:USERPROFILE\apic-mcp" checkout main
    

    Then install available skills:

    # macOS/Linux
    npx -y skills add -y ~/apic-mcp/skills/init-apic-ai-assets -a bob
    
    # Windows (PowerShell)
    npx -y skills add -y "$env:USERPROFILE\apic-mcp\skills\init-apic-ai-assets" -a bob
    
  5. Follow the official Bob setup guide:

Troubleshooting Bob Setup

Skill not found (init-apic-ai-assets):

  • Ensure the skill was installed successfully via the npx -y skills command above
  • Verify you are using a Bob version that supports skills
  • Try restarting Bob to refresh available skills

Installation fails:

  • Check prerequisites: Git, Node.js v20+, npm must be installed
  • Verify network connectivity to GitHub
  • Review Bob's logs for specific error messages
  • Try manual configuration as a fallback

Servers don't appear after installation:

  • Restart Bob completely (not just reload)
  • Verify .bob/mcp.json exists and contains valid JSON
  • Check that all .tgz files exist at the paths specified in the configuration

Configuration updates:

  • To update server configurations, re-run the init-apic-ai-assets skill
  • Existing configurations will be preserved unless you choose to overwrite
  • You can also manually edit .bob/mcp.json

Visual Studio Code Visual Studio Code

VS Code co-pilot uses a skill called init-apic-ai-assets that automates the entire installation and configuration process. Install it with a single command:

npx -y skills add -y https://github.com/ibm-apiconnect/apic-mcp-server/skills -a github-copilot

Once installed, open the chat, ensure in Agent mode and type / in the chat and select init-apic-ai-assets command and hit enter:

/init-apic-ai-assets

The skill will automatically:

  • โœ… Ask which IBM product you are setting up (IBM API Connect or IDIG standalone)
  • โœ… Verify prerequisites (Git, Node.js v20+, npm)
  • โœ… Clone the official APIC MCP server repository to ~/apic-mcp/
  • โœ… Install the API Studio CLI (@apistudio/apim-cli)
  • โœ… Prompt you for required configuration values (API keys, URLs, etc.) one at a time
  • โœ… Generate the .vscode/mcp.json configuration file with absolute paths
  • โœ… Validate the complete installation

Manual Configuration

  1. Choose the template file mcp.vscode.json from the specific service folder

  2. Fill in your APIC configuration details in the template

  3. Copy the configured mcp json to your workspace .vscode folder

  4. Install Agent Skills (Required)

    Clone the repository to get access to bundled skills:

    # macOS/Linux
    git clone --filter=blob:none --no-checkout https://github.com/ibm-apiconnect/apic-mcp-server.git ~/apic-mcp
    git -C ~/apic-mcp sparse-checkout init --cone
    git -C ~/apic-mcp sparse-checkout set README.md skills/
    git -C ~/apic-mcp checkout main
    
    # Windows (PowerShell)
    git clone --filter=blob:none --no-checkout https://github.com/ibm-apiconnect/apic-mcp-server.git "$env:USERPROFILE\apic-mcp"
    git -C "$env:USERPROFILE\apic-mcp" sparse-checkout init --cone
    git -C "$env:USERPROFILE\apic-mcp" sparse-checkout set README.md skills/
    git -C "$env:USERPROFILE\apic-mcp" checkout main
    

    Then install available skills:

    # macOS/Linux
    npx -y skills add -y ~/apic-mcp/skills/init-apic-ai-assets -a github-copilot
    
    # Windows (PowerShell)
    npx -y skills add -y "$env:USERPROFILE\apic-mcp\skills\init-apic-ai-assets" -a github-copilot
    
  5. Follow the official VS Code setup guide:


Claude Desktop Claude Desktop

Claude Desktop now supports easy installation through Anthropic's new Extensions feature. We provide a pre-packaged .mcpb file for seamless setup.

No manual configuration needed! Simply install the .mcpb and follow the setup wizard.

Step 1: Locate the Extension File

Find the .mcpb file you have obtained from the specific service folder of this repository, for example:

analytics/apic-analytics-mcp-server-x.x.x.mcpb

where x.x.x is the version of the APIC MCP server

Step 2: Install the Extension

  1. Simply double-click the .mcpb file
  2. Claude Desktop will automatically open and start the installation process

Step 3: Complete the Setup

  1. A setup wizard will appear asking for details (listed in the prerequisites section) related to the APIC instance you would like to connect to
  2. Click Save or Install
  3. Ensure you enable the extension, as claude sets it as disabled by default

Step 4: Start Using

Once installed, the API Connect tools exposed via the MCP server will be available in your Claude Desktop conversations.


๐Ÿ› ๏ธ Available Tools

Currently available tools

ServiceLink
AnalyticsAnalytics tools doc
ManagementAPI Connect Management tools doc

More to come soon...