Skip to content

balamuru/mcp-use-tutorial

Repository files navigation

mcp-use tutorial

A demo on creating and employing mcp-use clients to communicate with MCP servers

Samples are provided for Gemini and Anthropic based on the official mcp-use client examples - communicating with a local playwright server to query qoogle

Setup

Ensure python version >= 3.13 (as of when this docuement was written) python --version

Clone repository

git clone https://github.com/balamuru/mcp-use-tutorial.git

Setup Virtual Env

Create and activate Virtual environment

cd path-to-project-root-dir
python -m venv path-to-project-root-dir/venv
source venv/bin/activate

Dependancies

Install dependancies pip install -r requirements.txt

Env Variables

Set API keys in the .env file for desired agent(s)

Execute

  • python google-gemini-agent.py and/or
  • python anthropic-agent.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages