Quickstart¶
Tip
It is highly recommended that you read the sections in order, as they are not arranged randomly in the document.
In this chapter, we will cover everything to setup, run and develop using MBASE MCP library. Even if the setting up section covers everything to setup the MCP library, the concepts that are implemented in the examples section are just fundamental MCP features which are mostly sufficient for every-day usage of MCP.
In order to use and understand the MCP library in detail, make sure you refer to the Information Reference.
Structure¶
This chapter is composed of six sections which cover topics as follows:
Setting-up: Creating a CMake project and linking the MCP library.
Complete Project Setup: Properly configured
CMakeLists.txt
,client.cpp
andserver.cpp
for reference.MCP STDIO/HTTP Server Usage: MCP STDIO/HTTP server implementation example. Codes under this section will be written under the
server.cpp
.MCP STDIO/HTTP Client Usage: MCP STDIO/HTTP client implementation example. Codes under this section will be written under the
client.cpp
.Complete Source Code: A Complete source code of both MCP client and server examples.
What Now?: Small-talk about MCP, where to find resources and advanced MCP SDK Usage.