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

How to Use the New Relic MCP in CrewAI

Deploy a specialized crew of autonomous SRE agents to monitor your stack using CrewAI and this MCP server.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

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

Connect New Relic MCP to CrewAI

Create your Vinkius account to connect New Relic 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

Segment monitoring tasks across CrewAI

Handing one script twenty different monitoring tasks guarantees failure. You need dedicated workers handling specific parts of your infrastructure. Create a Tier 1 Support agent that constantly polls `list_alerts` and `list_entities`. When it finds an issue, it hands the context to a Senior SRE agent that runs complex `run_nrql` queries to diagnose the root cause.

Maintain state across diagnostic runs

Complex outages span multiple services and dashboards. An isolated script forgets what it saw three steps ago, but a crew shares everything it finds. The researcher agent pulls `get_apm_summary` data and stores it in the shared session memory. The reporting agent reads that exact data later to format a Slack update, never needing to call `list_service_levels` twice for the same information.

Restrict tool access by role

You cannot trust every autonomous worker with full access to your NerdGraph MCP Server endpoints. Some tasks just require basic visibility without deep query capabilities. Using the `tool_filter` parameter in `MCPServerHTTP`, you restrict your reporting agent to only use `list_dashboards` and `get_dashboard`. The deep diagnostic tools stay locked away with the senior agents.

Setup guide

Set up New Relic 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 New Relic tools as needed.

crew.py
from crewai import Agent, Task, Crew

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

task = Task(
    description="List recent New Relic 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 New Relic MCP in CrewAI

Just drop the Vinkius URL into the mcps array when defining your agent. The framework automatically fetches the available endpoints and makes them ready for use.
They operate sequentially or hierarchically depending on your setup. A manager agent can delegate query tasks to multiple workers, but they will execute their specific MCP tool calls in order.
You can use stdio, SSE, or Streamable HTTP. For our managed endpoints, Streamable HTTP provides the most reliable connection for heavy telemetry pulls.
Import MCPServerHTTP from the core library. Pass a filter array to explicitly allow only the specific read operations you want that agent to touch.
Only the specific agent assigned to the task reads your configurations. The execution happens inside a temporary V8 sandbox that shreds your NerdGraph API responses the moment the session terminates.

Start using the New Relic 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 New Relic. 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.