Arcas OnlineEDA MCP Server

Arcas OnlineEDA MCP Server

Provides programmatic access to Arcas OnlineEDA platform for electronic design automation, enabling formal verification, equivalence checking, power analysis, security verification, and FPGA design through natural language and automated workflows.

Category
访问服务器

README

Arcas OnlineEDA MCP Server

MCP (Model Context Protocol) server for interacting with Arcas OnlineEDA platform - a comprehensive web-based Electronic Design Automation tool suite for formal verification, equivalence checking, power analysis, security verification, and FPGA design.

Overview

This MCP server provides programmatic access to Arcas OnlineEDA platform through web automation, enabling AI assistants and automated workflows to:

  • Create and manage EDA projects with intelligent project type detection
  • Upload design files with automatic format recognition
  • Execute various verification types with customizable parameters
  • Navigate the platform seamlessly
  • Process natural language queries with extensive example matching
  • Access platform resources through well-defined URIs

Features

Core Capabilities

  • Formal Verification: Verify design properties, assertions, and safety requirements
  • Equivalence Checking: Compare functional equivalence between RTL and gate-level designs
  • Power Analysis: Analyze and optimize dynamic and static power consumption
  • Security Verification: Detect vulnerabilities, side-channels, and information leakage
  • FPGA Verification: Platform-specific verification for Xilinx, Intel/Altera designs

Available Tools

  1. arcas_onlineeda_navigate - Navigate platform sections

    • Actions: home, projects, new-project, documentation, settings
    • Smart navigation with session state preservation
  2. arcas_onlineeda_project - Comprehensive project management

    • Actions: create, open, list, delete
    • Project types: formal, equivalence, power, security, fpga
    • Automatic project type detection from context
  3. arcas_onlineeda_upload_file - Intelligent file upload

    • Supported formats: Verilog (.v), SystemVerilog (.sv), VHDL (.vhd/.vhdl)
    • Constraint files: SDC, XDC for timing and placement
    • Automatic file type detection
  4. arcas_onlineeda_run_verification - Advanced verification execution

    • Types: formal, equivalence, power, security, fpga
    • Configurable parameters: timeout, depth, specific properties
    • Real-time progress monitoring
  5. arcas_onlineeda_natural_language - AI-powered natural language interface

    • Extensive example database for high-confidence matching
    • Workflow suggestions and multi-step guidance
    • Context-aware recommendations

Available Resources

Access platform data through these URIs:

  • arcas://projects - List all projects in JSON format
  • arcas://verification-results - Latest verification results
  • arcas://platform-status - Current platform and connection status
  • arcas://documentation - Platform documentation in Markdown

Installation

# Clone the repository
git clone <repository-url>
cd arcas-onlineeda-mcp

# Install dependencies
npm install

# Build the server
npm run build

# Optional: Run setup script for browser dependencies
npm run setup

Configuration

Environment Variables

Create a .env file in the project root:

# Arcas OnlineEDA credentials (optional - will prompt if not set)
ONLINEEDA_USERNAME=your_username
ONLINEEDA_PASSWORD=your_password

# Browser settings
ONLINEEDA_HEADLESS=true      # Set to false to see browser actions
ONLINEEDA_TIMEOUT=30000      # Page load timeout in ms

# Logging
LOG_LEVEL=info               # Options: error, warn, info, debug
LOG_FILE=arcas-onlineeda.log # Log file location

MCP Configuration

Add to your MCP settings file (e.g., ~/.mcp/settings.json):

{
  "mcpServers": {
    "arcas-onlineeda": {
      "command": "node",
      "args": ["/path/to/arcas-onlineeda-mcp/dist/index.js"],
      "env": {
        "ONLINEEDA_USERNAME": "your_username",
        "ONLINEEDA_PASSWORD": "your_password"
      }
    }
  }
}

Usage Examples

Basic Tool Usage

Create a Formal Verification Project

{
  "tool": "arcas_onlineeda_project",
  "arguments": {
    "action": "create",
    "projectName": "risc_v_core_verification",
    "projectType": "formal"
  }
}

Upload Multiple Design Files

{
  "tool": "arcas_onlineeda_upload_file",
  "arguments": {
    "projectId": "proj_123",
    "filePath": "./rtl/cpu_core.v",
    "fileType": "verilog"
  }
}

Run Security Verification

{
  "tool": "arcas_onlineeda_run_verification",
  "arguments": {
    "projectId": "proj_123",
    "verificationType": "security",
    "options": {
      "timeout": 600,
      "properties": ["information_leakage", "timing_attacks", "power_analysis"]
    }
  }
}

Natural Language Examples

The natural language interface understands a wide variety of queries:

Project Creation Queries

  • "I want to create a new formal verification project for my CPU design"
  • "Let's start a power analysis project for the GPU controller"
  • "Set up equivalence checking between RTL and gate-level netlist"
  • "Create a security verification project for my AES encryption module"

Verification Queries

  • "Check if my RISC-V core meets all safety properties"
  • "Verify that the optimized design is functionally equivalent to the original"
  • "Analyze power consumption during different operating modes"
  • "Find security vulnerabilities in my crypto module"
  • "Run formal verification with 20 cycle depth"

