Skip to content
mentoor

Connecting MCP servers to coding agents

For engineers

Adding, vetting, scoping and debugging MCP servers so a coding agent gains tools without gaining needless risk

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

A teammate and you both need the same hosted MCP server, and it needs an API key. Where should the key live?

Choose one answer

Check yourself · 2 of 5

Which check best catches a server whose tool tells the model to quietly send your files elsewhere?

Choose one answer

Check yourself · 3 of 5

A deny rule and an allow rule both match the same MCP tool. In Claude Code, what happens?

Choose one answer

Check yourself · 4 of 5

Why does an unused MCP tool still cost you something?

Choose one answer

Check yourself · 5 of 5

A log shows 401 invalid_token from a remote MCP server. Which layer failed?

Choose one answer

Topics

  1. Configuring local and remote MCP servers4 min read · Local stdio and remote HTTP servers, user versus project scope, environment variables for secrets and OAuth sign-in
  2. Vetting an MCP server before connecting it4 min read · Publisher, source, registry listing, pinned versions, requested scopes and tool descriptions that hide instructions
  3. Limiting which MCP tools an agent may call4 min read · Per-tool allow and deny rules, read-only tokens, and disabling tools the task does not need
  4. The context cost of many connected tools4 min read · Tool definitions consume tokens on every turn; deferred tool loading and plain CLI commands as alternatives
  5. Debugging failed MCP connections and tool calls4 min read · Server logs, the inspector, expired auth, schema mismatches and timeouts

Start here

110 questions · last verified 2026-12