Cover image
servidor de asterisco-MCP
Public

servidor de asterisco-MCP

Try Now
2025-03-25

Servidor de protocolo de contexto del modelo Asterisk (MCP).

3 years

Works with Finder

0

Github Watches

2

Github Forks

13

Github Stars

Asterisk MCP Server

A Model Context Protocol (MCP) server that provides security scanning capabilities for code snippets, codebases, and verification of code changes.

Overview

Asterisk MCP Server is a middleware component that connects to the Asterisk security API to provide real-time security analysis of code. It implements the Model Context Protocol (MCP) to expose security scanning tools to AI assistants like Claude, Cursor, Cline, Windsurf, etc. enabling them to analyze code for security vulnerabilities.

Architecture

flowchart LR
    IDE["IDE / Code Editor"] <--> |MCP Protocol| MCP["Asterisk MCP Server"]
    MCP <--> |HTTP/HTTPS| API["Asterisk Vulnerability Scanner API"]
    
    classDef primary fill:#6696FF,stroke:#333,stroke-width:1px,color:white;
    classDef secondary fill:#45556B,stroke:#333,stroke-width:1px,color:white;
    classDef tertiary fill:#FFCC00,stroke:#333,stroke-width:1px,color:black;
    
    class IDE primary;
    class MCP secondary;
    class API tertiary;

Features

  • Code Snippet Scanning: Analyze individual code snippets for security vulnerabilities
  • Codebase Scanning: Scan multiple files for security issues with accurate context coverage
  • Change Verification: Verify if code changes in your chat history introduce security vulnerabilities
  • Beautiful Settings UI: Configure the server through a graphical interface
  • Flexible Transport: Support for stdio and SSE transport protocols
  • Comprehensive Logging: Detailed logging with configurable verbosity

Requirements

  • Python 3.10+
  • pipx / uvx
  • httpx
  • mcp[cli]
  • dearpygui (for settings UI)

Usage

{
  "mcpServers": {
    "asterisk-mcp": {
      "command": "pipx",
      "args": [
        "run",
        "asterisk-mcp-server",
        "--api-url",
        "https://api.mcp.asterisk.so",
        "--transport",
        "stdio",
        "--key",
        "YOUR_API_KEY"
      ],
      "timeout": 3600
    }
  }
}

Configuration

Configuration can be provided through command-line arguments or the settings UI:

API Server Settings

  • --api-url: Base URL for the Asterisk API server
  • --key: API key for authentication (required for API access)
  • --timeout: Timeout for API requests in seconds (0 for no timeout)

MCP Server Settings

  • --server-name: Name of the MCP server
  • --transport: Transport protocol for the MCP server (stdio or sse)
  • --port: Port for the SSE server (used with --transport sse)

Logging Settings

  • --log-level: Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
  • --no-console: Disable console output (only log to file)

Available Tools

scan_snippet

Scans individual code snippets for security vulnerabilities.

scan_codebase

Scans multiple files for security issues.

verify

Verifies if code changes introduce security vulnerabilities.

settings

Opens the settings UI when the user enters "/asterisk".

Data Flow

  1. The IDE or code editor sends a request to the Asterisk MCP Server using the MCP protocol
  2. The MCP server processes the request and forwards it to the Asterisk Vulnerability Scanner API
  3. The API analyzes the code and returns security findings
  4. The MCP server formats the results and returns them to the IDE/editor
  5. The IDE/editor presents the security analysis to the user

Troubleshooting

Connection Issues

  • Verify that the API URL is correct and accessible
  • Check that your API key is valid and has not expired
  • Ensure your network allows connections to the API server

Authentication Errors

  • Verify your API key is correctly set in the configuration
  • Check that your API key has the necessary permissions
  • Regenerate your API key from the dashboard if necessary

Timeout Errors

  • Increase the API timeout setting for large codebases
  • Consider analyzing smaller portions of code separately
  • Check your network connection stability

License

This project is licensed under the Apache License, Version 2.0. See the LICENSE file in the repository for the full license text.

Getting Help

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • huahuayu
  • Una puerta de enlace de API unificada para integrar múltiples API de explorador de blockchain similar a Esterscan con soporte de protocolo de contexto modelo (MCP) para asistentes de IA.

  • deemkeen
  • Controle su MBOT2 con un combo de potencia: MQTT+MCP+LLM

  • jae-jae
  • Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.

    Reviews

    5 (1)
    Avatar
    user_DYNxHEvI
    2025-04-16

    The asterisk-mcp-server by getAsterisk is an outstanding server application that excels in performance and reliability. As a dedicated user, I appreciate its seamless integration and robust functionality. It's evident that the developers put in significant effort to deliver a top-notch product that meets high standards. For anyone looking for a dependable MCP server, I highly recommend checking it out on GitHub!