File Operation Queries

  • "Upload my Verilog files for the memory controller"
  • "Add the SystemVerilog testbench to the project"
  • "Import SDC timing constraints"
  • "Load all RTL files from the design directory"

Navigation and Status Queries

  • "Show me all my verification projects"
  • "Go to the documentation"
  • "What's the status of my current verification?"
  • "Navigate to project settings"

Complex Workflow Queries

  • "I need to verify my AES encryption module meets FIPS standards"
  • "Compare power consumption before and after optimization"
  • "Set up a complete verification flow for my SoC design"
  • "Help me debug failing assertions in my formal verification"

Accessing Resources

// List all projects
{
  "action": "read_resource",
  "uri": "arcas://projects"
}

// Check platform status
{
  "action": "read_resource", 
  "uri": "arcas://platform-status"
}

// Get documentation
{
  "action": "read_resource",
  "uri": "arcas://documentation"
}

Advanced Usage

Workflow Automation

Create complex workflows by chaining tools:

// Complete verification workflow
const workflow = [
  {
    tool: "arcas_onlineeda_project",
    args: { action: "create", projectType: "formal", projectName: "soc_verification" }
  },
  {
    tool: "arcas_onlineeda_upload_file",
    args: { filePath: "./rtl/soc_top.v", fileType: "verilog" }
  },
  {
    tool: "arcas_onlineeda_upload_file",
    args: { filePath: "./constraints/timing.sdc", fileType: "constraints" }
  },
  {
    tool: "arcas_onlineeda_run_verification",
    args: { verificationType: "formal", options: { depth: 30, timeout: 1200 } }
  }
];

Custom Verification Properties

Define specific properties for targeted verification:

{
  "tool": "arcas_onlineeda_run_verification",
  "arguments": {
    "projectId": "proj_456",
    "verificationType": "formal",
    "options": {
      "properties": [
        "assert property (@(posedge clk) req |-> ##[1:3] ack);",
        "assert property (@(posedge clk) !overflow);"
      ],
      "depth": 50
    }
  }
}

Architecture

The server implements a modular architecture:

arcas-onlineeda-mcp/
├── src/
│   ├── index.ts           # Main server entry point
│   ├── tools/             # Tool implementations
│   │   ├── base.ts        # Abstract tool class
│   │   ├── navigate.ts    # Navigation tool
│   │   ├── project.ts     # Project management
│   │   ├── upload-file.ts # File upload handling
│   │   ├── run-verification.ts # Verification execution
│   │   └── natural-language.ts # NLP interface
│   ├── utils/             # Utility modules
│   │   ├── browser.ts     # Puppeteer browser management
│   │   └── logger.ts      # Winston logging
│   └── types/             # TypeScript type definitions
├── package.json
├── tsconfig.json
└── README.md

Key Components

  • Browser Manager: Handles Puppeteer lifecycle, authentication, and page navigation
  • Tool Base Class: Provides consistent validation and error handling
  • Natural Language Processor: Extensive example matching and intent detection
  • Resource Provider: Serves platform data through MCP resources
  • Session Manager: Maintains login state and project context

Development

# Run in development mode with hot reload
npm run dev

# Run tests
npm test

# Run tests with coverage
npm run test:coverage

# Lint code
npm run lint

# Format code
npm run format

# Type check
npm run typecheck

# Build for production
npm run build

Adding New Tools

  1. Create a new tool class extending AbstractTool
  2. Implement required methods: getName(), getDescription(), execute()
  3. Add tool to the server's tool map
  4. Update natural language examples

Troubleshooting

Common Issues

Browser Connection

Error: Failed to launch browser

Solution: Install Chrome/Chromium or run npm run setup

Authentication Failures

Error: Login failed

Solutions:

  • Verify credentials in environment variables
  • Check if account is active on OnlineEDA
  • Try manual login with ONLINEEDA_HEADLESS=false

Element Not Found

Error: Waiting for selector failed

Solutions:

  • Platform UI may have changed
  • Check internet connectivity
  • Increase timeout values

Debug Mode

Enable detailed logging:

LOG_LEVEL=debug npm run dev

View browser actions:

ONLINEEDA_HEADLESS=false npm run dev

Performance Tips

  1. Reuse project sessions when possible
  2. Batch file uploads for better performance
  3. Use appropriate timeouts for long-running verifications
  4. Enable caching for frequently accessed resources

Security Considerations

  • Credentials: Stored securely in environment variables
  • Browser Isolation: Runs in sandboxed Chromium instance
  • Audit Logging: All operations logged with timestamps
  • Session Management: Automatic logout on shutdown
  • Data Privacy: No data stored locally except logs

Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit changes (git commit -m 'Add amazing feature')
  4. Push to branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Development Guidelines

  • Write tests for new features
  • Update documentation
  • Follow TypeScript best practices
  • Add natural language examples for new capabilities
  • Ensure backward compatibility

Support

  • Issues: Report bugs via GitHub Issues
  • Documentation: Access via arcas://documentation
  • Examples: See natural language tool for extensive examples
  • Community: Join our Discord server

License

MIT License - see LICENSE file for details

Acknowledgments

  • Arcas Microelectronics for the OnlineEDA platform
  • Model Context Protocol team for the MCP framework
  • Puppeteer team for browser automation tools

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选