Consuming Servers
So far, we have looked at how to create servers, but also at consuming them via bespoke clients that you have to write yourself. In this section, we will look at how to consume servers using existing software, such as Visual Studio Code (VS Code) or Claude Desktop. When we say consume, what we mean is installing servers, configuring them, and then using them to run tools or interact with the server in some way.
In this chapter, you will learn how to do the following:
- Understand how to consume servers using existing tools
- Install and configure servers in VS Code
- Work with the mcp.jsonfile for server management
- Manage secrets and configuration for servers
- Use VS Code to test and interact with servers
- Apply security best practices when consuming servers
The chapter covers the following topics:
- Consuming with hosts such as Claude Desktop and VS Code
- Installation process
- Adding a server ...
 
                                             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
     
         
                 
                 
                 
                 
                 
                 
                 
                 
                