Skip to main content
Glama
kalala252

asm-mcp-server

by kalala252

asm-mcp-server

Dies ist ein lokaler Server zur Nutzung von asm-agent über einen MCP-Client. Ein verbundenes LLM kann das Sammeln öffentlicher Informationen, das Abrufen gespeicherter Ergebnisse und die Überprüfung von Belegen als MCP-Tools ausführen.

Dieser Server selbst ruft keine LLM-API auf. Für Konversation und Zusammenfassung wird das Modell des MCP-Clients verwendet.

Voraussetzungen

  • Python 3.12 oder höher

  • uv

  • Ein separat eingerichtetes asm-agent

  • Ein LLM-Client mit MCP-Unterstützung

Related MCP server: groundwork

Einrichtung

Platzieren Sie asm-agent und asm-mcp-server in separaten Ordnern und bereiten Sie jeweils die Abhängigkeiten vor.

cd /absolute/path/to/asm-agent
uv sync

cd /absolute/path/to/asm-mcp-server
uv sync

Wenn Sie Shodan verwenden, speichern Sie den API-Schlüssel auf der asm-agent-Seite.

cd /absolute/path/to/asm-agent
uv run asm-agent credentials set-shodan

Beim MCP-Client registrieren

Fügen Sie der Konfiguration des MCP-Clients Folgendes hinzu. Geben Sie alles als absolute Pfade an.

{
  "mcpServers": {
    "passive-attack-surface": {
      "command": "/absolute/path/to/uv",
      "args": [
        "--directory",
        "/absolute/path/to/asm-mcp-server",
        "run",
        "asm-mcp-server"
      ],
      "env": {
        "ASM_AGENT_EXECUTABLE": "/absolute/path/to/asm-agent/.venv/bin/asm-agent",
        "ASM_MCP_REPORT_DIR": "/absolute/path/to/asm-mcp-server/reports"
      }
    }
  }
}

Starten Sie den MCP-Client nach der Registrierung neu oder verbinden Sie ihn erneut.

Unter Windows geben Sie den absoluten Pfad zu uv.exe als command an und ASM_AGENT_EXECUTABLE im folgenden Format:

C:\absolute\path\to\asm-agent\.venv\Scripts\asm-agent.exe

Beispiel für eine Konversation

example.comをShodanありで調査して、見つかったホスト名、IPアドレス、公開ポート、CVE候補を根拠付きでまとめて。

Verfügbare Tools

Tool

Inhalt

scan_domain

Sammelt und speichert öffentliche Informationen einer Domain

list_reports

Gibt eine Liste gespeicherter Berichte zurück

get_report_summary

Gibt Anzahl der Einträge, Warnungen und Fehler zurück

list_assets

Gibt Hostnamen, IP-Adressen und öffentliche Dienste zurück

get_evidence

Gibt Informationsquellen und Beobachtungszeitpunkte zurück

list_vulnerabilities

Gibt Shodan-CVE-Kandidaten, Produkte und Versionen zurück

Tools, die eine Liste zurückgeben, können mit offset und limit in Teilen abgerufen werden.

Konfiguration

Umgebungsvariable

Standardwert

Inhalt

ASM_AGENT_EXECUTABLE

asm-agent im PATH

Absoluter Pfad zum auszuführenden asm-agent

ASM_MCP_REPORT_DIR

./reports

Speicherort für Berichte

ASM_MCP_SCAN_TIMEOUT_SECONDS

600

Maximale Sekunden, die auf eine Untersuchung gewartet wird

Shodan-CVEs sind Kandidaten auf Grundlage früherer Beobachtungen und beweisen nicht, dass eine Schwachstelle derzeit noch besteht.

Entwicklung

uv run ruff check .
uv run mypy src
uv run pytest

Lizenz

MIT License

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Provides AI agents with 37 OSINT tools and 12 data sources to perform unified reconnaissance, domain analysis, and attack surface mapping. It enables agents to query, correlate, and reason across platforms like Shodan, VirusTotal, and Censys in parallel.
    37
    681
    44
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to perform grounded web research with injection resistance, claim verification, and cost-aware routing through MCP tools like web_search, fetch_url, extract_claims, and check_grounding.
    MIT
  • A
    license
    B
    quality
    A
    maintenance
    MCP search and evidence tool for AI agents. Rewrites queries, zooms into source domains, and returns sourced answers with metrics.
    1
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables LLMs to perform OSINT link-analysis by exposing transforms (DNS, WHOIS, Shodan, etc.) as MCP tools for autonomous investigation and graph enrichment.
    MIT

View all related MCP servers

Related MCP Connectors

  • Web research for agents: quality-scored Google search, webpage extraction, and deep research.

  • Hosted MCP with 91 agent tools: X, domains, SEO, Maps, Trends, Search, YouTube, TikTok, and more.

  • AI research on companies and industries — one MCP tool per research domain.

View all MCP Connectors

Latest Blog Posts

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/kalala252/asm-mcp-server'

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