Skip to content

bkibbeyWork/mcp

 
 

Repository files navigation

Understanding MCP

Repository for Understanding MCP (Model Context Protocol) - A hands-on guide

These instructions will guide you through configuring a GitHub Codespaces environment that you can use to run the code.

1. Click on the button below to start a new codespace from this repository.

Click here ➡️ Open in GitHub Codespaces



2. Then click on the option to create a new codespace.

Creating new codespace from button

This will run for a few minutes while it gets the virtual environment ready. You'll then need to run a setup script to finalize the installation.

3. Run setup script to finalize the installation.

In the codespace TERMINAL panel at the bottom, run the following command.

scripts/setup.sh

This will setup the python environment, install needed python pieces, install Ollama, and then download the model we will use. This will take several more minutes to run.

Final prep

4. Open a new terminal.

When the script is completed (after a long run), you can just click on the "+" sign on the far right to get a new terminal with the provided Python environment to work in.

New terminal

5. Open the labs file.

You can open the labs.md file either in your codespace or in a separate browswer tab/instance.**

Labs

4. Change your codespace's default timeout from 30 minutes to 60 or more. To do this, when logged in to GitHub, go to https://github.com/settings/codespaces and scroll down on that page until you see the Default idle timeout section. Adjust the value as desired.

Changing codespace idle timeout value

About

Repo for Model Context Protocol training workshop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 61.6%
  • Shell 27.4%
  • PowerShell 8.3%
  • Batchfile 2.7%