[
StrictOps
control plane
How It WorksPricingSecurityDocs
Log InGet Started
StrictOps Docs

MCP Server

Model Context Protocol server for StrictOps config validation

StrictOps MCP Server

The @strictops/mcp-server package is a Model Context Protocol server that lets AI-powered code editors validate your strictops.yml files in real time. When your editor has the MCP server configured, you can ask it to check your config and it will return precise validation results.

Why Use It

  • Instant feedback — Validate your strictops.yml without switching to the terminal or pushing to CI.
  • AI-native — Works inside editors that support MCP, including Claude Code, Cursor, and Windsurf. Your AI assistant can call the validation tool directly during a conversation.
  • Same validation logic — Uses the exact same parser and schema as the StrictOps control plane, so what passes locally will pass in production.

Installation

npm install -g @strictops/mcp-server

Requires Node.js 18 or later.

Editor Setup

Claude Code

Add the server to your Claude Code MCP config (.claude/mcp.json or project settings):

{
  "mcpServers": {
    "strictops": {
      "command": "strictops-mcp",
      "args": []
    }
  }
}

Cursor / Windsurf

Add the same command to your editor's MCP server configuration. Refer to your editor's docs for the exact config file location.

Available Tools

validate_config

Validates YAML content against the StrictOps v1 schema.

Input:

ParameterTypeDescription
yamlstringThe full YAML content of a strictops.yml file

Output (valid config):

{
  "valid": true,
  "spec": {
    "version": 1,
    "services": {
      "web": {
        "name": "web",
        "type": "web",
        "profile": "small",
        "replicas": 1,
        "healthcheckPath": "/health",
        "port": 3000
      }
    },
    "deploy": {
      "capacity": "serverless",
      "profile": "small",
      "replicas": 1,
      "environments": ["dev", "prod"]
    }
  }
}

Output (invalid config):

{
  "valid": false,
  "error": "Validation failed",
  "issues": [
    "must have required property 'services'"
  ]
}

ping

Health check tool that confirms the server is running.

Usage Example

Once configured, ask your AI editor to validate your config:

"Validate my strictops.yml"

The assistant will read the file, call validate_config, and report any issues directly in the conversation.

On this page