Skip to content

Simple Python MCP server starter template using mcp-use

Notifications You must be signed in to change notification settings

mcp-use/python-server-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Python MCP Server Starter

A minimal mcp-use Python server template.

Quick Start

pip install -r requirements.txt
python server.py

The server runs at http://localhost:8000/mcp.

Example Tools

  • greet(name) - Returns a greeting
  • add(a, b) - Adds two numbers
  • get_current_time() - Returns current timestamp

Adding Tools

@server.tool()
def my_tool(arg: str) -> str:
    """Tool description shown to clients."""
    return f"Result: {arg}"

Documentation

See the full mcp-use Python docs.

About

Simple Python MCP server starter template using mcp-use

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages