Heimspy Agent
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Heimspy Agent
Node capture service used by Heimspy VS Code. Owns capture sessions, rules, certificates, gRPC/SSE/WebSocket handling, the MCP endpoint, and the shared client protocol. It controls the separately maintained sing-box fork.
Develop
Requires Node 24, Git and Go (sing-box.lock.json records the test fork and toolchain).
git clone https://github.com/heimspy/agent.git
cd agent
npm ci --ignore-scripts
npm rebuild esbuild
mkdir -p .build
git clone https://github.com/heimspy/sing-box.git .build/sing-box
git -C .build/sing-box checkout --detach "$(node -p "require('./sing-box.lock.json').revision")"
npm run test:core
npm run typecheck
npm run build
npm testtest:core builds only a local integration-test binary and SHA-256 manifest in
core/<platform>-<arch>/. It requires a clean checkout at sing-box.lock.json's
revision, either in .build/sing-box or selected with HEIMSPY_SING_BOX_SOURCE.
CI checks out that exact fork commit directly. An existing compatible binary can
instead be supplied to tests with HEIMSPY_TEST_CORE=/absolute/path/to/sing-box.
Production builds, license notices and VSIX distribution belong to heimspy/vscode. Agent does not depend on vscode or the retired core repository. Go race tests, vet and govulncheck run in the fork.
Start the agent with a dedicated storage directory and a core binary:
npm start -- /tmp/heimspy-data ./core/darwin-arm64/sing-boxThe agent waits for clients on the local socket returned by @heimspy/agent/paths.
Clients issue hello with a session ID and settings, then start; MCP is enabled
according to those settings. It retains the existing client-owned lifecycle and
exits after its clients disconnect. It is not an always-on standalone daemon.
Related MCP server: opnsense-sdk
Consumer contract
The package exposes TypeScript source entry points for bundlers: model,
protoRaw, format, protocol, paths, main and engine. Browser consumers
should use the pure model/protoRaw entry points. testing provides integration
helpers; it resolves native test binaries from the consumer's working directory.
No VS Code API or React code is required by this package.
Consumers pin a reviewed full Git commit in package.json and package-lock.json.
Build @heimspy/agent/main with esbuild (Node/CJS) and define
process.env.HEIMSPY_VERSION from this package's version, not the consumer version.
The extension does this and bundles the result; users need no separate npm install.
On an agent release, update package.json and its lockfile, test the locked core,
and create a tag. On incompatible protocol changes, also bump PROTOCOL in
src/agent/protocol.ts. Update sing-box.lock.json only to a tested fork commit.
GitHub release CI attaches the bundled agent and source package; it does not publish to npm.
History and license
MIT. Extracted with relevant Git history from heimspy/heimspy at 7478a34.
The Go core is distributed separately under its own license and notices.
This server cannot be deployed
Maintenance
Related MCP Connectors
Secure and manage MCP servers through the Speakeasy AI Control Plane from your agent.
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
Managed MCP gateway with OAuth, per-agent permissions, shared accounts and activity logs.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables managing Uptime Kuma monitors via MCP protocol, supporting batch add, list, and delete operations.340 PyPI9MIT
- AlicenseNot gradedqualityDmaintenanceProvides complete programmatic access to OPNsense core APIs, enabling firewall automation, VPN management, and system administration through a comprehensive MCP server.MIT
- AlicenseBqualityBmaintenanceEnables managing Logto resources (users, applications, organizations, roles) via MCP clients like Cursor or Claude Desktop.261MIT
- AlicenseNot gradedqualityCmaintenanceEnables remote agents to securely read firewall and NAT rules, inspect routing tables and logs, and execute safety-gated mutation plans through a bearer-authenticated MCP endpoint.232 npmMIT