Skip to content

MCP Setup Guide

This guide walks you through setting up MCP integration to connect AI assistants with Asset Optics.

Prerequisites

Before setting up MCP:

  • Asset Optics account with at least one project
  • One of the supported AI tools installed:
  • Claude Desktop
  • Cursor
  • VS Code with MCP extension
  • Internet connection

Step 1: Generate an MCP Token

Via Web Dashboard

  1. Go to asset-optics.brahmaforge.com
  2. Sign in with your account
  3. Click your profile avatar → Account Settings
  4. Navigate to API Access
  5. Click Generate MCP Token
  6. Copy the generated configuration

Token Configuration

The generated configuration looks like this:

{
  "mcpServers": {
    "asset-optics": {
      "command": "npx",
      "args": ["-y", "@brahmaforge/asset-optics-mcp"],
      "env": {
        "AO_ACCESS_TOKEN": "your-access-token-here",
        "AO_REFRESH_TOKEN": "your-refresh-token-here"
      }
    }
  }
}

Keep Tokens Secure

Never share your tokens publicly. They provide access to your Asset Optics account.

Step 2: Configure Your AI Tool

Claude Desktop

  1. Open Claude Desktop
  2. Go to Settings (Cmd/Ctrl + ,)
  3. Navigate to DeveloperMCP Servers
  4. Click Edit Config or open the config file directly

Config file locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • Add the Asset Optics configuration:

{
  "mcpServers": {
    "asset-optics": {
      "command": "npx",
      "args": ["-y", "@brahmaforge/asset-optics-mcp"],
      "env": {
        "AO_ACCESS_TOKEN": "your-access-token-here",
        "AO_REFRESH_TOKEN": "your-refresh-token-here"
      }
    }
  }
}
  1. Save the file
  2. Restart Claude Desktop

Cursor

  1. Open Cursor
  2. Go to Settings (Cmd/Ctrl + ,)
  3. Search for "MCP" in settings
  4. Find the MCP configuration section
  5. Add the Asset Optics configuration
  6. Restart Cursor

VS Code

  1. Install an MCP-compatible extension
  2. Open VS Code settings (Cmd/Ctrl + ,)
  3. Search for the MCP configuration section
  4. Add the Asset Optics configuration
  5. Reload VS Code

Step 3: Test the Connection

After configuration:

  1. Open your AI assistant
  2. Ask: "List my Asset Optics projects"
  3. The AI should respond with your project list

If successful, you'll see your projects listed. If not, see Troubleshooting below.

Managing Tokens

Viewing Active Tokens

  1. Go to Account SettingsAPI Access
  2. See a list of all generated tokens
  3. Each token shows:
  4. Name/identifier
  5. Creation date
  6. Last used date

Revoking Tokens

To revoke a token:

  1. Go to Account SettingsAPI Access
  2. Find the token in the list
  3. Click Revoke
  4. Confirm the revocation

Note

Revoking a token immediately stops it from working. Update your AI tool configuration if you revoke an active token.

Rotating Tokens

For security, periodically rotate your tokens:

  1. Generate a new token
  2. Update your AI tool configuration
  3. Revoke the old token
  4. Test the new token

Security Best Practices

Token Security

  • Keep tokens private: Never share or commit tokens to version control
  • Use per-device tokens: Generate separate tokens for each device
  • Rotate regularly: Generate new tokens every few months
  • Revoke unused tokens: Delete tokens you no longer use

Network Security

  • MCP communication is encrypted
  • Tokens are transmitted securely
  • Refresh tokens handle session management

Audit Trail

All MCP actions are logged:

  • View action history in the web dashboard
  • See what AI requested and when
  • Track approved and rejected plans

Troubleshooting

"Connection Failed" Error

Possible causes:

  • Invalid or expired token
  • Network connectivity issues
  • MCP server not running

Solutions:

  1. Generate a new token and update configuration
  2. Check your internet connection
  3. Restart your AI tool
  4. Verify the configuration JSON is valid

AI Can't See Projects

Possible causes:

  • Wrong account token
  • Token permissions issue
  • Network blocking

Solutions:

  1. Verify you're using the correct account
  2. Generate a fresh token
  3. Check firewall settings

Plans Not Appearing

Possible causes:

  • Plan expired (30-minute timeout)
  • Plugin not refreshed
  • Sync delay

Solutions:

  1. Refresh the Asset Optics panel
  2. Check the web dashboard for pending plans
  3. Ask the AI to recreate the plan

Token Expired

Symptoms:

  • "Unauthorized" errors
  • AI can't complete actions

Solution:

  1. Generate a new token
  2. Update your AI tool configuration
  3. Restart the AI tool

Advanced Configuration

Multiple Accounts

If you have multiple Asset Optics accounts:

{
  "mcpServers": {
    "asset-optics-personal": {
      "command": "npx",
      "args": ["-y", "@brahmaforge/asset-optics-mcp"],
      "env": {
        "AO_ACCESS_TOKEN": "personal-token",
        "AO_REFRESH_TOKEN": "personal-refresh"
      }
    },
    "asset-optics-work": {
      "command": "npx",
      "args": ["-y", "@brahmaforge/asset-optics-mcp"],
      "env": {
        "AO_ACCESS_TOKEN": "work-token",
        "AO_REFRESH_TOKEN": "work-refresh"
      }
    }
  }
}

Environment Variables

Instead of putting tokens in the config file, use environment variables:

{
  "mcpServers": {
    "asset-optics": {
      "command": "npx",
      "args": ["-y", "@brahmaforge/asset-optics-mcp"],
      "env": {
        "AO_ACCESS_TOKEN": "${AO_ACCESS_TOKEN}",
        "AO_REFRESH_TOKEN": "${AO_REFRESH_TOKEN}"
      }
    }
  }
}

Then set the environment variables in your shell profile.


© 2026 BrahmaForge. All rights reserved.