MCP ExplorerExplorer

Learn Mcp

@jrobertbooson 20 days ago
1 MIT
FreeCommunity
AI Systems
Learn MCP enables running a recipes server and chat client with OpenAI integration.

Overview

What is Learn Mcp

Learn MCP is a server designed for learning and experimenting with machine learning models, particularly focused on integrating with OpenAI’s API.

Use cases

Use cases for Learn MCP include developing chatbots, conducting experiments with different machine learning models, and creating educational tools for teaching AI concepts.

How to use

To use Learn MCP, install the required packages with ‘pip install -r requirements.txt’, create a ‘Recipes’ directory, and run the MCP server with ‘python servers/recipes/server.py’. For the llama-stack server, export your OpenAI API key and run ‘llama stack run run.yml’. Finally, connect to the chat client by using the host and port from the llama-stack server with ‘python chat.py ’.

Key features

Key features of Learn MCP include easy setup with Python, integration with OpenAI’s API, and the ability to run both MCP and llama-stack servers for various machine learning tasks.

Where to use

Learn MCP can be used in fields such as education, research, and development of AI applications, particularly those involving natural language processing and machine learning.

Content

Learn MCP

Requirements

pip install -r requirements.txt

Running the MCP server

  1. Create Recipes directory in learn-mcp directory.
  2. From learn-mcp run python servers/recipes/server.py

Running the llama-stack server

  1. Export your OPENAI API key by running the following export OPENAI_API_KEY="..."
  2. Run the command llama stack run run.yml

Running the chat client

  1. Get the host and port from the llama-stack server
  2. Run the following command python chat.py <host> <port>

Tools

No tools

Comments