MCP server
Mastyf Ai
Runtime proxy for MCP security, cost governance & audit
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 4.1.12
- Listing updated
- 5 days ago
About Mastyf Ai
Mastyf Ai is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add mastyf-ai --env ALERT_WEBHOOK_URL='<ALERT_WEBHOOK_URL>' -- npx -y @mastyf_ai/serverAdd to claude_desktop_config.json
{
"mcpServers": {
"mastyf-ai": {
"command": "npx",
"args": [
"-y",
"@mastyf_ai/server"
],
"env": {
"ALERT_WEBHOOK_URL": "<ALERT_WEBHOOK_URL>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mastyf-ai": {
"command": "npx",
"args": [
"-y",
"@mastyf_ai/server"
],
"env": {
"ALERT_WEBHOOK_URL": "<ALERT_WEBHOOK_URL>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mastyf-ai": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mastyf_ai/server"
],
"env": {
"ALERT_WEBHOOK_URL": "<ALERT_WEBHOOK_URL>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mastyf-ai": {
"command": "npx",
"args": [
"-y",
"@mastyf_ai/server"
],
"env": {
"ALERT_WEBHOOK_URL": "<ALERT_WEBHOOK_URL>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mastyf-ai": {
"command": "npx",
"args": [
"-y",
"@mastyf_ai/server"
],
"env": {
"ALERT_WEBHOOK_URL": "<ALERT_WEBHOOK_URL>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
MASTYF_AI_DB_PATHPath to SQLite history databaseALERT_WEBHOOK_URLSlack or Discord webhook for critical alertsMETRICS_ENABLEDExpose Prometheus metrics
Pricing
Open source
Mastyf Ai FAQ
Is Mastyf Ai free?
Yes. Mastyf Ai is open source, so you can use and self-host it for free.
How do I add Mastyf Ai to Claude Code?
Run this command in your terminal: claude mcp add mastyf-ai --env ALERT_WEBHOOK_URL='<ALERT_WEBHOOK_URL>' -- npx -y @mastyf_ai/server
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.