Skip to content
Crafthall

All agents togetherError

Claude Code MCP server in .mcp.json does not start

MCP server cannot start: A server in `.mcp.json` has no `command` (local) or no `url` (remote), an unknown `type`, or runs a repo script that does not exist.

Why it matters

Claude Code reads a server in .mcp.json without a "type" as a local (stdio) server that needs a "command". A remote server given only a "url" therefore has nothing to start, and the tools the agents expect from it are missing.

The MCP server cannot start, so the tools the agents expect from it are missing.

An example that triggers it

A small Claude Code workspace. The marked lines are the ones the check cites.

Before.mcp.json
{  "mcpServers": {    "docs": { "url": "https://mcp.example.com/mcp" }  }}
Also in the workspace.claude/agents/reviewer.md
---name: reviewerdescription: Reviews a diff. Use after code changes.tools: Read, Grep, Glob---Review the change. Never edit files.

What Crafthall reports

The output of /crafthall:open --report on this example, generated by the plugin's own check when this page was built.

claude › /crafthall:open --report
1. [high] MCP server cannot start – .mcp.json:3
MCP server `docs` in .mcp.json has a `url` but no `type`; Claude Code reads it as a local (stdio) server with no `command`, so it cannot start.
Fix: Add `"type": "http"` (or `"sse"`) next to the `url`.
Real output on the example above.

How to fix it

Add "type": "http" next to the url, so Claude Code connects to the remote server instead of trying to start a local one.

After.mcp.json
{  "mcpServers": {    "docs": { "type": "http", "url": "https://mcp.example.com/mcp" }  }}

Run on the fixed workspace, the check reports nothing for this rule.

How the check works

Each server in `.mcp.json` was checked for the fields its type needs (the Claude Code docs (read 2026-11-28)) and its repo script paths against the repo file list. It reads your files with text patterns, on your machine – no model, so the same files give the same result every run.

Check your own agents

Install the free plugin, then run /crafthall:open in your workspace. It runs all checks, not only this one.

claude plugin install crafthall --marketplace crafthall/plugins

All 26 checks