{
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
  "protocolVersion": "2025-06-18",
  "protocolVersions": [
    "2025-06-18",
    "2025-03-26"
  ],
  "name": "dev.runglab/devtools",
  "title": "RungLab DevTools MCP",
  "version": "1.1.0",
  "description": "Zero-key public Remote Streamable HTTP MCP Server for ReadyCheck domain audits, OpenAPI OWASP security audits, HTTP security header checks, MCPDiet token profiling, SPF/DMARC syntax checks, and SPDX compatibility.",
  "websiteUrl": "https://mcp-server.runglab.dev/",
  "documentationUrl": "https://mcp-server.runglab.dev/llms.txt",
  "serverInfo": {
    "name": "dev.runglab/devtools",
    "title": "RungLab DevTools MCP",
    "version": "1.1.0"
  },
  "transport": {
    "type": "streamable-http",
    "endpoint": "/mcp",
    "url": "https://mcp-server.runglab.dev/mcp"
  },
  "remotes": [
    {
      "type": "streamable-http",
      "url": "https://mcp-server.runglab.dev/mcp"
    }
  ],
  "authentication": {
    "required": false,
    "schemes": []
  },
  "capabilities": {
    "tools": {
      "listChanged": false
    }
  },
  "tools": [
    {
      "name": "audit_domain_readiness",
      "description": "Audit a public domain for AI search (AEO), SPF/DMARC email, and security headers via ReadyCheck.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "domain": {
            "type": "string",
            "minLength": 3,
            "maxLength": 253,
            "description": "Public hostname or URL to audit (e.g. stripe.com)."
          },
          "refresh": {
            "type": "boolean",
            "description": "Bypass 10-minute edge cache when true."
          }
        },
        "required": [
          "domain"
        ]
      },
      "annotations": {
        "title": "Audit Domain Readiness",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": true
      }
    },
    {
      "name": "profile_mcp_tools",
      "description": "Analyze MCP tool schemas for pre-prompt token cost ($4.50/1M), bloat, and schema hygiene.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "tools": {
            "type": "array",
            "minItems": 1,
            "maxItems": 100,
            "description": "Array of MCP tool objects from tools/list.",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "name": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 128
                },
                "title": {
                  "type": "string",
                  "maxLength": 128
                },
                "description": {
                  "type": "string",
                  "maxLength": 8000
                },
                "inputSchema": {
                  "type": "object",
                  "additionalProperties": true
                },
                "outputSchema": {
                  "type": "object",
                  "additionalProperties": true
                },
                "annotations": {
                  "type": "object",
                  "additionalProperties": true
                }
              },
              "required": [
                "name"
              ]
            }
          },
          "turnsPerDay": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000000,
            "description": "Daily turns for monthly cost estimate (default 1000)."
          }
        },
        "required": [
          "tools"
        ]
      },
      "annotations": {
        "title": "Profile MCP Tool Schemas",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    },
    {
      "name": "check_spf_dmarc_syntax",
      "description": "Validate RFC 7208 SPF and RFC 7489 DMARC TXT records for 10-lookup limits and PermError risks.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "spf": {
            "type": "string",
            "maxLength": 2048,
            "description": "Raw SPF TXT record(s) (e.g. v=spf1 include:_spf.google.com ~all)."
          },
          "dmarc": {
            "type": "string",
            "maxLength": 2048,
            "description": "Raw DMARC TXT record (e.g. v=DMARC1; p=quarantine; rua=mailto:sec@example.com)."
          },
          "domain": {
            "type": "string",
            "maxLength": 253,
            "description": "Optional domain label for tailored fix advice."
          }
        }
      },
      "annotations": {
        "title": "Check SPF & DMARC Syntax",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    },
    {
      "name": "check_spdx_license_pair",
      "description": "Check directional SPDX license compatibility when adding a dependency to a host project.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "dependencyLicense": {
            "type": "string",
            "enum": [
              "MIT",
              "Apache-2.0",
              "BSD-3-Clause",
              "ISC",
              "MPL-2.0",
              "LGPL-3.0-only",
              "GPL-3.0-only",
              "AGPL-3.0-only",
              "Proprietary",
              "BSL-1.1"
            ],
            "description": "SPDX license ID of the third-party dependency."
          },
          "projectLicense": {
            "type": "string",
            "enum": [
              "MIT",
              "Apache-2.0",
              "BSD-3-Clause",
              "ISC",
              "MPL-2.0",
              "LGPL-3.0-only",
              "GPL-3.0-only",
              "AGPL-3.0-only",
              "Proprietary",
              "BSL-1.1"
            ],
            "description": "SPDX license ID of the host project."
          }
        },
        "required": [
          "dependencyLicense",
          "projectLicense"
        ]
      },
      "annotations": {
        "title": "Check SPDX License Pair",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    },
    {
      "name": "audit_openapi_spec",
      "description": "Audit JSON OpenAPI 2.0/3.0/3.1 specs for OWASP API security hygiene and MCP/LLM token footprint.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "spec": {
            "type": "string",
            "minLength": 2,
            "maxLength": 200000,
            "description": "Raw JSON OpenAPI 2.0, 3.0, or 3.1 document."
          },
          "maxIssues": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Max prioritized findings returned (1-50, default 20)."
          }
        },
        "required": [
          "spec"
        ]
      },
      "annotations": {
        "title": "Audit OpenAPI Spec",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    },
    {
      "name": "check_security_headers",
      "description": "Audit HTTP response headers for HSTS/CSP/CORS flaws and generate stack-specific hardened snippets.",
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "headersText": {
            "type": "string",
            "minLength": 1,
            "maxLength": 16000,
            "description": "Raw HTTP response headers (Header-Name: value per line)."
          },
          "targetStack": {
            "type": "string",
            "enum": [
              "cloudflare",
              "nginx",
              "vercel",
              "nextjs",
              "generic"
            ],
            "description": "Target stack for hardened snippet (default generic)."
          }
        },
        "required": [
          "headersText"
        ]
      },
      "annotations": {
        "title": "Check Security Headers",
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    }
  ]
}