Prerequisites
Prerequisites
- DevHelm CLI installed or an API token for REST calls
- An API token set as
DEVHELM_API_TOKEN— see Authentication - An MCP server package (e.g., published to npm) or a command that starts one
Create the monitor
Add assertions
Verify that the MCP server exposes the tools and resources you expect:| Type | What it checks |
|---|---|
mcp_connects | Server starts and completes the MCP handshake |
mcp_tool_available | A specific tool is listed in the server’s capabilities |
mcp_tool_count | Server exposes at least N tools |
mcp_resource_available | A specific resource is available |
mcp_startup_time | Server starts within a time threshold |
How it works
Each check cycle:- DevHelm starts the MCP server using the configured
commandandargs - Connects via the Model Context Protocol (stdio transport)
- Requests the server’s tool and resource listings
- Evaluates assertions against the response
- Terminates the server process
env are passed to the server process. Use DevHelm secrets (${VAR} syntax) to avoid storing credentials in config files.
Next steps
MCP Server reference
Full configuration and assertion details.
First alert
Get notified when your MCP server fails.
MCP Server SDK
Use DevHelm as an MCP server in AI agents.