MCP Server Deployment Demo
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Server Deployment Demoadd 15 and 27"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
Related MCP server: MCP Server Basic
Features
A simple
FastMCPserver implementation.A basic
add(x: int, y: int) -> inttool.Packaged as a Python project using
pyproject.tomlandsetuptools.Ready for installation and deployment.
Project Structure
pyproject.toml: Defines project metadata, dependencies, and build configuration. The[project.scripts]section defines themcp-servercommand.src/mcpserver/deployment.py: Contains the core logic for the MCP server, including the definition of theaddtool.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-deploymentInstall 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-serverClaude 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"
]
}Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
- addC
Related MCP Servers
- Alicense-qualityDmaintenanceA minimal, production-ready MCP server with a simple addition calculator tool that demonstrates integration with the Model Context Protocol.Last updated171MIT
- Flicense-qualityDmaintenanceA basic MCP server example that provides simple arithmetic tools (addition and subtraction) and personalized greeting resources. Serves as a foundation for learning MCP server implementation and development.Last updated
- Flicense-qualityDmaintenanceA minimal demonstration MCP server that provides basic mathematical addition and greeting functionality, serving as a template for building and deploying FastMCP servers.Last updated
- Alicense-qualityDmaintenanceA simple tutorial MCP server that provides a basic addition tool for adding two numbers together, demonstrating fundamental MCP server implementation.Last updated14ISC
Related MCP Connectors
This MCP server enables users to perform scientific computations regarding linear algebra and vect…
MCP (Model Context Protocol) server for Appwrite
A MCP server built for developers enabling Git based project management with project and personal…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AdarshChaudhary03/mcp-server-deployment'
If you have feedback or need assistance with the MCP directory API, please join our Discord server