Skip to main content
Glama
yuanjianking

kasra-mcp

by yuanjianking

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
KASRA_API_KEYNoAPI key for authentication
KASRA_API_URLNoKasra API base URLhttp://localhost:8090

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
healthA

Check the Kasra API health status.

kasra_scan_fileA

SECURITY: Scan a file or directory for security vulnerabilities. Reads local file content and sends it to the Kasra API for analysis. Runs code review rules (SQL injection, XSS, hardcoded secrets, Docker/K8s misconfigurations, etc.). Supports all major programming languages and config formats.

kasra_get_rulesB

List all loaded security rules with their severity, action, and status.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: health checks API status, kasra_get_rules lists rules, and kasra_scan_file performs vulnerability scanning. No overlap in functionality.

Naming Consistency3/5

Two tools follow a 'kasra_' prefix pattern, but 'health' does not. This inconsistency could cause confusion about naming conventions, though it remains readable.

Tool Count4/5

Three tools is appropriate for a focused security scanning server. While minimal, each tool serves a core function without being overly numerous.

Completeness3/5

The set covers health check, rule listing, and scanning, but lacks retrieval of past scan results or rule management operations, which are notable gaps.

Maintenance

ActivitySlowing
ResponsivenessNo issues