Skip to content
Back to search

MCP_Server

Name: M. Phanindra Chowdary Reg No: 261FB04026

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
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/phanindrachowdarymuppaneni--mcp-server/badge.svg)](/listings/phanindrachowdarymuppaneni--mcp-server)

HTML

<a href="/listings/phanindrachowdarymuppaneni--mcp-server"><img src="/api/listings/phanindrachowdarymuppaneni--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. 2. Create and activate a virtual environment:

   python -m venv .venv
   .\.venv\Scripts\Activate.ps1

3. Install the required MCP package using the package name provided by your MCP environment.

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 · 65 lines
  1. # MCP Server Project
  2. **Name:** M. Phanindra Chowdary
  3. **Reg No:** 261FB04026
  4. ## Overview
  5. This project is a Python Model Context Protocol (MCP) server named **Hello MCP**. It provides simple arithmetic and greeting tools that can be called by an MCP-compatible client.
  6. ## Available Tools
  7. | Tool | Parameters | Description |
  8. |---|---|---|
  9. | `get_greeting` | `name` | Returns a personalized greeting message |
  10. | `add_numbers` | `a`, `b` | Adds two integers |
  11. | `subtract_numbers` | `a`, `b` | Subtracts the second integer from the first |
  12. | `multiply_numbers` | `a`, `b` | Multiplies two integers |
  13. | `divide_numbers` | `a`, `b` | Divides the first integer by the second |
  14. ## Project Structure
  15. ```text
  16. MCPServer/
  17. ├── server.py
  18. ├── Images/
  19. ├── .venv/
  20. └── README.md
  21. ```
  22. ## Prerequisites
  23. - Python 3.10 or later
  24. - MCP Python package or the project-specific `mcp.server.mcpserver` module
  25. ## Setup
  26. 1. Open the project in VS Code.
  27. 2. Create and activate a virtual environment:
  28. ```powershell
  29. python -m venv .venv
  30. .\.venv\Scripts\Activate.ps1
  31. ```
  32. 3. Install the required MCP package using the package name provided by your MCP environment.
  33. ## Run the Server
  34. From the project directory, run:
  35. ```powershell
  36. python server.py
  37. ```
  38. ## Example Tool Usage
  39. - `get_greeting(name="Phanindra")` returns a greeting for Phanindra.
  40. - `add_numbers(a=10, b=5)` returns `15`.
  41. - `subtract_numbers(a=10, b=5)` returns `5`.
  42. - `multiply_numbers(a=10, b=5)` returns `50`.
  43. - `divide_numbers(a=10, b=5)` returns `2.0`.
  44. ## Notes
  45. Division by zero raises a `ZeroDivisionError`. Add validation in the MCP tool if a friendly error response is required.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.