{
"mcpServers": {
"files": {
"command": "npx",
"args": ["-y", "random-files-mcp"]
}
}
}{
"mcpServers": {
"files": {
"command": "npx",
"args": ["-y", "@trusted-org/files-mcp@1.4.2", "./docs"]
}
}
}The server comes from a known publisher, is pinned to an exact version and gets access only to the folder it needs.
Function calling is how a model asks to run a tool in one API. MCP is a protocol for packaging tools and data as servers that any compatible app can connect to.
MCP connects an agent to tools and data sources. A2A connects agents to other agents so they can delegate tasks and exchange results.
It is as safe as the servers you install. Use trusted servers, give each one minimal permissions and treat their outputs as untrusted.