loading…
Search for a command to run...
loading…
Enables building RudderStack Profiles projects using natural language through AI assistants, supporting data discovery, identity resolution, feature engineering
Enables building RudderStack Profiles projects using natural language through AI assistants, supporting data discovery, identity resolution, feature engineering, and propensity modeling.
The Profiles MCP Server enables you to build RudderStack Profiles projects using natural language through AI assistants. Simply describe what you want to accomplish, and the AI will guide you through data discovery, identity resolution, feature engineering, and propensity modeling - all through conversational interactions.
pb (from profiles-rudderstack) is installed as part of setup and used by default for warehouse query execution.The Profiles MCP server works with any AI client that supports the Model Context Protocol (MCP).
Running the setup script (./setup.sh) will automatically:
scripts/start.sh)If the automatic integration doesn't work or you encounter issues, you can manually configure the integration (see below).
For other AI clients or if automatic integration fails:
First, run setup: Ensure you've run ./setup.sh to create the scripts/start.sh file and install dependencies
Configure your AI client's MCP settings to point to:
/absolute/path/to/profiles-mcp/scripts/start.sh
Replace /absolute/path/to/profiles-mcp/ with the actual full path to your cloned repository
Refer to your specific AI client's documentation for MCP server configuration. Make sure you update the client to its latest version
Restart your AI client after configuration
Recommended Model: For the best experience, we recommend using high-capability models such as the latest Claude Sonnet, GPT-5 class, or similar advanced reasoning models. While the server works with most LLMs, advanced reasoning models provide optimal performance for complex profiles project workflows
Clone this repository and navigate to the directory:
cd profiles-mcp
Run the setup script:
./setup.sh
This will:
uv package manageruv if not found.env file if missingpb CLI (profiles-rudderstack) required for default pb-query executionsrc/data/Restart your AI client to apply the configuration changes
Once configured, you can interact with the AI using natural language to build profiles projects. The AI will guide you through the entire process. If you have multiple MCP servers running, or you are working in a blank project, the AI may need to be prompted to use Rudderstack Profiles, so it knows to call the Profiles MCP server.
Predictive Analytics:
"Build a churn prediction model for my subscription users in Snowflake using Rudderstack Profiles"
"Add a customer lifetime value prediction model to my profiles project"
Feature Engineering:
"Build a customer profiles project with purchase behavior features"
"Generate features for my marketing campaigns using Rudderstack Profiles"
Identity Resolution:
"Stitch together user identities across email, phone, and user_id, using Rudderstack Profiles"
"Create unified customer profiles from multiple data sources"
The AI will:
For Cursor Users:
In Cursor MCP settings, you should see the profiles mcp tool active with a green indicator. See the reference image:

For All AI Clients: If the MCP tools are not available or the server appears inactive:
Test the server directly by running in your terminal:
cd profiles-mcp
./scripts/start.sh
Check for errors in the output or review the log file:
cat profiles-mcp.log
Common issues:
./setup.sh.env file exists with your RudderStack PATscripts/start.sh is executable (chmod +x scripts/start.sh)If issues persist, manually verify the MCP configuration in your AI client points to the correct path for scripts/start.sh
The MCP Server provides a comprehensive toolkit that enables AI assistants to build profiles projects:
Knowledge Tools - Provide the AI with RudderStack Profiles concepts, syntax, and best practices
about_profiles: Static documentation on core conceptssearch_profiles_docs: RAG-powered search for answering specific questionsData Discovery Tools - Explore and analyze your warehouse data
run_query: Execute SQL queries on your warehousedescribe_table: Examine table schemas and structureinput_table_suggestions: Identify relevant tables for your projectProject Management Tools - Set up and configure profiles projects
get_existing_connections: List available warehouse connectionssetup_new_profiles_project: Initialize Python environment and project structurevalidate_propensity_model_config: Validate predictive model configurationsOutput Analysis Tools - Work with profiles project results
get_profiles_output_details: Analyze generated feature tables and model outputs| Warehouse | Status | Authentication Methods | Notes |
|---|---|---|---|
| Snowflake | ✅ Fully Supported | Username/Password, Key Pair, SSO | MFA not supported, use key-pair auth instead |
| BigQuery | ✅ Fully Supported | Service Account JSON, Application Default Credentials | Project-based permissions required |
| Databricks | ✅ Fully Supported | Personal Access Token (PAT), M2M OAuth | Supports both Unity Catalog and legacy 2-level namespace |
| Redshift | ✅ Fully Supported | Username/Password, IAM Role (Secrets Manager) | Supports both provisioned clusters and serverless workgroups |
We're continuously improving the Profiles MCP Server. Upcoming features include:
If you need to manually configure your AI client's MCP settings, use the following configuration template:
For Cursor (~/.cursor/mcp.json):
{
"mcpServers": {
"profiles": {
"command": "/absolute/path/to/profiles-mcp/scripts/start.sh",
"args": []
}
}
}
For Claude Code: Configuration is handled automatically by setup.sh
For Cline: Configuration is handled automatically by setup.sh
For other MCP-compatible clients: Refer to your client's documentation and point to scripts/start.sh as the server command
Contributing: Contributions are welcome! Please ensure Python 3.10.x compatibility and follow the existing code patterns
This project is licensed under the Elastic License v2.0 - see the LICENSE file for details.
Выполни в терминале:
claude mcp add profiles-mcp-server -- npx Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.