Skip to main content
Glama

How to install and use MCP servers?

Written by on .

documentation
mcp

    First, go to the server directory and find a server that you want to use.

    Image

    NOTE

    We recommend using tested servers (servers that have a "Quality A" badge).

    In this tutorial, we are going to install context7 – a popular MCP server for retrieving documentation.

    Next, click the Install Server button to add it to your workspace.

    Image

    You will then be asked to provide environment variables. You may need to check the server documentation and schema to determine what variables, if any, are required. However, most servers don't require any environment variables, so just click Install.

    Image

    After you click Install, you may need to wait a few minutes for the server to deploy. Once the server is ready to use, it will show a "Started" state.

    Image

    NOTE

    Servers might also be in aSuspended state. This just means that the server is waiting for a request to start. Using the MCP server will automatically start it.

    Now that the server has started, go to the chat and type @ followed by the MCP server name, followed by your instructions, e.g., @context7 How do I convert between timezones using dayjs?.

    Image

    After you send the message, you will see Glama use your server to answer your question.

    Image

    That's it! The server is ready to use.

    If you need further assistance, join our Discord.

    NOTE

    If you wish to use MCP programmatically,create an access token and test the server using cURL.

    Written by punkpeye (@punkpeye)