Model Context Protocol (MCP) is a protocol that enables LLMs to access custom tools and services. Claude Code can connect to MCP servers to access additional tools and capabilities.
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/files"
]
}
}
}