Get Started
This page shows the quickest way to build the SamplePlugin for MCPStudio as both a bundle and a dylib.
SamplePlugin directory.mkdir build
cd build
cmake ..
make
The bundle and dylib are built together, so no separate build step is required.
SampleTool as a dynamic library (dylib)SampleTool.bundle as a macOS bundleYou can then integrate both artifacts using the MCPStudio SDK workflow.
SamplePlugin/CMakeLists.txt controls the top-level build.SamplePlugin/dylib/PluginMain.c contains dylib implementation logic.SamplePlugin/dylib/ToolDescriptor.c defines dylib tool metadata.SamplePlugin/bundle/PluginMain.mm contains bundle implementation logic.SamplePlugin/bundle/ToolDescriptor.c defines bundle tool metadata.cmake .. again before recompiling.