wix-data-mcp-server
v0.2.1
Published
MCP server for Wix CMS data collections with introspection
Readme
Wix Data MCP Server
A Model Context Protocol (MCP) server for interacting with Wix CMS data collections. Enables AI assistants to query, manipulate, and introspect Wix data.
Prerequisites
- Node.js 18+
- Wix API key and site ID (Get API key here)
Setup for AI Tools
Configure your Wix credentials (choose one method):
Option 1: Environment variables
export WIX_API_KEY="your_wix_api_key_here"
export WIX_SITE_ID="your_wix_site_id_here"Option 2: .env file
cp .env.example .env
# Edit .env with your actual credentials.env file contents:
WIX_API_KEY=your_wix_api_key_here
WIX_SITE_ID=your_wix_site_id_hereClaude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"wix-data": {
"command": "npx",
"args": ["wix-data-mcp-server"],
"env": {
"WIX_API_KEY": "your_wix_api_key_here",
"WIX_SITE_ID": "your_wix_site_id_here"
}
}
}
}Claude Code
Configure as an MCP server in your Claude Code settings using:
- Command:
npx wix-data-mcp-server - Environment variables:
WIX_API_KEY,WIX_SITE_ID
Or use the command line:
claude mcp add wix-data npx wix-data-mcp-serverCursor
Configure as an MCP server in Cursor settings with the same command structure.
Available Tools
Collection Management
create_collection- Create new data collections (requires confirmation)delete_collection- Delete collections permanently (requires double confirmation)update_collection- Update collection properties and permissions (requires confirmation)
Data Introspection
list_collections- List data collections with optional search and field filteringget_collection_schema- Get schema and field definitions for a collection
Data Querying
query_items- Query collection data with filters, sorting, and paginationget_item- Retrieve a single item by IDaggregate_data- Perform aggregations (count, sum, avg, min, max)
Data Manipulation
insert_item- Add new items to collections (requires confirmation)update_item- Update existing items (requires confirmation)delete_item- Remove items from collections (requires confirmation)bulk_insert- Insert multiple items at once (requires confirmation)
Wix Page Introspection
get_page_list- List all frontend pages from a Wix projectget_page_elements- Get UI elements and their types for a specific pageget_element_type_info- Get detailed properties and methods for $w element typeslist_available_element_types- List all available $w element types with categorization
All data modification operations require confirm: true parameter for safety. Collection deletion requires double confirmation for safety.
⚠️ Disclaimer
Use at your own risk. This tool provides direct access to your Wix CMS data. The authors are not responsible for any data loss, corruption, or unintended modifications to your Wix site. Always test with non-production data first and ensure you have proper backups.
License
MIT
