Simple Remote MCP Server

Simple Remote MCP Server

A template and demonstration project for building, testing, and deploying remote MCP servers using FastMCP and uv. It provides a foundational structure for creating MCP-compliant tools that can be hosted publicly and integrated with LLM agents.

Category
Visit Server

README

Simple MCP Server (FastMCP)

This repository demonstrates how to create, test, and deploy a simple remote MCP server using FastMCP, uv, and GitHub.


Prerequisites

Make sure you have the following installed:

  • Python 3.10+
  • uv (Python package manager)
  • Git
  • VS Code (recommended)
  • Node.js (for MCP Inspector)

Step-by-Step Guide

1. Install uv

uv is a fast Python package manager and runtime.

pip install uv

2. Create a new project folder

mkdir simple-mcp-server
cd simple-mcp-server

3. Open the folder in VS Code

code .

4. Initialize the project

uv init

This creates:

  • pyproject.toml
  • Virtual environment configuration

5. Install FastMCP

uv add fastmcp

FastMCP allows you to build MCP-compatible servers easily.


6. Create a simple server

Create a file called main.py:

from fastmcp import FastMCP

mcp = FastMCP("Simple MCP Server")

@mcp.tool()
def hello(name: str) -> str:
    return f"Hello, {name}! Welcome to MCP."

if __name__ == "__main__":
    mcp.run()

7. Run the server

uv run main.py

Your MCP server will start locally.


8. Test using MCP Inspector

Use MCP Inspector to:

  • Connect to the server
  • Verify tools are listed
  • Send test requests

This confirms your server is MCP-compliant.


9. Create a GitHub repository

Create a new repo on GitHub named:

simple-mcp-server

10. Initialize Git locally

git init
git add .
git commit -m "Initial commit: Simple MCP server"

11. Add GitHub remote & push

git remote add origin https://github.com/yourusername/simple-mcp-server.git
git push -u origin main

12. Deploy on FastMCP Cloud

  1. Create an account on FastMCP Cloud
  2. Connect your GitHub repository
  3. Deploy the project

After deployment:

  • Your MCP server gets a public endpoint
  • It can be used by MCP clients and LLM agents

Project Structure

simple-mcp-server/
│── main.py
│── pyproject.toml
│── README.md

Next Steps

  • Add more MCP tools
  • Connect this server to LLM agents
  • Add authentication & logging

Happy building 🚀

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured