home / mcp / chandanduttaind-sys mcp server

Chandanduttaind-sys MCP Server

Provides a basic MCP server with arithmetic tools and a greeting resource for practical MCP interactions.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "chandanduttaind-sys-mcp": {
      "command": "uv",
      "args": [
        "run",
        "mcp",
        "dev",
        "main.py"
      ]
    }
  }
}

This MCP (Model Context Protocol) server provides a simple, extensible platform with basic tools and a greeting resource. It demonstrates core MCP capabilities and shows practical steps to set up, run, and integrate an MCP server into your development workflow.

How to use

You can use this MCP server with any MCP client to perform arithmetic operations, fetch a greeting, and manage server workflows. Start the server and interact with its tools and resources through your MCP client. When you run the server in development, enable the MCP Inspector to aid debugging and exploration.

How to install

Prerequisites: you should have a working command line environment with Python and the MCP CLI tools available. You will also need a Node-like environment if you plan to use certain tooling in your workflow.

uv init mcp-server-basic
cd mcp-server-basic

uv venv
.venv\Scripts\activate

uv add "mcp[cli]"
# or install dependencies from a requirements file
uv add -r requirements.txt

Additional setup notes

If you want to run the server for development with the MCP Inspector, start it in development mode. For a normal run, use the standard start command. If you plan to install the server for use in external environments (such as a desktop app), use the install command shown below.

uv run mcp dev main.py
uv run mcp run
uv run mcp install main.py

Project structure

Project files include the core server implementation and configuration files.

main.py          # Main server implementation with tools and resources
pyproject.toml     # Project configuration and dependencies

Notes on usage and tooling

This example focuses on practical MCP usage. You can adapt the provided server to include additional tools and resources, expand the greetings resource, or integrate with external MCP clients to fit your workflows.

Available tools

add

Adds two numbers using a and b as input integers, returning their sum.

subtract

Subtracts the second integer b from the first integer a and returns the result.

greeting

Returns a personalized greeting for a given name using the greeting resource.