{"id":47695312,"url":"https://github.com/daedalus/mcp-snap7","last_synced_at":"2026-04-03T19:01:28.235Z","repository":{"id":347498912,"uuid":"1194274814","full_name":"daedalus/mcp-snap7","owner":"daedalus","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-28T06:08:16.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-03T02:59:21.730Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daedalus.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-28T06:02:01.000Z","updated_at":"2026-03-28T06:08:03.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/daedalus/mcp-snap7","commit_stats":null,"previous_names":["daedalus/mcp-snap7"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/daedalus/mcp-snap7","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daedalus%2Fmcp-snap7","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daedalus%2Fmcp-snap7/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daedalus%2Fmcp-snap7/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daedalus%2Fmcp-snap7/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daedalus","download_url":"https://codeload.github.com/daedalus/mcp-snap7/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daedalus%2Fmcp-snap7/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31371636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T17:53:18.093Z","status":"ssl_error","status_checked_at":"2026-04-03T17:53:17.617Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-02T16:22:55.264Z","updated_at":"2026-04-03T19:01:28.219Z","avatar_url":"https://github.com/daedalus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mcp-snap7\n\n\u003e MCP server for python-snap7, enabling MCP clients to interact with Siemens PLCs\n\n[![PyPI](https://img.shields.io/pypi/v/mcp-snap7.svg)](https://pypi.org/project/mcp-snap7/)\n[![Python](https://img.shields.io/pypi/pyversions/mcp-snap7.svg)](https://pypi.org/project/mcp-snap7/)\n[![Coverage](https://codecov.io/gh/daedalus/mcp-snap7/branch/main/graph/badge.svg)](https://codecov.io/gh/daedalus/mcp-snap7)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n\n## Install\n\n```bash\npip install mcp-snap7\n```\n\n## Requirements\n\n- python-snap7 requires the libsnap7 library to be installed on your system.\n  See [python-snap7 documentation](https://python-snap7.readthedocs.io/) for installation instructions.\n\n## Usage\n\n### As MCP Server\n\nConfigure your MCP client to use `mcp-snap7` as a stdio server:\n\n```json\n{\n  \"mcpServers\": {\n    \"mcp-snap7\": {\n      \"command\": \"mcp-snap7\"\n    }\n  }\n}\n```\n\n### Available Tools\n\n- `connect_plc` - Connect to a Siemens PLC\n- `disconnect_plc` - Disconnect from PLC\n- `get_connected` - Check connection status\n- `db_read` / `db_write` - Read/write data blocks\n- `mb_read` / `mb_write` - Read/write memory bytes\n- `tm_read` / `tm_write` - Read/write timers\n- `ct_read` / `ct_write` - Read/write counters\n- `eb_read` / `eb_write` - Read/write edge inputs\n- `ab_read` / `ab_write` - Read/write absolute bytes\n- `get_cpu_info` - Get CPU information\n- `get_cpu_state` - Get CPU state\n- `get_protection` - Get PLC protection level\n- `plc_cold_start` - Trigger cold start\n- `plc_hot_start` - Trigger hot start\n- `plc_stop` - Stop PLC\n- `get_error_text` - Get error description\n\n## Development\n\n```bash\ngit clone https://github.com/daedalus/mcp-snap7.git\ncd mcp-snap7\npip install -e \".[test]\"\n\n# run tests\npytest\n\n# format\nruff format src/ tests/\n\n# lint\nruff check src/ tests/\n\n# type check\nmypy src/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaedalus%2Fmcp-snap7","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaedalus%2Fmcp-snap7","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaedalus%2Fmcp-snap7/lists"}