{
  "name": "pmat",
  "version": "1.0.0",
  "description": "Project Analysis and Intelligence Modeling Toolkit",
  "main": "target/release/pmat",
  "bin": {
    "pmat": "target/release/pmat"
  },
  "mcp": {
    "runtime": "binary",
    "tools": {
      "generate_template": {
        "description": "Generate a template file (Makefile, README, or .gitignore) for your project",
        "inputSchema": {
          "type": "object",
          "properties": {
            "resource_uri": {
              "type": "string",
              "description": "Template URI (e.g., template://makefile/rust/cli-binary)"
            },
            "parameters": {
              "type": "object",
              "description": "Template parameters specific to the chosen template"
            }
          },
          "required": ["resource_uri", "parameters"]
        }
      },
      "generate_unified_context": {
        "description": "Generate comprehensive unified context with advanced code analysis annotations",
        "inputSchema": {
          "type": "object",
          "properties": {
            "project_path": {
              "type": "string",
              "description": "Path to the project to analyze (defaults to current directory)",
              "default": "."
            },
            "output_file": {
              "type": "string",
              "description": "Output file path (optional, prints to stdout if not specified)"
            },
            "format": {
              "type": "string",
              "enum": ["markdown", "json", "sarif", "llm-optimized"],
              "description": "Output format",
              "default": "markdown"
            },
            "skip_expensive_metrics": {
              "type": "boolean",
              "description": "Skip expensive metrics for faster execution",
              "default": false
            },
            "include_large_files": {
              "type": "boolean",
              "description": "Include large files (>500KB) that are normally skipped",
              "default": false
            }
          },
          "required": []
        }
      }
    },
    "resources": {
      "template://makefile/*": {
        "description": "Makefile templates for various languages and project types"
      },
      "template://readme/*": {
        "description": "README.md templates for various project types"
      },
      "template://gitignore/*": {
        "description": ".gitignore templates for various languages"
      }
    }
  }
}