Skip to content

Conversation

@radu-mocanu
Copy link
Collaborator

Add uipath new Command for MCP Server Generation

Overview

This PR introduces a new CLI command uipath new that generates a fully functional MCP server.

Features

CLI Enhancements

Server Template Features

The generated server template includes:

  1. Basic Arithmetic Operations

    • Addition, subtraction, multiplication, division
    • Power and root calculations
    • Complex number operations
  2. Advanced Mathematical Functions

    • Trigonometric functions (sin, cos, tan)
    • Logarithmic functions (natural, base-10, custom base)
    • Quadratic equation solver
  3. Statistical Operations

    • Mean, median calculations
    • Standard deviation (sample and population)
    • Complex number arithmetic
  4. Utility Functions

    • Temperature unit conversion
    • Mathematical constants (π, e, φ, etc.)

Project Structure

Generated files include:

  • server.py: Main server implementation with mathematical operations
  • mcp.json: Server configuration with stdio transport
  • pyproject.toml: Project metadata and dependencies

Usage

uipath new <server-name>

@radu-mocanu radu-mocanu requested a review from cristipufu July 21, 2025 10:57
@radu-mocanu radu-mocanu self-assigned this Jul 21, 2025
@radu-mocanu radu-mocanu merged commit 8cb3415 into main Jul 21, 2025
6 checks passed
@cristipufu cristipufu deleted the feat/cli-new branch July 21, 2025 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants