The official MCP server for M00N Report, providing MCP-based agentic test management capabilities. It lets AI assistants do more than just read test information—they can directly perform actions: write test cases, plan and populate manual test executions, link automated tests back to the cases they cover, publish releases, and read project health in M00N Report (an AI-native test management platform).
Key capabilities
The server covers eight domains and provides more than 50 tools. The full tool list with parameters is available at /documentation/mcp/tools, alongside the code. The server fetches its own tool list from your instance at startup, so what the client sees is what your instance supports when the client connects.
- Test case authoring: lets AI assistants create and maintain test cases.
- Manual test execution: an execution is a manual test run, including assignee, environment, date, and step-by-step results snapshotted for each case when it is added.
- Automation linking: links automated tests back to the test cases they cover.
- Release publishing: performs release operations.
- Project health reading: reads project health.
- Guided multi-step workflows: clients can provide them by name, and each workflow accepts an optional project parameter (name or UUID); when omitted, if there is only one project in scope, the server selects it itself.
- Read-only views: clients can pull them without calling tools, including all projects, project health summaries, flaky test reports, currently failing tests, folder structure, launch reports, test case content, and release summaries.
The number of tools a key can see is determined by your instance. Keys with a narrower scope see fewer tools.
Usage
Installation requirements
Node 20 or newer is required, along with any MCP-compatible client. No installation step is needed; the client starts it via npx, with the configuration below. To pin the version in a shared or CI environment, append a version number to the package name in args, for example ["-y", "@m00nsolutions/mcp-server@<version>"]. npm view @m00nsolutions/mcp-server versions lists the published versions.
Getting an MCP key
In M00N Report, open Settings -> MCP Keys and create a key. Keys start with m00n_mcp_, followed by 48 hexadecimal characters. This is not the credential used by the test reporter; the latter's key starts with m00n_ and will be rejected here.
An MCP key carries exactly the permissions of the account it belongs to, never more, and can be narrowed further. Narrowing removes tools from the tool list the client sees, so a tool list shorter than expected is a scoping decision, not a failure.
The key should be placed in your local MCP client configuration. Do not put it in a workspace file in the repository.
Connecting a client
Claude Code needs only one line of command. All other clients use the same JSON block. For self-hosted instances, point M00N_API_URL at your own root, without the /api suffix. A trailing slash is automatically removed.
Confirming the connection
Restart the client, then ask it: List my M00N Report projects. Returning a list of projects means the server is connected and the key is valid. If an error occurs, or the assistant says there is no such tool, then it is not connected; see troubleshooting.
Environment variables
- M00N_API_URL: the base URL. The test reporter calls the same URL M00N_SERVER_URL.
- M00N_API_KEY: all six packages read this variable, but the test reporter uses a project API key rather than an MCP key, so a single exported shell variable cannot serve both.
- The two booleans turn on when the value is true, 1, or yes (case-insensitive). Any other value, including false and 0, keeps them off. The first two must be set together or not at all. Setting only one is treated as an error and rejected, because a half-configured server, even if it can start, is harder to diagnose than one that cannot start.
Running without a key
Started with neither M00N_API_URL nor M00N_API_KEY, the server runs in preview mode: it lists tools, prompts, and resources from a bundled snapshot, and rejects every call with a message about what needs to be set. No data is sent anywhere, because there is nowhere to send it. This lets an inspector, client, or directory show the tool surface before anyone registers. It is only a description of the server, by no means a working server, so the list comes from the snapshot rather than your instance: a narrowed key typically sees fewer tools than the snapshot shows. Maintainers use npm run snapshot:refresh againstKey refresh snapshot without narrowing the scope.
Self-hosted
Point M00N_API_URL at your own instance and issue the MCP key from that instance. Everything else is the same, which matters when the reason for self-hosting is that test data cannot leave your network. When using a self-signed certificate, add "M00N_INSECURE_SSL": "true" in the same env block. See /documentation/mcp/self-hosted for full instructions.
Data and security
Data is sent over HTTPS to M00N_API_URL: the tool calls made by your assistant and their parameters. The server is a proxy for your own instance and stores nothing itself. Every tool call is written to the MCP audit log, which has a corresponding UI in the app, and per-key rate limits can restrain runaway agents. Keys are never written to that log, nor to stderr. Under M00N_DEBUG, the parameters of every tool call are printed to stderr, so treat that output like the data itself.
When to use it
- Let an AI assistant write and maintain test cases directly.
- Plan and populate manual test executions, including assignees, environments, and step-by-step results.
- Link automated tests back to the cases they cover.
- Perform version releases and read project health.
- Pin a version for use in shared or CI environments.
- Self-hosted deployments, ensuring test data does not leave your own network.
Limitations
- The tool list is read only once at startup. After re-narrowing the key's scope or upgrading the instance, the client keeps the old list until the client is restarted.
- GET /api/health must be reachable after configuration. It is checked before everything else, and failure stops the server, so a proxy that only forwards /api/mcp/* will show no tools at all, even if every tool works.
- A key narrowed to zero tools cannot start. The server exits instead of connecting with an empty list. This is the configuration path; with no credentials at all, it starts in preview mode.
- Prompts and resources are optional. If their listing fails, the server still starts, the reason is output to stderr, and the client will not see them for the entire session.
- Redirects are rejected, not followed. Keys are passed via a custom header, and redirect followers only strip the authentication headers they recognize, so following a redirect would hand the key to the next host that answers. Redirects are reported along with the address they point to.
- Only stdio is supported. For HTTP transport, use the hosted connector.
Troubleshooting
Whether or not M00N_DEBUG is set, the server logs to stderr, which most clients display in their MCP panel. Set M00N_DEBUG to true to add each request and its parameters.
License
MIT License. See LICENSE for details.