MCP Servers Learning Project

by sagarnildass

153 downloads
Not rated
GitHub

About

MCP Crash Course: Complete Model Context Protocol in a Day course from Udemy

Details

Author
sagarnildass
Downloads
153
Categories
Other

- Sample MCP client implementations in Python and TypeScript
- Sample weather server in Python and TypeScript
- Documentation server with advanced error handling
- Terminal server exposing system command execution
- Demonstrates tools, resources, and prompts concepts
- Includes configuration examples for Claude Desktop integration

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Servers Learning Project
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, install dependencies (Python 3.10+, MCP SDK 1.2.0+, and optionally Node.js/npm for TypeScript examples), then run any server using python <path_to_server.py> or mcp dev <path_to_server.py>. Connect a server to Claude Desktop with mcp install <path_to_server.py>.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp servers learning project": {
            "MCP-server-udemy": {
                "command": "python",
                "args": [
                    "3_building_securing_and_containerizing_mcp_server/server.py"
                ]
            }
        }
    }
}

McpServers

{
    "MCP-server-udemy": {
        "command": "python",
        "args": [
            "3_building_securing_and_containerizing_mcp_server/server.py"
        ]
    }
}

MCP Servers Learning Project

This repository contains examples and implementations of Model Context Protocol (MCP) servers and clients. MCP is a protocol that allows LLMs like Claude to interact with external tools and data sources in a standardized way.

Project Structure

The repository is organized into several modules, each focusing on different aspects of MCP:

1. Quickstart Resources

The 1_quickstart-resources directory contains sample implementations of MCP clients and servers to help you get started:

- mcp-client-python: A Python client implementation for connecting to MCP servers
- mcp-client-typescript: A TypeScript client implementation for connecting to MCP servers
- weather-server-python: A sample Python MCP server that provides weather information
- weather-server-typescript: A sample TypeScript MCP server that provides weather information

These examples demonstrate basic MCP concepts and provide starting points for your own implementations.

2. MCP Documentation Server

The 2_mcpdoc directory contains a specialized MCP server for serving documentation:

- Implements an MCP server that can retrieve and serve documentation from various sources
- Includes configuration examples and a robust project structure
- Demonstrates advanced MCP concepts like error handling and resource management

3. Terminal Server

The 3_building_securing_and_containerizing_mcp_server directory contains a custom MCP server implementation that:

- Exposes a terminal command execution tool allowing access to system commands
- Provides a resource for accessing MCP documentation
- Demonstrates proper error handling and input validation
- Shows how to implement both tools and resources in a single server

Getting Started

Prerequisites

- Python 3.10 or higher
- MCP SDK 1.2.0 or higher
- For TypeScript examples: Node.js and npm

Installation

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.