Skip to main content
Glama

MCP-Template

A Python starter project for building an MCP (Model Context Protocol) server. It includes a server, a client pool to manage multiple connections safely, and a Jupyter notebook demonstrating how to use the tools and communicate with the AI. The project is structured to make it easy to add your own tools, prompts, and workflows. To get started, clone the repository, install dependencies, run the server, and use the notebook to test and interact with your MCP setup.

Prerequisites:

  • Create a virtual environment (conda or python) and activate it

    # Python Virtual Environment (Create)
    python -m venv .venv
    
    # Activating (Windows)
    .\.venv\Scripts\activate
    
    # Activating (Linux/MacOS)
    source .venv/bin/activate
    # Conda Virtual Environment (Create)
    conda create -n myenv python=3.11
    
    # Activating 
    conda activate myenv
  • pip install the requirements (in the environment)

    pip install -r requirements.txt
  • Make sure you have an Azure client (or OpenAI; you may need to update the code if new fields are required). Create a .env file in the project root directory with the following fields:

    AZURE_API_KEY="Your API Key"
    ENDPOINT="Your Endpoint"
    VERSION="Your OpenAI Version"
    MODEL="Your Azure OpenAI Model"

Sources

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    C
    quality
    D
    maintenance
    A starter template for building MCP servers that can integrate with Claude, Cursor, or other MCP-compatible AI assistants to create custom tools, resource providers, and prompt templates.
    Last updated
    2
    182
  • F
    license
    -
    quality
    D
    maintenance
    A basic MCP server template that provides a foundation for building custom tools, resources, and prompts. Serves as a starting point for developers to create their own MCP server functionality.
    Last updated
  • F
    license
    -
    quality
    D
    maintenance
    A foundational template for building MCP servers in Python using Streamable HTTP transport. Provides example implementations of tools, resources, and prompts to help developers create custom MCP integrations for AI assistants.
    Last updated
  • F
    license
    C
    quality
    D
    maintenance
    A starter template for building custom MCP servers with example tools, TypeScript support, and multi-client installation scripts for Claude Desktop, Cursor, and other MCP-compatible AI assistants.
    Last updated
    2
    18
    84

View all related MCP servers

Related MCP Connectors

  • Primarily to be used as a template repository for developing MCP servers with FastMCP in Python, P…

  • MCP server for AI dialogue using various LLM models via AceDataCloud

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

View all MCP Connectors

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/BJW101102/MCP-Template'

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