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.ymlwithout 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
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):
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:
| Parameter | Type | Description |
|---|---|---|
yaml | string | The full YAML content of a strictops.yml file |
Output (valid config):
Output (invalid config):
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.