Skip to main content
Glama
markjukerburg

MCP Server Demo

Getting Started with MCP in Your Python Project

These instructions are adapted from the original GitHub MCP Python SDK Repository: Model Context Protocol Python SDK.

We will use uv to manage your Python projects for a streamlined and reproducible setup.

1. Initialize a New uv-Managed Project

If you're starting fresh, initialize a new project:

uv init mcp-server-demo cd mcp-server-demo

You can then copy the server.py file in your new project.

2. Add MCP to Your Project

Add the MCP package, including the CLI tools, as a dependency:

uv add "mcp[cli]"

3. Run the MCP Development Tools

To use the MCP CLI with uv:

uv run mcp

3. Interact with the Tool

If you have Claude Desktop, you can start interacting with the tool from the UI by running the following command:

uv mcp install server.py

You can follow this tutorial for a step by step initialziation.

Alternatively, you can test it with the MCP Inspector:

uv mcp dev server.py
-
security - not tested
A
license - permissive license
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/markjukerburg/MCP-'

If you have feedback or need assistance with the MCP directory API, please join our Discord server