4,500+ servers built on MCP Fusion
Vinkius
Keen logo
Vinkius
CrewAI logo

How to Use the Keen MCP in CrewAI

Deploy specialized agent teams that analyze Keen event streams and run reports using CrewAI.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Keen MCP on Cursor AI Code Editor MCP Client Keen MCP on Claude Desktop App MCP Integration Keen MCP on OpenAI Agents SDK MCP Compatible Keen MCP on Visual Studio Code MCP Extension Client Keen MCP on GitHub Copilot AI Agent MCP Integration Keen MCP on Google Gemini AI MCP Integration Keen MCP on Lovable AI Development MCP Client Keen MCP on Mistral AI Agents MCP Compatible Keen MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
CrewAI

Connect Keen MCP to CrewAI

Create your Vinkius account to connect Keen to CrewAI and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Run multi-agent analysis on Keen collections

The `list_collections` tool allows your supervisor agent to find active telemetry streams before assigning tasks. A second analyst agent can then run `count_unique` on those collections. This team setup prevents single-agent bottlenecks. One agent finds the target data, while another calculates the metrics and writes the summary.

Detect telemetry anomalies using CrewAI and Keen

The `average_property` and `sum_property` tools give your monitoring crew the raw numbers they need to detect spikes. If a metric deviates from the norm, the crew escalates the issue. Your crew runs silently in the background, executing sequential tasks to watch your stack. You get real-time alerting without setting up complex rule engines.

Map project structures with the CrewAI MCP Server

The `get_project_details` tool lets your developer agent inspect your Keen configuration. Your crew can then configure new tracking pipelines based on active projects. This eliminates manual schema documentation. Agents read the live configuration, adapt their queries, and update your codebase automatically.

Setup guide

Set up Keen MCP in CrewAI

Prerequisites

  • Python 3.10+ installed
  • crewai package (pip install crewai)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Install CrewAI

    Run pip install crewai to install the framework. MCP support is built-in via the mcps parameter.

  2. 2

    Add the MCP URL to your agent

    Pass your Vinkius endpoint directly to the mcps list. Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com. CrewAI handles tool discovery and caching automatically.

  3. 3

    Kick off your crew

    Create a Crew with your agent and tasks. Call crew.kickoff() — the agent will automatically invoke Keen tools as needed.

crew.py
from crewai import Agent, Task, Crew

agent = Agent(
    role="Keen Analyst",
    goal="Access and analyze Keen data via MCP.",
    backstory="Expert analyst with direct Keen access.",
    mcps=[
        "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
    ],
)

task = Task(
    description="List recent Keen transactions",
    agent=agent,
    expected_output="A summary of recent activity",
)

crew = Crew(agents=[agent], tasks=[task])
result = crew.kickoff()
print(result)

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about Keen MCP in CrewAI

Pass your Vinkius endpoint URL directly in the agent's `mcps` array. CrewAI will automatically discover tools like `record_event` and `select_unique` over the MCP connection. Your agents can immediately start writing events or analyzing data.
Yes, you can use `MCPServerHTTP` from `crewai.mcp` with a `tool_filter`. This lets you restrict a junior agent to only `list_saved_queries`, while blocking them from calling `record_event`. It keeps your production database safe.
Your agents can use `list_datasets` to read pre-aggregated data instead of running heavy queries. For raw counts, `count_events` is highly optimized. This prevents your agents from timing out on large collections.
No, credentials are not shared or exposed to the agents. Vinkius manages your Keen API keys securely. The agents only see the tool interface, like `sum_property`, and never handle the raw keys.
Your event counts and schema definitions remain strictly confidential. The MCP server runs inside ephemeral, zero-trust sandboxes on Vinkius. We handle authorization tokens on our secure gateway, so your database credentials are never exposed to the LLM.

Start using the Keen MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 10 tools

We've already built the connector for Keen. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 10 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.