# mcp-example

> MCP Server

This repository provides a Model Context Protocol (MCP) implementation, demonstrating local and remote tool calling with examples, schema validation, and integration with AWS Bedrock, showcasing AI-assisted development. This repository provides

## Overview

- **Category:** AI
- **Language:** Python
- **Stars:** 9
- **Forks:** 0
- **Owner:** iddv
- **GitHub:** https://github.com/iddv/mcp-example
- **Created:** 2025-03-24T18:08:38+00:00
- **Updated:** 2025-03-27T21:02:52+00:00
- **Source:** https://model-context-protocol.com/servers/model-context-protocol-tool-calling-example

## Setup

## Setup

### Prerequisites

- Python 3.10 or higher
- Poetry (for dependency management)

### Installation

1. Clone the repository:
   ```
git clone https://github.com/yourusername/mcp-example.git
cd mcp-example
   ```

2. Set up a virtual environment and install dependencies:

   Option 1: Using Poetry (recommended):
   ```
poetry install
   ```

   Option 2: Using venv:
   ```
python3 -m venv venv
source venv/bin/activate  # On Windows, use: venv\Scripts\activate
pip install -e .
   ```

## Tools

## Available Tools

1. Local tool calling via stdio (demonstrates tool calling through standard input/output).
2. Remote tool calling via HTTP (demonstrates tool calling through HTTP requests).
3. Integration with AWS Bedrock and Claude 3.7 (allows leveraging Claude's capabilities for natural language understanding and function calling).
4. Calculator (performs basic arithmetic operations).
5. Text Processing (provides text transformation and analysis).
