Provides a Model Context Protocol server for AIVA to access customer intelligence, subscriptions, affiliates, and Shopify data.
Configuration
View docs{
"mcpServers": {
"0800tim-aiva-mcp": {
"command": "npx",
"args": [
"@getaiva/mcp"
],
"env": {
"AIVA_API_KEY": "your-api-key-here"
}
}
}
}You set up a Model Context Protocol (MCP) server for AIVA to empower your AI tools with direct access to customer intelligence, subscriptions, affiliates, and Shopify data. This server runs locally or alongside your development tools and exposes a focused set of actions that your AI assistants can invoke to fetch and analyze your store data.
You connect an MCP client to the AIVA MCP Server to enable your AI coding assistants to access customer data, subscription details, affiliate activity, and proxied Shopify information. Once connected, you can ask your AI to pull customer profiles, retrieve subscription histories, check delivery schedules, review affiliate performance, or browse Shopify data as part of your coding tasks. Use natural language prompts to query the available tools and have the AI return concise results or summaries that fit into your workflow.
npm install @getaiva/mcpNext, configure your MCP client to connect to the AIVA MCP Server. The following examples show how to add the MCP server for three popular clients. Replace the placeholder API key with your actual key.
{
"mcpServers": {
"aiva": {
"command": "npx",
"args": ["@getaiva/mcp"],
"env": {
"AIVA_API_KEY": "your-api-key-here"
}
}
}
}{
"mcpServers": {
"aiva": {
"command": "npx",
"args": ["@getaiva/mcp"],
"env": {
"AIVA_API_KEY": "your-api-key-here"
}
}
}
}{
"mcpServers": [
{
"name": "aiva",
"command": "npx",
"args": ["@getaiva/mcp"],
"env": {
"AIVA_API_KEY": "your-api-key-here"
}
}
]
}Claude Desktop, Cursor, and VS Code Continue can all connect to the MCP server using the same basic runtime setup. Add the MCP server entry to your client’s MCP configuration, ensuring the API key is provided in the environment.
For Claude Desktop, place this in your configuration file under mcpServers with the appropriate key as shown in the example.
The server requires an AIVA API key for authentication. You supply this key via the AIVA_API_KEY environment variable in your MCP client configuration.
Ask your AI assistant to: "Show me customers at high risk of churning" or "Get the subscription details for customer [email protected]" to fetch real-time insights from AIVA through the MCP server.
git clone https://github.com/0800tim/aiva-mcp.git
cd aiva-mcp
npm install
npm run devIf you encounter issues, ensure your AIVA_API_KEY is set in the MCP client configuration. If you see connection errors, verify that the API key is valid and that the MCP client can reach the AIVA API.
This MCP server configuration assumes you are connecting via local or development environments using the provided npm-based runtime.
Get customer profile by ID or email
Search customers with filters
Get RFM segment breakdown
Get customers at risk of churning
Get subscription details
List subscriptions with filters
Get upcoming deliveries
Pause, resume, skip, swap products
Get affiliate details
List affiliates with stats
Get referral history
Search/list products
Get product by ID
List orders
Get Shopify customer