Question 200
A repository includes an MCP definition that invokes a shell script downloaded from an unreviewed URL every time Claude starts. What is the main concern?
Explanation
Correct Answer
A tool configuration can execute code with user privileges, making supply-chain trust important. Pin reviewed packages or trusted binaries rather than fetched scripts. Automatically downloading and running an unreviewed shell script turns trusted MCP configuration into a remote-code execution supply-chain risk. Pin trusted artifacts, review code and require explicit approved installation rather than fetching arbitrary startup commands. Apply least-privilege execution and sandboxing. Naming has no bearing on code trust. Servers can offer arbitrary side effects.
Incorrect Answers
Establishing an MCP client connection is not a guarantee that scripts launched by its configuration are harmless. If startup runs an unreviewed remote shell script, that code executes with the local process's available privileges before the agent even makes a task decision. Review and pin server dependencies, use trusted distribution and enforce runtime boundaries. Assuming automatic protection would turn a configuration supply-chain risk into an unchecked trusted execution path.
The length of an MCP server's display name does not determine whether its startup process is trustworthy. The concrete risk is that project configuration makes Claude launch a shell command obtained from an unreviewed remote location, potentially with the developer's privileges and repository access. Renaming the server leaves the downloaded program and its side effects unchanged. Review and pin the executable content, use approved installation and limit runtime privileges before permitting that configuration to start automatically.
MCP is a protocol for exposing tools, and tools can perform writes, deletes or external actions depending on their server implementation. A server is not inherently read-only merely because its name appears in an MCP configuration. The danger in this case is execution of remote, unreviewed code during server startup with whatever permissions the client process carries. Safe integration requires reviewing the actual command, its provenance and the effects it can perform.



Claude Certified Architect - Foundations (CCA-F) Practice Tests