Skip to main content

Check server health

Connect to your deployed server and list what it exposes.

Check protocol conformance

Check your deployed server against the MCP spec.

Check MCP Apps wiring

Validate tool metadata and ui:// resources.

Test MCP tool responses

Call a tool with fixed inputs and check what it returns.

Run a hosted eval suite

Grade model responses to prompts in a saved MCPJam suite.

Before you start

  • Enable GitHub Actions for your repository.
For the server health, protocol, and MCP Apps checks, deploy an MCP server with an HTTPS endpoint that accepts unauthenticated requests.

Check server health

Save this as .github/workflows/mcpjam-health.yml. Replace https://mcp.example.com/mcp with your server’s HTTPS endpoint.
.github/workflows/mcpjam-health.yml

Check protocol conformance

Save this as .github/workflows/mcpjam-protocol.yml. Replace https://mcp.example.com/mcp with your server’s HTTPS endpoint.
.github/workflows/mcpjam-protocol.yml

Check MCP Apps wiring

Save this as .github/workflows/mcpjam-apps.yml. Replace https://mcp.example.com/mcp with your MCP app server’s HTTPS endpoint.
.github/workflows/mcpjam-apps.yml

Test MCP tool responses

  1. Install the MCPJam SDK and the reference server with npm install --save-dev @mcpjam/sdk @modelcontextprotocol/server-everything.
  2. Create the tool test.
  3. Add the test script with npm pkg set 'scripts.test:mcp=node --test test/mcp-tools.test.mjs'.
  4. Save this as .github/workflows/mcpjam-tests.yml.
.github/workflows/mcpjam-tests.yml

Create the tool test

Save this as test/mcp-tools.test.mjs. The test starts a reference MCP server, calls its echo tool, and checks the response.
test/mcp-tools.test.mjs
To test your own stdio server, replace the launch command and arguments, tool name, inputs, and expected response. Run npm run test:mcp locally, then commit the test file, package.json, and package-lock.json with the workflow.

Run a hosted eval suite

  1. Sign in to MCPJam.
  2. Create and run an eval suite.
  3. Open API Keys in MCPJam and click Create API key. Name the key, select the organization that owns your suite, and create and copy the key.
  4. In your GitHub repository, open Settings, then Secrets and variables → Actions. Click New repository secret and save the key as MCPJAM_API_KEY.
  5. Save this as .github/workflows/mcpjam-evals.yml. Replace the project and suite names with yours.
.github/workflows/mcpjam-evals.yml

Run the workflow

  1. Commit the workflow and open a pull request from a branch in the repository.
  2. On the pull request, open Checks and select the job for the workflow you added.
  3. Open the job log to read the test results. For the health check, look for "status": "ready". For hosted evals, open the workflow run’s Summary to review failed cases.

Good to know