
MCP Server Deployment Demo
A demonstration MCP server that provides a simple addition tool for learning how to create and deploy servers following the Model-Context-Protocol specification. Serves as a basic example for developers getting started with MCP server development.
README
MCP Server Deployment Demo
This project is a demonstration of how to create and deploy a simple server that adheres to the Model-Context-Protocol (MCP). It provides a basic tool that can be called by an MCP client, such as an AI model like Claude.
Overview
The Model-Context-Protocol (MCP) is a specification for communication between a large language model (or other AI agent) and a local development environment. It allows the model to access local context and execute tools securely.
This project implements a simple MCP server using the mcp
Python library. The server exposes a single tool, add
, which takes two integers and returns their sum.
Features
- A simple
FastMCP
server implementation. - A basic
add(x: int, y: int) -> int
tool. - Packaged as a Python project using
pyproject.toml
andsetuptools
. - Ready for installation and deployment.
Project Structure
pyproject.toml
: Defines project metadata, dependencies, and build configuration. The[project.scripts]
section defines themcp-server
command.src/mcpserver/deployment.py
: Contains the core logic for the MCP server, including the definition of theadd
tool.src/mcpserver/__main__.py
: Provides the main entry point to run the server from the command line.
Getting Started
Prerequisites
- Python 3.12+
- uv (a fast Python package installer and resolver)
Installation
-
Clone the repository:
git clone https://github.com/AdarshChaudhary03/mcp-server-deployment.git cd mcp-server-deployment
-
Install dependencies: Create a virtual environment and install the project in editable mode.
uv venv source .venv/bin/activate uv pip install -e .
Running the Server
Once installed, you can run the MCP server using the script defined in pyproject.toml
:
mcp-server
Claude Integration
To use this server as an MCP host for a client like Claude, you need to update your Claude configuration file (claude-config.json
). Add the following entry to the mcpHosts
section.
This configuration tells the Claude client how to launch and communicate with your MCP server. It uses uvx
to run the server directly from the Git repository, ensuring you are always using the latest version.
Note: Make sure to replace the command
and directory
paths with the correct absolute paths for your system.
"MCPServer": {
"command": "/Library/Frameworks/Python.framework/Versions/3.13/bin/uvx",
"args": [
"--directory",
"/Users/adarshchaudhary/Desktop/ai-projects/mcp-servers/mcp-server-deployment",
"--from",
"git+https://github.com/AdarshChaudhary03/mcp-server-deployment",
"mcp-server"
]
}
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.