{"id":50735377,"url":"https://github.com/wyre-technology/sentinelone-mcp","last_synced_at":"2026-06-10T13:01:20.193Z","repository":{"id":355518229,"uuid":"1204205969","full_name":"wyre-technology/sentinelone-mcp","owner":"wyre-technology","description":"Multitenant Streamable HTTP wrapper for sentinel-one/purple-mcp","archived":false,"fork":false,"pushed_at":"2026-06-02T02:03:42.000Z","size":250,"stargazers_count":0,"open_issues_count":7,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-02T03:22:41.545Z","etag":null,"topics":["mcp","msp","msp-mcp","security","sentinelone"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wyre-technology.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":".github/CODEOWNERS","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-04-07T19:42:37.000Z","updated_at":"2026-06-02T02:01:32.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/wyre-technology/sentinelone-mcp","commit_stats":null,"previous_names":["wyre-technology/sentinelone-mcp"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/wyre-technology/sentinelone-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wyre-technology%2Fsentinelone-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wyre-technology%2Fsentinelone-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wyre-technology%2Fsentinelone-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wyre-technology%2Fsentinelone-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wyre-technology","download_url":"https://codeload.github.com/wyre-technology/sentinelone-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wyre-technology%2Fsentinelone-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34153483,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["mcp","msp","msp-mcp","security","sentinelone"],"created_at":"2026-06-10T13:01:19.111Z","updated_at":"2026-06-10T13:01:20.188Z","avatar_url":"https://github.com/wyre-technology.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sentinelone-mcp\n\nMultitenant Streamable HTTP wrapper for [sentinel-one/purple-mcp](https://github.com/Sentinel-One/purple-mcp), built so the [wyre-technology MCP gateway](https://github.com/wyre-technology/mcp-gateway) can forward per-tenant SentinelOne credentials as HTTP headers.\n\n## Why\n\n`purple-mcp` is a great first-party MCP server, but it reads its SentinelOne console token + URL from environment variables at process startup, which makes it single-tenant per container. Our gateway is multi-tenant: every request carries the calling org's credentials as HTTP headers, and the vendor container has to translate those headers into something the upstream understands.\n\nThis image bundles `purple-mcp` plus a small Node/Fastify proxy. The proxy:\n\n1. Listens on `:8080` with `POST /mcp` and `GET /health`.\n2. Reads `x-purplemcp-token` and `x-purplemcp-base-url` from each incoming request.\n3. Lazily spawns one `purple-mcp --mode streamable-http` child per `(token, base-url)` tenant on a private loopback port, with the right env vars set.\n4. Proxies the request body to that child and streams the response back.\n5. Evicts idle children after 15 minutes (`IDLE_EVICT_MS`).\n\nThe result is a single container that the gateway can talk to like any other vendor MCP server.\n\n## Configuration\n\n| Env var | Default | Notes |\n|---|---|---|\n| `PORT` | `8080` | Public listen port. |\n| `PURPLE_MCP_DIR` | `/opt/purple-mcp` | Where purple-mcp source + venv live. |\n| `PURPLE_MCP_PYTHON` | `/opt/purple-mcp/.venv/bin/python` | Python interpreter from the upstream venv. |\n| `IDLE_EVICT_MS` | `900000` | Idle tenant timeout. |\n| `SPAWN_READY_TIMEOUT_MS` | `30000` | How long to wait for a child to start serving HTTP. |\n| `LOG_LEVEL` | `info` | Fastify log level. |\n\n## Request headers\n\nThe gateway must forward these headers on every `/mcp` request:\n\n| Header | SentinelOne credential |\n|---|---|\n| `x-purplemcp-token` | `PURPLEMCP_CONSOLE_TOKEN` (Account- or Site-level service user token) |\n| `x-purplemcp-base-url` | `PURPLEMCP_CONSOLE_BASE_URL` (e.g. `https://yourtenant.sentinelone.net`) |\n\n## Build\n\n```bash\ndocker build -t ghcr.io/wyre-technology/sentinelone-mcp:latest .\n```\n\n## License\n\nApache-2.0. The bundled `purple-mcp` is MIT-licensed by SentinelOne.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwyre-technology%2Fsentinelone-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwyre-technology%2Fsentinelone-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwyre-technology%2Fsentinelone-mcp/lists"}