mcp-server
The Claude MCP Server Quickstart is designed to provide a comprehensive implementation of a Model Context Protocol (MCP) server that integrates seamlessly with Claude AI models, facilitating efficient processing of context-aware requests and AI integrations.
π Claude MCP Server Quickstart
A ready-to-use implementation of the Model Context Protocol (MCP) server that integrates with Claude AI models.
π Overview
This project provides a fully functional MCP server implementation that allows you to:
- Connect Claude AI models through a standardized protocol
- Process context-aware requests
- Handle model responses efficiently
- Streamline AI integrations in your applications
Built following the official MCP Server Quickstart guide.
β¨ Features
- β Complete MCP protocol implementation
- β Claude AI model integration
- β Context-aware request processing
- β Streaming response support
- β Easy configuration and setup
- β Well-documented codebase
π Prerequisites
- Python 3.8+
- Access to Claude AI API credentials
- Basic understanding of REST APIs
π Installation
# Clone the repository
git clone https://github.com/gabrieldsguilherme/mcp-server.git
cd mcp-server
# Create and activate virtual environment
uv venv
source .venv/bin/activate
# Install dependencies
uv add "mcp[cli]" httpx
βοΈ Configuration
1. Open your Claude Desktop configuration file
Open your Claude for Desktop App configuration at ~/Library/Application Support/Claude/claude_desktop_config.json
in a text editor. Make sure to create the file if it doesnβt exist.
2. Update your Claude Desktop configuration file
{
"mcpServers": {
"weather": {
"command": "/ABSOLUTE/PATH/TO/PARENT/FOLDER/uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather",
"run",
"weather.py"
]
}
}
}
This tells Claude for Desktop:
a. Thereβs an MCP server named βweatherβ
b. To launch it by running uv --directory /ABSOLUTE/PATH/TO/PARENT/FOLDER/weather run weather.py