Skip to main content

iotsploit-mcp

iotsploit-mcp exposes IoTSploit to external coding agents through MCP over streamable HTTP. It is intended to run on the IoTSploit rig, next to iotsploit-django, iotsploit-core, the plugin packages, and the attached hardware.

Commands

Start the MCP HTTP endpoint (the default; serves both the Django AI assistant and external agents):

export IOTSPLOIT_DJANGO_API_BASE_URL="http://127.0.0.1:8888"
iotsploit-mcp
iotsploit-mcp http --host 127.0.0.1 --port 9900

The MCP endpoint is http://<rig-host>:9900/mcp.

Bind to 127.0.0.1 for local use (the default). The HTTP endpoint does not require authentication in this MVP. If you expose the service beyond loopback (0.0.0.0 or a LAN address), protect it with a firewall, TLS/reverse proxy, or re-add authentication before sharing the rig.

Agent Config

Claude Code:

claude mcp add --transport http iotsploit http://<rig-host>:9900/mcp

Codex, Cursor, or generic MCP config:

{
  "mcpServers": {
    "iotsploit": {
      "type": "http",
      "url": "http://<rig-host>:9900/mcp"
    }
  }
}

Environment

  • IOTSPLOIT_MCP_HOST: optional default host for the MCP server.
  • IOTSPLOIT_MCP_PORT: optional default port for the MCP server.
  • IOTSPLOIT_DJANGO_API_BASE_URL: Django API base URL, default http://127.0.0.1:8888.
  • IOTSPLOIT_DJANGO_API_TOKEN: optional bearer token forwarded from MCP to Django.
  • IOTSPLOIT_DJANGO_API_TIMEOUT_S: Django request timeout in seconds.
  • IOTSPLOIT_MCP_LOG_TO_FILE: set to 1 to enable MCP file logging.

Current Tool Surface

This branch exposes a read-only HTTP-backed MVP:

  • System: system_status, system_health, list_urls
  • Plugins/groups: list_plugins, describe_plugin, list_groups
  • Drivers/devices: list_device_drivers, describe_driver, scan_devices, list_devices, device_info, get_driver_states
  • Targets: list_targets, get_current_target
  • Firmware: firmware_list, firmware_info
  • Fuzzer results: fuzzer_campaign_status, fuzzer_campaign_statistics, fuzzer_results_summary, fuzzer_artifacts
  • Tools/files: get_tools_status, get_tool_details, list_files
  • Local rig helper: list_serial_ports

Mutating and destructive tools are intentionally not exposed in this MVP. They require backend auth hardening and the two-key safety gate described in the implementation proposal.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iotsploit_mcp-0.0.8.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iotsploit_mcp-0.0.8-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file iotsploit_mcp-0.0.8.tar.gz.

File metadata

  • Download URL: iotsploit_mcp-0.0.8.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for iotsploit_mcp-0.0.8.tar.gz
Algorithm Hash digest
SHA256 ffee91dc2be7eb283575c5ab92858d18b0dc577ac1336769acc390ffbe9c2df8
MD5 4c467e1bde09e2b9603dfa71c34cf886
BLAKE2b-256 0618bc14a9153891c449a1ac6efdc28a4a207fe8e21941f67f302bc541bb8c5b

See more details on using hashes here.

File details

Details for the file iotsploit_mcp-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: iotsploit_mcp-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for iotsploit_mcp-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 f17bc5123ca7ff550f3d34dfee69a3812fc2c6aa5e36a0927466e7eeb840a24b
MD5 f02a6f826e7ed9fcee4d696d01733690
BLAKE2b-256 d2c42ac71097af126ee0cf24c5086c5cdc8f2f37ca5a4797224fd6418b61ff30

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.8 This release

2 files

0.0.7

2 files

0.0.6

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page