4,000+ servers built on vurb.ts
Vinkius

GitGuardian MCP Server for Mastra AIGive Mastra AI instant access to 49 tools to Assign Secret Incident, Bulk Prefix Lookup, Create Custom Tag, and more

MCP Inspector GDPR Free for Subscribers

Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect GitGuardian through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.

Ask AI about this MCP Server for Mastra AI

The GitGuardian MCP Server for Mastra AI is a standout in the Fort Knox category — giving your AI agent 49 tools to work with, ready to go from day one.

Built for AI Agents by Vinkius

Vinkius delivers Streamable HTTP and SSE to any MCP client

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
typescript
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";

async function main() {
  // Your Vinkius token. get it at cloud.vinkius.com
  const mcpClient = await createMCPClient({
    servers: {
      "gitguardian": {
        url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
      },
    },
  });

  const tools = await mcpClient.getTools();
  const agent = new Agent({
    name: "GitGuardian Agent",
    instructions:
      "You help users interact with GitGuardian " +
      "using 49 tools.",
    model: openai("gpt-4o"),
    tools,
  });

  const result = await agent.generate(
    "What can I do with GitGuardian?"
  );
  console.log(result.text);
}

main();
GitGuardian
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

About GitGuardian MCP Server

Connect your GitGuardian workspace to any AI agent to strengthen your security posture and manage secret leaks through natural conversation.

Mastra's agent abstraction provides a clean separation between LLM logic and GitGuardian tool infrastructure. Connect 49 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.

What you can do

  • Incident Management — List, retrieve, and resolve secret incidents. Assign team members to leaks and track remediation progress.
  • Honeytokens — Create and manage decoy credentials (honeytokens) to detect unauthorized access to your private infrastructure.
  • Security Scanning — Scan code snippets or content for secrets and sensitive data in real-time to prevent leaks before they happen.
  • Audit & Compliance — Access detailed audit logs to monitor workspace activity and ensure compliance with security policies.
  • Team Collaboration — Manage teams, members, and API tokens to orchestrate security operations across your organization.

The GitGuardian MCP Server exposes 49 tools through the Vinkius. Connect it to Mastra AI in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.

All 49 GitGuardian tools available for Mastra AI

When Mastra AI connects to GitGuardian through Vinkius, your AI agent gets direct access to every tool listed below — spanning secret-detection, vulnerability-scanning, incident-response, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.

assign

Assign secret incident on GitGuardian

Assign a secret incident

bulk

Bulk prefix lookup on GitGuardian

Bulk lookup for honeytoken HMSL hashes

create

Create custom tag on GitGuardian

Create a custom tag

create

Create honeytoken on GitGuardian

Create a honeytoken

create

Create honeytoken note on GitGuardian

Create a honeytoken note

create

Create honeytoken with context on GitGuardian

Create a honeytoken within a context

create

Create team on GitGuardian

Create a team

delete

Delete custom tag on GitGuardian

Delete a custom tag

delete

Delete custom tags key on GitGuardian

Delete a custom tags key

get

Get custom tag on GitGuardian

Retrieve a custom tag

get

Get health on GitGuardian

Check API health status

get

Get honeytoken on GitGuardian

Retrieve a honeytoken

get

Get quotas on GitGuardian

Retrieve quota overview

get

Get secret incident on GitGuardian

Retrieve secret incident details

get

Get self api token on GitGuardian

Retrieve current API token details

ignore

Ignore secret incident on GitGuardian

Ignore a secret incident

list

List api tokens on GitGuardian

List API tokens

list

List audit log event names on GitGuardian

List all existing event names for audit logs

list

List audit logs on GitGuardian

List audit logs for your workspace

list

List custom tags on GitGuardian

List custom tags

list

List health check history on GitGuardian

List health check history for an instance

list

List health checks on GitGuardian

List health checks

list

List honeytoken events on GitGuardian

List all honeytokens events

