About ultra-e2e-test tasks
An MCP server for AI assistants to list tasks, create them, and move them between todo, in-progress, and done states. It connects to clients over stdio and rejects invalid state transitions before they reach the task API.
Key features
- 01List tasks and permitted status moves
- 02Create todo tasks
- 03Move tasks between statuses
- 04Call the task API over HTTP
- 05Return actionable errors for invalid moves
Use cases
- 01Review tasks and their current statuses
- 02Add a new todo item
- 03Advance a task while checking allowed transitions
MCP support
The MCP server exposes `list_tasks`, `create_task`, and `move_task` tools to MCP clients over stdio.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
docker run -i --rm -e TASK_API_URL -e TASK_API_TIMEOUT_MS ghcr.io/hynix666/ultra-e2e-test-mcp-server:0.1.1TASK_API_URLWhere the task API is: an absolute http or https URL.TASK_API_TIMEOUT_MSHow long one call to the task API may take, in milliseconds.Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
ghcr.io/hynix666/ultra-e2e-test-mcp-server:0.1.1stdioTools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEmcp-server
An MCP server that gives an AI assistant three tools over the task API: list_tasks, create_task and move_task. It speaks the protocol over stdio, so a client starts it as a subprocess.
It is the same architecture as the services beside it, with the transport changed (ADR-0007): src/domain holds the rules, src/application the use cases behind an outbound port, src/adapters the two things that touch the outside world — the HTTP client that calls the task API, and the MCP layer that publishes the use cases as tools — and src/main.ts wires them. npm run check:boundaries fails the build when a layer reaches past its allowlist.
The rules are repeated here rather than imported from another module (ADR-0004), and they earn their place: an illegal status move is refused here, with the legal moves named, instead of reaching the model as a 409 it usually retries.
Run it
npm install
npm start # serves over stdio; the task API must be running
Register it with a client — for Claude Code, claude mcp add tasks -- node /absolute/path/to/services/mcp-server/src/main.ts, or the equivalent entry in another client's configuration:
{
"mcpServers": {
"tasks": {
"command": "node",
"args": ["/absolute/path/to/services/mcp-server/src/main.ts"],
"env": { "TASK_API_URL": "http://localhost:8080" }
}
}
}
| Variable | Default | Meaning |
|---|---|---|
TASK_API_URL | http://localhost:8080 | Where the task API is. Must be an absolute http or https URL |
TASK_API_TIMEOUT_MS | 10000 | How long one API call may take before it is abandoned |
A value it cannot use stops the process at startup. A server that starts and then fails every tool call is worse than one that never started: the model keeps trying.
Nothing is ever written to stdout. On a stdio server stdout is the protocol channel, and one stray console.log corrupts the stream. Diagnostics go to stderr.
Tools
| Tool | Input | Answers with |
|---|---|---|
list_tasks | — | Every task, its status, and the moves that status allows |
create_task | title | The created task, in todo |
move_task | id, status | The moved task, or which moves are legal from where it is |
A failure the caller can act on — a broken rule, an unreachable API — comes back as a tool result with isError: true and the reason. Only a bug here throws, because a thrown error reaches the model as a protocol error it cannot inspect.
Check
npm run verify # import boundaries, type-check, tests
The tests drive the server through a real MCP client over an in-memory transport pair, so a tool that is registered but unreachable — a bad schema, a handler that throws — fails here rather than in someone's editor.
Publish
.github/workflows/mcp-publish.yml publishes the image to GitHub Container Registry and server.json to the MCP Registry, where clients discover servers. It uses no stored token: the image is pushed with the run's GITHUB_TOKEN, and the registry trusts GitHub's OIDC identity for the io.github.<owner>/ namespace. The image is built for linux/amd64 and linux/arm64, each on a native runner, and published as one tag, so it runs natively on an Apple Silicon Mac. The two builds also stay in the registry as <version>-amd64 and <version>-arm64. In a private repository the arm64 runner uses paid Actions minutes once the free allowance is spent.
It runs after each release that creates a version tag, and on demand with a version. Its first job runs in the GitHub environment mcp-registry, which GitHub creates on first use; a required reviewer or a limit on which refs may publish, set there, holds the whole publish. One-time setup:
- Release at least once, so a
v*tag exists (thereleasefeature does this;gh release createworks too). - Set the repository variable
MCP_PUBLISH_ENABLED=true, then run the workflow once by hand with that version. This first run is expected to fail at its last step, Publish server.json to the MCP Registry, with "is private or requires authentication". The images are pushed by then, but GitHub creates a new container package as private, and the registry only accepts an image anyone can pull. - Make the package public: on its page, Package settings → Danger Zone → Change visibility → Public. It is
OWNER/ultra-e2e-test-mcp-server, listed under the repository's Packages. The registry reads the image'sio.modelcontextprotocol.server.namelabel to confirm you own it, which it cannot do for a private image. Check before going on:curl -s -o /dev/null -w '%{http_code}\n' "https://ghcr.io/token?scope=repository:OWNER/ultra-e2e-test-mcp-server:pull"prints200once the package is public, and401while it is still private. - Re-run the failed job of that run (Re-run failed jobs). It publishes
server.json, and every later release publishes on its own.
test/server-json.test.ts keeps the manifest honest in the meantime: the image label must equal the server's name, and every advertised variable must be one src/config.ts reads, with the default it really uses.
Container
docker build --tag mcp-server .
docker run --rm -i --env TASK_API_URL=http://host.docker.internal:8080 mcp-server
-i matters: the protocol is stdin and stdout.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.