@@ -43,10 +43,9 @@ feedback in natural language.
4343Let’s move on to one of the highlights of the MCP server: initial project setup using prompts. Suppose we want to start a project of a library
4444that uses CMake, with dependencies on fmt and OpenSSL. We can let Conan MCP create the entire project scaffolding and
4545install the dependencies.
46- {% highlight bash %}
47- Create a project for a CMake library using Conan, with dependencies on the
48- latest versions of fmt and OpenSSL. Install the dependencies of the project.
49- {% endhighlight %}
46+ <div style =" background-color : #f5f5f5 ; border-left : 4px solid #007bff ; padding : 15px 20px ; margin : 20px 0 ; border-radius : 4px ; font-style : italic ; color : #333 ;" >
47+ "Create a project for a CMake library using Conan, with dependencies on the latest versions of fmt and OpenSSL. Install the dependencies of the project."
48+ </div >
5049<div style =" text-align : center ;" >
5150 <img src="{{ site.baseurl }}/assets/post_images/2025-12-04/gif3-Create-project-x6.gif"
5251 alt="Create project gif example"/>
@@ -57,9 +56,9 @@ latest versions of fmt and OpenSSL. Install the dependencies of the project.
5756One of the most powerful features is how easily the Conan MCP server helps you check vulnerabilities and list dependency licenses. Using the previous
5857project as a base, let’s ask the language model to ensure that the resolved versions have no vulnerabilities and that
5958all the licenses used by our dependencies are suitable for commercial use.
60- {% highlight bash %}
61- Ensure my project’ s third-party libraries are secure and licensed for commercial use.
62- {% endhighlight %}
59+ < div style = " background-color : #f5f5f5 ; border-left : 4 px solid #007bff ; padding : 15 px 20 px ; margin : 20 px 0 ; border-radius : 4 px ; font-style : italic ; color : #333 ; " >
60+ " Ensure my project' s third-party libraries are secure and licensed for commercial use."
61+ </ div >
6362<div style =" text-align : center ;" >
6463 <img src="{{ site.baseurl }}/assets/post_images/2025-12-04/gif4-Verify-x10.gif"
6564 alt="Verify project gif example"/>
@@ -70,9 +69,9 @@ Ensure my project’s third-party libraries are secure and licensed for commerci
7069Let’s see a simpler one: we’re going to try to search for the compiled packages on ConanCenter for a library,
7170such as zlib, with some options, including the architecture being arm and the shared option set to false, and have it tell
7271us which versions we have packages for.
73- {% highlight bash %}
74- Tell me which versions of zlib packages are available with armv8 architecture and statically linked
75- {% endhighlight %}
72+ < div style = " background-color : #f5f5f5 ; border-left : 4 px solid #007bff ; padding : 15 px 20 px ; margin : 20 px 0 ; border-radius : 4 px ; font-style : italic ; color : #333 ; " >
73+ " Tell me which versions of zlib packages are available with armv8 architecture and statically linked"
74+ </ div >
7675<div style =" text-align : center ;" >
7776 <img src="{{ site.baseurl }}/assets/post_images/2025-12-04/gif1-List-versions-x6.gif"
7877 alt="List versions gif example"/>
@@ -82,9 +81,9 @@ Tell me which versions of zlib packages are available with armv8 architecture an
8281### Manage existing profiles
8382The Conan MCP Server can also access the list of profiles and is able to query it, so that, for example, if you want to check which
8483C++ version my Windows profile with MSVC 193 is configured for, you can simply ask:
85- {% highlight bash %}
86- Check my Conan profiles and tell me which cppstd is configured in the Windows profile that uses compiler version 193.
87- {% endhighlight %}
84+ < div style = " background-color : #f5f5f5 ; border-left : 4 px solid #007bff ; padding : 15 px 20 px ; margin : 20 px 0 ; border-radius : 4 px ; font-style : italic ; color : #333 ; " >
85+ " Check my Conan profiles and tell me which cppstd is configured in the Windows profile that uses compiler version 193."
86+ </ div >
8887<div style =" text-align : center ;" >
8988 <img src="{{ site.baseurl }}/assets/post_images/2025-12-04/gif2-profile-x6.gif"
9089 alt="Search profile gif example"/>
0 commit comments