mcp written in C++