Skip to main content
Glama
VikasPrajapati1998

DateTime-LocalMCPServer

MCP Server Setup Guide

A step-by-step guide to set up and run a Model Context Protocol (MCP) server using FastMCP.

Installation Steps

  • UV is a fast Python package manager. Install it using pip:

pip install uv
  • Verify installation:

uv --version
  • Create a new directory for your MCP server and initialize it:

mkdir mcp-server cd mcp-server uv init .
  • This creates the necessary project structure with:

    • pyproject.toml - Project configuration

    • .python-version - Python version specification

    • README.md - Project documentation

  • Add FastMCP to your project dependencies:

uv add fastmcp
  • Create a file named main.py with your server code:

  • Use the MCP Inspector to test your server interactively:

uv run fastmcp dev main.py
  • To run your server normally:

uv run fastmcp run main.py
  • Automatically configure Claude Desktop to use your MCP server:

uv run fastmcp install claude-desktop main.py

License

This project is licensed under the MIT License.

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/VikasPrajapati1998/DateTime-LocalMCPServer'

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