Grokking the Model Context Protocol (MCP)
Vote

0% completed

​

Supply Chain Risk: Installing a Server Runs Code

A developer who downloads a program from a website and runs it knows what has happened. Code written by a stranger now runs on the laptop, with every permission that the developer's own account has. Most developers think before they do this.

Adding a local MCP server to a host is the same act. It only looks smaller, because it is one short entry in a configuration file:

{ "mcpServers": { "currency": { "command": "npx", "args": ["-y", "currency-convert-mcp"] } } }

The command field is a command that the host runs. Here it is `npx

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content