Skip to the content.

Quick Start Guide

Get up and running with OpCon MCP Server in minutes.

Installation

  1. Clone the repository
    git clone https://github.com/markcoleman/OpyConyMcpy.git
    cd OpyConyMcpy
    
  2. Install dependencies
    npm install
    
  3. Build the project
    npm run build
    

Configuration

Set environment variables:

export OPCON_BASE_URL="https://your-opcon-server:9010"
export OPCON_TOKEN="your-application-token"

Option 2: Username/Password Authentication

export OPCON_BASE_URL="https://your-opcon-server:9010"
export OPCON_USERNAME="your-username"
export OPCON_PASSWORD="your-password"

Optional: Disable TLS Verification (Development Only)

export OPCON_VERIFY_TLS="false"

Usage

Test with MCP Inspector

npx @modelcontextprotocol/inspector node dist/index.js

Use with Claude Desktop

  1. Find your configuration file:
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  2. Add the server configuration:
{
  "mcpServers": {
    "opcon": {
      "command": "node",
      "args": ["/absolute/path/to/OpyConyMcpy/dist/index.js"],
      "env": {
        "OPCON_BASE_URL": "https://your-opcon-server:9010",
        "OPCON_TOKEN": "your-token-here"
      }
    }
  }
}
  1. Restart Claude Desktop

Your First Queries

Once configured, try these prompts in Claude:

Common Commands

Development

# Run in development mode with auto-reload
npm run dev

# Run tests
npm test

# Lint code
npm run lint

# Format code
npm run format

Troubleshooting

Server won’t start?

Authentication failed?

Tools not appearing?

Next Steps

Support