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
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.
Vinkius delivers Streamable HTTP and SSE to any MCP client
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();
* 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 secret incident on GitGuardian
Assign a secret incident
Bulk prefix lookup on GitGuardian
Bulk lookup for honeytoken HMSL hashes
Create custom tag on GitGuardian
Create a custom tag
Create honeytoken on GitGuardian
Create a honeytoken
Create honeytoken note on GitGuardian
Create a honeytoken note
Create honeytoken with context on GitGuardian
Create a honeytoken within a context
Create team on GitGuardian
Create a team
Delete custom tag on GitGuardian
Delete a custom tag
Delete custom tags key on GitGuardian
Delete a custom tags key
Get custom tag on GitGuardian
Retrieve a custom tag
Get health on GitGuardian
Check API health status
Get honeytoken on GitGuardian
Retrieve a honeytoken
Get quotas on GitGuardian
Retrieve quota overview
Get secret incident on GitGuardian
Retrieve secret incident details
Get self api token on GitGuardian
Retrieve current API token details
Ignore secret incident on GitGuardian
Ignore a secret incident
List api tokens on GitGuardian
List API tokens
List audit log event names on GitGuardian
List all existing event names for audit logs
List audit logs on GitGuardian
List audit logs for your workspace
List custom tags on GitGuardian
List custom tags
List health check history on GitGuardian
List health check history for an instance
List health checks on GitGuardian
List health checks
List honeytoken events on GitGuardian
List all honeytokens events
List honeytoken notes on GitGuardian
List honeytoken notes
List honeytoken sources on GitGuardian
List sources where a honeytoken appears
List honeytokens on GitGuardian
List honeytokens
List ip allowlist on GitGuardian
List IP allowlist rules
List ips on GitGuardian
List GitGuardian's own IP addresses
List members on GitGuardian
List workspace members
List scim groups on GitGuardian
List groups via SCIM
List scim users on GitGuardian
List members via SCIM
List secret incidents on GitGuardian
List secret incidents
List sources on GitGuardian
List all sources
List team memberships on GitGuardian
List team members
List teams on GitGuardian
List teams
Multiscan content on GitGuardian
Scan multiple contents for secrets
Reset honeytoken on GitGuardian
Reset a honeytoken
Resolve secret incident on GitGuardian
Resolve a secret incident
Revoke honeytoken on GitGuardian
Revoke a honeytoken
Revoke self api token on GitGuardian
Revoke current API token
Scan and create incidents on GitGuardian
Scan content and create incidents automatically
Scan content on GitGuardian
Scan content for secrets
Trigger health check on GitGuardian
Trigger a health check
Trigger source scans on GitGuardian
Trigger scans on sources
Update custom tag full on GitGuardian
Full update of a custom tag
Update custom tag partial on GitGuardian
Partial update of a custom tag
Update custom tags key on GitGuardian
Update a custom tags key
Update honeytoken on GitGuardian
Update a honeytoken
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.
Install dependencies
npm install @mastra/core @mastra/mcp @ai-sdk/openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
agent.ts and run with npx tsx agent.tsExplore tools
Why Use Mastra AI with the GitGuardian MCP Server
Mastra AI provides unique advantages when paired with GitGuardian through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add GitGuardian without touching business code
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
TypeScript-native: full type inference for every GitGuardian tool response with IDE autocomplete and compile-time checks
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.
Automated workflows: build multi-step agents that query GitGuardian, process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed GitGuardian as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query GitGuardian on a cron and store results in your database automatically
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.
"List the most recent secret incidents in my workspace."
"Create a new AWS honeytoken named 'Internal-Dev-Decoy'."
"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.
createMCPClient not exported
npm install @mastra/mcpGitGuardian + Mastra AI FAQ
Common questions about integrating GitGuardian MCP Server with Mastra AI.
How does Mastra AI connect to MCP servers?
MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.Can Mastra agents use tools from multiple servers?
Does Mastra support workflow orchestration?
Explore More MCP Servers
View all →
OpenCritic
8 toolsUnified video game review platform — access scores, critic reviews, and rankings via AI.

Klaviyo
12 toolsDrive revenue with email and SMS marketing powered by customer data that personalizes every message to increase lifetime value.

Polar
10 toolsManage digital products, subscriptions, orders and customers via Polar — create checkouts, manage discounts and track revenue from any AI agent.

Findymail
12 toolsFind and verify verified B2B emails and direct phone numbers using natural language agents.
