Skip to main content
Glama

MCP Server Semgrep

import path from 'path'; import { fileURLToPath } from 'url'; // Dynamically determine the MCP directory const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); export const BASE_ALLOWED_PATH = path.resolve(__dirname, '../..'); export const DEFAULT_SEMGREP_CONFIG = 'auto'; export const SERVER_CONFIG = { name: 'semgrep-server', version: '0.1.0', }; export enum ResultFormat { JSON = 'json', SARIF = 'sarif', TEXT = 'text' } export const DEFAULT_RESULT_FORMAT = ResultFormat.TEXT; export const DEFAULT_TIMEOUT = 300000; // 5 minutes

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Szowesgad/mcp-server-semgrep'

If you have feedback or need assistance with the MCP directory API, please join our Discord server