
e2engine-mcp
io.github.e2engine/e2engine-mcp
Model Context Protocol server for managing and running E2Engine tests.
Documentation
E2Engine MCP
MCP server for E2Engine.
Part of E2Engine, an open-source platform for declarative end-to-end testing.
Installation
E2Engine MCP supports macOS, Linux, and Windows on AMD64 and ARM64. It uses the stdio transport and is intended for VS Code, Claude Desktop and Claude Code, Cursor, and Codex.
Run E2Engine MCP under the same OS user profile as the E2Engine CLI. The two programs then share the E2Engine database, configuration, and telemetry installation credentials. A container, WSL distribution, SSH host, or development container is a separate environment unless those directories are explicitly shared.
1. Native package or binary
Install e2engine-mcp from the GitHub Releases
page, Homebrew Cask, Scoop, or a Debian/RPM package. Then add it to the MCP
client as a local stdio server with no arguments. Prefer a user-level client
configuration and an absolute executable path, especially for GUI clients:
{
"mcpServers": {
"e2engine": {
"type": "stdio",
"command": "/absolute/path/to/e2engine-mcp",
"args": []
}
}
}
The portable JSON form is accepted by Cursor and current Copilot MCP
configurations. Claude Desktop uses the same mcpServers entry without the
optional type field. Other supported clients can register the same command:
# Claude Code
claude mcp add --scope user e2engine -- /absolute/path/to/e2engine-mcp
# Codex
codex mcp add e2engine -- /absolute/path/to/e2engine-mcp
In VS Code, MCP: Add Server can add the executable as a global Command
(stdio) server. Cursor can use the user-level ~/.cursor/mcp.json. Codex can
also be configured directly in ~/.codex/config.toml:
[mcp_servers.e2engine]
command = "/absolute/path/to/e2engine-mcp"
args = []
2. MCP Bundle
Each GitHub Release includes a platform-specific .mcpb file. Download the
bundle matching the operating system and architecture, then open it with a
client that supports MCP Bundle installation. The bundle contains the native
E2Engine MCP binary, its MCP manifest, and the license notices; it does not
download a runtime or start a daemon.
Review the bundle publisher and requested command before approving the install. Clients without MCPB support can use the native installation above.
3. Official MCP Registry
After a release is published, clients with official MCP Registry integration
can find io.github.e2engine/e2engine-mcp by searching for E2Engine MCP and
install the matching platform bundle. Registry metadata pins every bundle by
SHA-256, while the bundle manifest supplies the stdio launch configuration.
Registry discovery is a convenience layer over the same GitHub Release MCPB; it does not use a hosted E2Engine MCP server. If a client does not yet expose official Registry discovery, use the MCPB or native method.
To use a non-default E2Engine data directory, set E2ENGINE_DATA_DIR in the MCP
server environment. The path must be absolute; MCP creates a missing directory
with private permissions and rejects an existing override that is not private.
Set E2ENGINE_TELEMETRY_DISABLED=1 to opt out of telemetry.
See E2Engine MCP Privacy for the data contract.
Development
Run tests:
make test
Run the linter:
make lint
Run race detection:
make test-race
Run the complete verification suite:
make verify
Build this checkout for the sibling E2E test repository and run its MCP suite:
make build-e2e E2E_MCP_PATH=../tests/mcp/bin/mcp
make -C ../tests test-mcp-prebuilt
build-e2e embeds the local telemetry mock URL at http://127.0.0.1:39093.
Set E2E_MCP_PATH or E2E_TELEMETRY_BASE_URL when the test checkout or mock
uses a different location.
Release
Releases are built with GoReleaser by the release GitHub Actions workflow.
Local verification
Validate GoReleaser release configuration:
make release-check
Build the complete release locally without publishing anything:
make release-snapshot
Snapshot artifacts are written to the ignored dist/ directory. This command
uses GoReleaser snapshot mode and explicitly skips publishing. It also creates
and validates all six platform MCP Bundles and a versioned Registry
server.json under the ignored release/ directory. Snapshots built without
Apple credentials are unsigned.
To rebuild MCP Bundles from an existing GoReleaser dist/artifacts.json, run:
make mcpb
make mcpb-validate
make mcpb reads the version from dist/metadata.json. For a non-snapshot
build it can be supplied explicitly with MCPB_VERSION and RELEASE_TAG.
Check that the repository is no longer using local E2Engine module replacements:
make release-preflight
Before tagging, run:
make verify
make release-snapshot
make release-preflight
Publishing a release
Create and push an annotated semantic-version tag from the commit intended for release:
git tag -a vX.Y.Z -m "Release vX.Y.Z"
git push origin vX.Y.Z
The release workflow builds and publishes:
- macOS, Linux, and Windows binaries for AMD64 and ARM64;
- compressed release archives;
- Debian and RPM packages;
checksums.txt;- a GitHub Release;
- platform-specific MCP Bundles for macOS, Linux, and Windows on AMD64 and ARM64;
- a Homebrew Cask in
e2engine/homebrew-tap; - a Scoop manifest in
e2engine/scoop-bucket; server.jsonmetadata published to the official MCP Registry asio.github.e2engine/e2engine-mcp.
Production binaries receive their version and build metadata through linker
flags. They also use https://telemetry.e2engine.dev as the telemetry service
base URL.
The release workflow requires the same five Apple signing and notarization
secrets as CLI: MACOS_SIGN_P12, MACOS_SIGN_PASSWORD, MACOS_NOTARY_KEY,
MACOS_NOTARY_KEY_ID, and MACOS_NOTARY_ISSUER_ID. GoReleaser signs and
notarizes macOS binaries before they enter the native archives and MCP Bundles.
A macOS candidate job verifies the Developer ID signatures in both formats
before the release job publishes them. A separate job downloads the published
server.json, validates it with the pinned official mcp-publisher,
authenticates with GitHub OIDC, and publishes it to the Registry. Registry
publication cannot run until the GitHub Release succeeds.
Links
License
Licensed under the Apache License, Version 2.0.
https://github.com/e2engine/mcp/releases/download/v0.1.1/e2engine-mcp-linux-arm64.mcpb# mcpb: https://github.com/e2engine/mcp/releases/download/v0.1.1/e2engine-mcp-linux-arm64.mcpbhttps://github.com/e2engine/mcp/releases/download/v0.1.1/e2engine-mcp-linux-x64.mcpb# mcpb: https://github.com/e2engine/mcp/releases/download/v0.1.1/e2engine-mcp-linux-x64.mcpbhttps://github.com/e2engine/mcp/releases/download/v0.1.1/e2engine-mcp-osx-arm64.mcpb# mcpb: https://github.com/e2engine/mcp/releases/download/v0.1.1/e2engine-mcp-osx-arm64.mcpbhttps://github.com/e2engine/mcp/releases/download/v0.1.1/e2engine-mcp-osx-x64.mcpb# mcpb: https://github.com/e2engine/mcp/releases/download/v0.1.1/e2engine-mcp-osx-x64.mcpbhttps://github.com/e2engine/mcp/releases/download/v0.1.1/e2engine-mcp-win-arm64.mcpb# mcpb: https://github.com/e2engine/mcp/releases/download/v0.1.1/e2engine-mcp-win-arm64.mcpbhttps://github.com/e2engine/mcp/releases/download/v0.1.1/e2engine-mcp-win-x64.mcpb# mcpb: https://github.com/e2engine/mcp/releases/download/v0.1.1/e2engine-mcp-win-x64.mcpb