Feedback

Mcp Server Python — by lucianoayres

@lucianoayres Claim

Basic information

Runtime
shell
Category
License
MIT license
Transports
stdio
Author
lucianoayres
Submitted by
Community
Quality
10

About Mcp Server Python

````markdown

Mcp Server Python is a MCP server in the Other category listed in the AddMCP.net directory, published by lucianoayres. Supported transport: stdio. Runtime: shell. License: MIT license. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "mcp-server-python-lucianoayres": {
            "command": "python",
            "args": [
                "-m",
                "venv",
                ".venv"
            ]
        }
    }
}

Mcp Server Python — by lucianoayres config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "mcp-server-python-lucianoayres": {
            "command": "python",
            "args": [
                "-m",
                "venv",
                ".venv"
            ]
        }
    }
}

Mcp Server Python — by lucianoayres tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Mcp Server Python?

Mcp Server Python is an MCP (Model Context Protocol) server built in Python that exposes two basic tools—adding numbers and retrieving an environment variable—for use by LLM-based IDEs such as Cursor AI. It demonstrates how to integrate custom tool functionality into AI-assisted development environments via the standard MCP framework.

How to use Mcp Server Python?

Install the MCP package and CLI extension (pip install mcp mcp[cli]), then run the server locally with mcp dev mcp-server.py. For integration with Cursor AI, configure a mcp.json file with absolute paths to the Python executable and server script, optionally adding environment variables like API_KEY. Once integrated, invoke the tools using natural language prompts (e.g., “add 3 and 5” or “what is my API key?”) in Cursor Composer.

Key features of Mcp Server Python

  • Exposes tools to LLM-based IDEs via MCP.
  • Provides an addition tool summing two numbers.
  • Retrieves API key from the environment variable.
  • Supports CLI for local development and testing.
  • Uses standard I/O transport for seamless communication.
  • Configurable via mcp.json for Cursor AI integration.

Use cases of Mcp Server Python

  • Perform arithmetic calculations via natural language in Cursor Composer.
  • Retrieve environment-specific API keys securely through AI prompts.
  • Prototype and test MCP server functionality locally.
  • Extend AI development environments with custom tool integrations.

Frequently asked questions

1 What dependencies are required to run Mcp Server Python?

Python 3.8 or higher, and the MCP package with CLI extension (pip install mcp mcp[cli]).

2 How do I test the server locally?

Run mcp dev mcp-server.py and use the provided browser interface to connect, list templates, and test tools.

3 How do I integrate with Cursor AI?

Create or update the mcp.json file with absolute paths to your Python executable and server script, and optionally define environment variables like API_KEY.

4 What tools are included?

The server includes two tools: add (returns the sum of two numbers) and getApiKey (returns the value of the API_KEY environment variable).

5 What transport does the server use?

It uses standard I/O transport for communication with development environments.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