Conversational Insights DevKit (cxidk) MCP Server
Google Cloud Conversational Insights (CCAI) MCP server for analytics, conversion, and config ops.
Conversational Insights DevKit (cxidk) scores 69 (Good), licensed Apache-2.0 and written in Python. It installs as a local process. It declares 1 tool. Filed under Cloud. GitHub shows 10 stars. Package registries report about 48 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
69 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: apache-2.0.
License, quality and maintenance
Where the 69 comes from
22 + 20 + 3 + 10 + 4 + 10 = 69. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 3 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "googlecloudplatform-conversational-insights-devkit": { "command": "uvx", "args": [ "cxidk" ], "env": { "CXIDK_PROJECT_ID": "", "CXIDK_LOCATION": "", "CXIDK_ALLOWED_PROJECTS": "", "CXIDK_ALLOW_WRITES": "", "CXIDK_TRANSCRIPT_MODE": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
CXIDK_PROJECT_ID | Required | Default Google Cloud project ID for CCAI Insights operations. |
CXIDK_LOCATION | Required | Default CCAI Insights regional location (e.g. us-central1, europe-west1, global). |
CXIDK_ALLOWED_PROJECTS | Optional | Comma-separated allowlist of GCP project IDs permitted for tool calls. |
CXIDK_ALLOW_WRITES | Optional | Set to 'true' to expose guarded write tools (config promotion, ingestion, bulk analyze). |
CXIDK_TRANSCRIPT_MODE | Optional | Transcript privacy mode: 'full', 'redacted', or 'omit'. |
Tools1Tool docs quality grade D
All capabilitiesCxContexttoolQuickstart 1: Python SDK ( & Read APIs)
About
Conversational Insights DevKit (cxidk 2.0)
The Conversational Insights DevKit (cxidk) is an AI-native Python library,
Model Context Protocol (MCP) server, and Google Agent Development Kit (ADK)
integration for Google Cloud Conversational Insights
(formerly Contact Center AI / CCAI Insights, part of Customer Engagement Suite).
Key Features
- Read & Analytics APIs: Token-budgeted conversation listing (
BASICview by default), transcript retrieval with Cloud DLP / regex PII redaction, QA scorecard analysis inspection,calculate_stats, andquery_metricstime-series slicing. - Guarded Configuration Promotion (
ConfigOps): Atomic GCS bundle export, dry-runplan()with cryptographic HS256plan_tokenbinding, and create-onlyimport_()across projects and regions. - Vendor Transcript Onboarding: Deterministic JSON Schema validation and
conversion for AWS Transcribe and Genesys Cloud, plus Gemini speaker
role classification (
AGENTvs.CUSTOMER) viagoogle-genai. - MCP Server (
cxidk-mcp): Ready for Gemini CLI, Claude Code, Cursor, VS Code (stdio), and remote multi-user Cloud Run deployments (Streamable HTTP with IAP/OIDC auth, MCP elicitation confirmation, OpenTelemetry, and audit logging). - Google ADK Integration (
cxidk.ai.adk): First-classFunctionTool(require_confirmationwired automatically), remoteMcpToolset, bundledSKILL.mdAgent Skills, and reference agents (insights_analyst,config_promoter,qa_tuner).
When to Use cxidk vs. google-cloud-contact-center-insights
google-cloud-contact-center-insights provides low-level auto-generated gRPC/Protobuf
bindings. Use cxidk on top when building workflows, pipelines, or AI agents:
| Developer / Agent Task | cxidk Python Entrypoint | MCP / ADK Tool |
|---|---|---|
| Aggregate call volume, sentiment, and QA metrics | cxidk.wrapper.insights.Stats | insights_calculate_stats, insights_query_metrics |
| Read conversations with PII masking & turn budgets | cxidk.wrapper.insights.Conversations | insights_list_conversations, insights_get_conversation |
| Export, dry-run plan, and promote Insights configs | cxidk.workflow.ops.ConfigOps | config_export_bundle, config_plan_import, config_apply_import |
| Convert AWS Transcribe or Genesys Cloud JSON | cxidk.workflow.format.Insights | transcript_validate, transcript_convert |
Classify AGENT vs. CUSTOMER speaker roles | cxidk.workflow.role_recognizer.RoleRecognizer | transcript_recognize_roles |
| Evaluate & tune Quality AI (QAI) scorecards | cxidk.wrapper.insights.Scorecards, cxidk.workflow.insight_refinements | insights_list_scorecards, insights_get_scorecard, insights_list_scorecard_revisions, insights_list_analyses |
| Build confirmation-gated Google ADK agents | cxidk.ai.adk.insights_tools, cxidk.ai.skills | All 19 @cx_tool functions |
Requirements & Installation
Requires Python 3.11+.
python3 -m venv .venv
source .venv/bin/activate
# Core SDK
pip install cxidk
# With MCP server + Google ADK + Speech + DLP extras
pip install "cxidk[mcp,adk,speech,dlp]"
# Local editable install for contributors
pip install -e ".[all,dev]"
Quickstart 1: Python SDK (CxContext & Read APIs)
from cxidk import CxContext
from cxidk.ai.tools import insights_calculate_stats, insights_list_conversations
cx = CxContext(project_id="my-gcp-project", location="us-central1")
stats = insights_calculate_stats(filter='medium="PHONE_CALL"', cx=cx)
print(stats.stats)
page = insights_list_conversations(page_size=10, cx=cx)
for convo in page.conversations:
print(convo.get("name"))
Quickstart 2: Gemini CLI Extension & Local MCP Server (stdio)
Authenticate with Application Default Credentials:
gcloud auth application-default login
Install in one command as a Gemini CLI Extension (wires cxidk-mcp, environment
settings, and all 4 Agent Skills automatically):
gemini extensions install https://github.com/GoogleCloudPlatform/conversational-insights-devkit
Or add cxidk-mcp directly to Gemini CLI (~/.gemini/settings.json), Claude
Desktop / Claude Code, VS Code, or Cursor via uvx (or an installed .venv):
{
"mcpServers": {
"cxidk": {
"command": "uvx",
"args": ["--from", "cxidk[mcp]", "cxidk-mcp", "--transport", "stdio"],
"env": {
"CXIDK_PROJECT_ID": "your-gcp-project",
"CXIDK_LOCATION": "us-central1"
}
}
}
}
Write tools are disabled by default. Pass "--allow-writes" (or set
CXIDK_ALLOW_WRITES=true) to enable guarded promotion and ingestion tools with
interactive MCP elicitation confirmation.
Quickstart 3: Google ADK Agents
from cxidk import CxContext
from cxidk.ai.adk import build_insights_analyst_agent, build_config_promoter_agent
cx = CxContext(project_id="my-gcp-project", location="us-central1")
# Read-only analyst agent with redacted transcript defaults
analyst = build_insights_analyst_agent(cx=cx)
# Guarded release agent (requires plan_token + ADK ToolConfirmation on writes)
promoter = build_config_promoter_agent(
cx=cx,
allowed_projects=["dev-insights", "prod-insights"],
)
Quickstart 4: Vendor Transcript Conversion & Ingestion
import json
import uuid
from cxidk.workflow import format as cx_format
from cxidk.workflow import role_recognizer as rr
from cxidk.wrapper import insights, speech, storage
project_id = "your-gcp-project"
location = "us-central1"
bucket_name = "your-insights-staging-bucket"
parent = f"projects/{project_id}/locations/{location}"
# Convert an AWS Transcribe JSON payload locally
with open("tests/integration/data/aws_transcript.json", "r", encoding="utf-8") as f:
aws_payload = json.load(f)
insights_json = cx_format.Insights().from_aws(transcript=aws_payload)
# Upload to GCS and ingest into CCAI Insights
gcs = storage.Gcs(project_name=project_id, bucket_name=bucket_name)
blob_name = f"{uuid.uuid4()}.json"
gcs.upload_blob(file_name=blob_name, data=json.dumps(insights_json))
ingestor = insights.Ingestion(
parent=parent,
transcript_path=f"gs://{bucket_name}/{blob_name}",
)
operation = ingestor.single(language_code="en-US")
print(f"Ingestion operation started: {operation.name}")
Cloud Run & Terraform Deployment
deploy/mcp-cloud-run/README.md: Container image andgcloud run deployscript for stateless Streamable HTTPcxidk-mcpbehind IAP/OIDC.examples/terraform/: Reference Terraform modules for deployingcxidk-mcpon Cloud Run (cloud_run_mcp/) and event-driven transcript ingestion on Cloud Run Functions (2nd Gen) (cloud_run_function_ingest/).
Documentation for AI Systems
llms.txt: Concise machine-readable index of Python SDK modules, registered MCP/ADK tools, resources, prompts, and Agent Skills (also accessible offline viacxidk.get_llms_txt()orcxidk-mcp --print-llms-txt).llms-full.txt: Self-contained full-context Markdown bundle inlining quickstarts, SDK & tool schemas, filter syntax, andSKILL.mdplaybooks.AGENTS.md/GEMINI.md/CLAUDE.md: Contributor & coding-agent guardrails.GEMINI_EXTENSION.md&gemini-extension.json: Gemini CLI Extension runtime context and configuration manifest.src/cxidk/ai/skills/(mirrored atskills/): PortableSKILL.mdplaybooks.
License
Distributed under the Apache 2.0 License. See LICENSE.txt for details.
Frequently asked questions
What is Conversational Insights DevKit (cxidk) MCP Server?
Google Cloud Conversational Insights (CCAI) MCP server for analytics, conversion, and config ops.
How do I install Conversational Insights DevKit (cxidk) MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Conversational Insights DevKit (cxidk) MCP Server runs locally from the PyPI package cxidk with the command uvx cxidk.
Is Conversational Insights DevKit (cxidk) MCP Server free and open source?
Yes. Conversational Insights DevKit (cxidk) MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Conversational Insights DevKit (cxidk) MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Conversational Insights DevKit (cxidk) MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Conversational Insights DevKit (cxidk) MCP Server provide?
Conversational Insights DevKit (cxidk) MCP Server provides 1 tool: CxContext. See the full tool list for descriptions and parameters.
How is Conversational Insights DevKit (cxidk) MCP Server's trust score calculated?
Conversational Insights DevKit (cxidk) MCP Server scores 69 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.