{
  "name": "wordpress-mcp",
  "description": "WordPress MCP adapter for content management",
  "version": "1.0.0",
  "adapter": "@wordpress/mcp-adapter",
  "configuration": {
    "endpoint": {
      "url": "https://your-wordpress-site.com",
      "api_version": "wp/v2",
      "authentication": {
        "type": "application_password",
        "username": "${WORDPRESS_USERNAME}",
        "password": "${WORDPRESS_APP_PASSWORD}"
      }
    },
    "capabilities": {
      "posts": {
        "create": true,
        "read": true,
        "update": true,
        "delete": false,
        "list": true
      },
      "pages": {
        "create": true,
        "read": true,
        "update": true,
        "delete": false,
        "list": true
      },
      "media": {
        "upload": true,
        "list": true,
        "delete": false
      },
      "categories": {
        "create": true,
        "read": true,
        "list": true
      },
      "tags": {
        "create": true,
        "read": true,
        "list": true
      }
    },
    "defaults": {
      "post_status": "draft",
      "post_type": "post",
      "comment_status": "open",
      "ping_status": "open",
      "format": "standard"
    },
    "tools": [
      {
        "name": "wp_create_post",
        "description": "Create a new WordPress post or page",
        "parameters": {
          "title": "string",
          "content": "string",
          "status": "draft|publish|pending|private",
          "categories": "array",
          "tags": "array",
          "featured_media": "number",
          "meta": "object"
        }
      },
      {
        "name": "wp_update_post",
        "description": "Update an existing WordPress post or page",
        "parameters": {
          "id": "number",
          "title": "string",
          "content": "string",
          "status": "string",
          "categories": "array",
          "tags": "array"
        }
      },
      {
        "name": "wp_get_post",
        "description": "Retrieve a WordPress post or page by ID",
        "parameters": {
          "id": "number",
          "context": "view|edit|embed"
        }
      },
      {
        "name": "wp_list_posts",
        "description": "List WordPress posts with filters",
        "parameters": {
          "per_page": "number",
          "page": "number",
          "status": "string",
          "categories": "array",
          "tags": "array",
          "search": "string"
        }
      },
      {
        "name": "wp_upload_media",
        "description": "Upload media to WordPress media library",
        "parameters": {
          "file": "string|buffer",
          "title": "string",
          "alt_text": "string",
          "caption": "string",
          "description": "string"
        }
      },
      {
        "name": "wp_create_category",
        "description": "Create a new category",
        "parameters": {
          "name": "string",
          "slug": "string",
          "description": "string",
          "parent": "number"
        }
      },
      {
        "name": "wp_create_tag",
        "description": "Create a new tag",
        "parameters": {
          "name": "string",
          "slug": "string",
          "description": "string"
        }
      }
    ]
  },
  "installation": {
    "npm_package": "@wordpress/mcp-adapter",
    "setup_instructions": [
      "1. Install the WordPress MCP adapter: npm install @wordpress/mcp-adapter",
      "2. Set up WordPress Application Password:",
      "   - Go to WordPress Admin > Users > Your Profile",
      "   - Scroll to 'Application Passwords' section",
      "   - Enter a name for the application and click 'Add New'",
      "   - Copy the generated password",
      "3. Set environment variables:",
      "   - WORDPRESS_USERNAME=your-username",
      "   - WORDPRESS_APP_PASSWORD=generated-password",
      "4. Update the endpoint URL in this configuration",
      "5. Test the connection using the MCP test command"
    ]
  }
}