Back to search
MCP_Server
SkillGitHub
Registration Number: 261FB04004
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Checked today
Badge for your README
Markdown
[](/listings/manireddy-30--mcp-server)HTML
<a href="/listings/manireddy-30--mcp-server"><img src="/api/listings/manireddy-30--mcp-server/badge.svg" alt="findsafeskills safety rating" /></a>Install
i
Install instructions from the README
As written by the repo's author. findsafeskills has not verified these steps.
1. Open the project in VS Code or a terminal.
2. Create and activate a virtual environment:
python -m venv .venv .venv\Scripts\Activate.ps1
3. Install the MCP package:
pip install mcp
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
README.md · README · 69 lines
- # B. Manikanta Reddy
- **Registration Number:** 261FB04004
- # Hello MCP Server
- A simple Python Model Context Protocol (MCP) server that provides basic greeting and arithmetic tools.
- ## Features
- The server exposes the following MCP tools:
- - `get_greeting(name)` — Returns a personalized greeting.
- - `add_numbers(a, b)` — Adds two integers.
- - `subtract_numbers(a, b)` — Subtracts one integer from another.
- - `multiply_numbers(a, b)` — Multiplies two integers.
- - `divide_numbers(a, b)` — Divides one integer by another.
- - `square_number(a)` — Returns the square of an integer.
- - `cube_number(a)` — Returns the cube of an integer.
- ## Project Structure
- ```text
- MCP Server/
- ├── server.py
- ├── Images/
- ├── README.md
- └── .gitignore
- ```
- ## Requirements
- - Python 3.10 or newer
- - The MCP Python package
- ## Setup
- 1. Open the project in VS Code or a terminal.
- 2. Create and activate a virtual environment:
- ```powershell
- python -m venv .venv
- .venv\Scripts\Activate.ps1
- ```
- 3. Install the MCP package:
- ```powershell
- pip install mcp
- ```
- ## Run the Server
- ```powershell
- python server.py
- ```
- The server is named `Hello MCP` and remains running until it is stopped.
- ## Example Tool Usage
- - Greeting: `get_greeting("Student")`
- - Addition: `add_numbers(10, 5)` → `15`
- - Subtraction: `subtract_numbers(10, 5)` → `5`
- - Multiplication: `multiply_numbers(10, 5)` → `50`
- - Division: `divide_numbers(10, 5)` → `2.0`
- - Square: `square_number(5)` → `25`
- - Cube: `cube_number(3)` → `27`
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.