MCP Server

by ajerni

134 downloads Not rated yet

About

MCP Server is a simple Model Context Protocol (MCP) server implementation that exposes several utility functions as tools. It was created as a personal test project for use with Cursor and glama.ai.

Explore

- Exposes tools: add, multiply, andigreeter, namegreeter
- Add new tools easily with the @mcp.tool() decorator
- Written in Python using the MCP Python SDK
- Designed for testing MCP on glama.ai and Cursor

Install with pip install "mcp[cli]" and then configure the server in Cursor or glama.ai. Tools are invoked via the MCP protocol once the server is running.

add

Add two numbers

multiply

Multiply two numbers

andigreeter

Responds with information about Andi

namegreeter

Greets a user by name

The server provides the following tools:
- add: Add two numbers
- multiply: Multiply two numbers
- andigreeter: Responds with information about Andi
- namegreeter: Greets a user by name

This is a simple Model Context Protocol (MCP) server implementation that exposes several utility functions as tools.

Purpose

Andi's personal MCP server test on glama.ai / Used in cursor with:
pip install "mcp[cli]"

Available Tools

The server provides the following tools:
- add: Add two numbers
- multiply: Multiply two numbers
- andigreeter: Responds with information about Andi
- namegreeter: Greets a user by name

Custom Development

To add more tools, simply define new functions with the @mcp.tool() decorator:

@mcp.tool()
def your_function(param1: type, param2: type) -> return_type:
    """Description of your function"""
    # Your code here
    return result
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.