list

List honeytoken notes on GitGuardian

List honeytoken notes

list

List honeytoken sources on GitGuardian

List sources where a honeytoken appears

list

List honeytokens on GitGuardian

List honeytokens

list

List ip allowlist on GitGuardian

List IP allowlist rules

list

List ips on GitGuardian

List GitGuardian's own IP addresses

list

List members on GitGuardian

List workspace members

list

List scim groups on GitGuardian

List groups via SCIM

list

List scim users on GitGuardian

List members via SCIM

list

List secret incidents on GitGuardian

List secret incidents

list

List sources on GitGuardian

List all sources

list

List team memberships on GitGuardian

List team members

list

List teams on GitGuardian

List teams

multiscan

Multiscan content on GitGuardian

Scan multiple contents for secrets

reset

Reset honeytoken on GitGuardian

Reset a honeytoken

resolve

Resolve secret incident on GitGuardian

Resolve a secret incident

revoke

Revoke honeytoken on GitGuardian

Revoke a honeytoken

revoke

Revoke self api token on GitGuardian

Revoke current API token

scan

Scan and create incidents on GitGuardian

Scan content and create incidents automatically

scan

Scan content on GitGuardian

Scan content for secrets

trigger

Trigger health check on GitGuardian

Trigger a health check

trigger

Trigger source scans on GitGuardian

Trigger scans on sources

update

Update custom tag full on GitGuardian

Full update of a custom tag

update

Update custom tag partial on GitGuardian

Partial update of a custom tag

update

Update custom tags key on GitGuardian

Update a custom tags key

update

Update honeytoken on GitGuardian

Update a honeytoken

update

Update secret incident on GitGuardian

Update a secret incident

Connect GitGuardian to Mastra AI via MCP

Follow these steps to wire GitGuardian into Mastra AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.

01

Install dependencies

Run npm install @mastra/core @mastra/mcp @ai-sdk/openai
02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token
03

Run the agent

Save to agent.ts and run with npx tsx agent.ts
04

Explore tools

Mastra discovers 49 tools from GitGuardian via MCP

Why Use Mastra AI with the GitGuardian MCP Server

Mastra AI provides unique advantages when paired with GitGuardian through the Model Context Protocol.

01

Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add GitGuardian without touching business code

02

Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation

03

TypeScript-native: full type inference for every GitGuardian tool response with IDE autocomplete and compile-time checks

04

One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure

GitGuardian + Mastra AI Use Cases

Practical scenarios where Mastra AI combined with the GitGuardian MCP Server delivers measurable value.

01

Automated workflows: build multi-step agents that query GitGuardian, process results, and trigger downstream actions in a typed pipeline

02

SaaS integrations: embed GitGuardian as a first-class tool in your product's AI features with Mastra's clean agent API

03

Background jobs: schedule Mastra agents to query GitGuardian on a cron and store results in your database automatically

04

Multi-agent systems: create specialist agents that collaborate using GitGuardian tools alongside other MCP servers

Example Prompts for GitGuardian in Mastra AI

Ready-to-use prompts you can give your Mastra AI agent to start working with GitGuardian immediately.

01

"List the most recent secret incidents in my workspace."

02

"Create a new AWS honeytoken named 'Internal-Dev-Decoy'."

03

"Scan this code for secrets: 'const apiKey = "sk_live_51MzX..."'"

Troubleshooting GitGuardian MCP Server with Mastra AI

Common issues when connecting GitGuardian to Mastra AI through Vinkius, and how to resolve them.

01

createMCPClient not exported

Install: npm install @mastra/mcp

GitGuardian + Mastra AI FAQ

Common questions about integrating GitGuardian MCP Server with Mastra AI.

01

How does Mastra AI connect to MCP servers?

Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
02

Can Mastra agents use tools from multiple servers?

Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
03

Does Mastra support workflow orchestration?

Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.

Explore More MCP Servers

View all →