My App

MCP API

Model Context Protocol API documentation

MCP API Documentation

Model Context Protocol API for AI agents and automation

Authentication
Two-factor authentication model for security

The MCP API requires both:

  1. Workspace ID - In the URL path

  2. API Key - In the Authorization header

Authorization: Bearer xpec_your-api-key-here

POST /api/mcp/[workspaceId]/validate

Validate API key and get workspace info

Returns workspace details and product list when authenticated.

GET /api/mcp/[workspaceId]/specs

List all specifications

Returns all specifications in the workspace with filtering options.

GET /api/mcp/[workspaceId]/specs/[specId]

Get specification details

Returns detailed information about a specific specification.