mcp-server-python

mcp-server-python

0

The MCP Server in Python is a project aimed at demonstrating how to integrate custom tools into AI-assisted development environments using the Model Context Protocol. It includes basic tools like addition and API key retrieval, designed to work with IDEs such as Cursor AI to enhance developer productivity.

MCP Server in Python

Overview

MCP (Model Context Protocol) is a framework that facilitates the integration of custom tools into AI-assisted development environments. This project demonstrates an MCP server built in Python offering basic tools like addition and API key retrieval. It is designed for use with LLM-based IDEs such as Cursor AI.

Requirements

  • Python 3.8 or higher
  • Virtual Environment

Features

  • MCP Integration
  • Addition Tool
  • Environment Variable Retrieval
  • CLI Support
  • Standard I/O Transport

Installation

  1. Clone the Repository
  2. Setup Virtual Environment
  3. Install Dependencies

Testing the Server Locally

Run the server and interact via an LLM-based interface using the provided tools.

Integrating with Cursor AI

Configuration details for setting up mcp.json to work with Cursor AI.