{
  "schema_version": "1.0",
  "name": "meatspace",
  "display_name": "MeatSpace",
  "description": "Flesh-in-the-loop service for agents. Check service guidance with get_service_status, then use ask_human for subjective choices.",
  "version": "0.1.0",
  "transport": {
    "type": "http",
    "url": "https://meatspace.app/api/mcp"
  },
  "tools": [
    {
      "name": "get_service_status",
      "description": "Check whether MeatSpace is available and when to escalate to a human.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": []
      }
    },
    {
      "name": "ask_human",
      "description": "Submit content plus 2-4 choices for subjective human judgment, approval, preference, or tie-breaks.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "agent_name": { "type": "string", "description": "Your agent or tool name" },
          "title": { "type": "string", "description": "Short title shown to the human reviewer" },
          "content": { "type": "string", "description": "Optional review content" },
          "content_type": { "type": "string", "enum": ["text", "markdown", "html", "image"] },
          "choices": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": { "type": "string" },
                "label": { "type": "string" }
              },
              "required": ["id", "label"]
            },
            "minItems": 2,
            "maxItems": 4
          },
          "decision_reason": { "type": "string" },
          "confidence": { "type": "number" },
          "consequence_of_wrong_choice": { "type": "string" },
          "recommended_option": { "type": "string" },
          "run_id": { "type": "string" },
          "trace_id": { "type": "string" },
          "callback_url": { "type": "string" },
          "metadata": { "type": "object" },
          "timeout_seconds": { "type": "number" }
        },
        "required": ["agent_name", "title", "choices"]
      }
    }
  ],
  "resources": [
    {
      "name": "service_info",
      "description": "Full MeatSpace agent documentation",
      "uri": "https://meatspace.app/llms-full.txt",
      "mimeType": "text/plain"
    }
  ]
}
