MCP is standardizing how AI agents connect to tools and data, replacing custom integrations with reusable servers. Here's how it works, with code.