Skip to main content
Glama

MCP Server Demo

by dynstat

MCP Server Demo

A simple demonstration project for the Model Control Protocol (MCP) server implementation. MCP client implementation will be provided in the future.

Overview

This project demonstrates a simple MCP server built with FastMCP that provides several tools and resources for AI assistants to use:

  • News Article Fetching: Query and retrieve news articles from WorldNewsAPI
  • Simple Calculation: Basic addition functionality
  • Weather Information: Simple weather data retrieval
  • Dynamic Greeting: Personalized greeting resource

Setup

Prerequisites

  • Python 3.x
  • Required Python packages (used for testing):
    • mcp-server
    • worldnewsapi

Installation

  1. Clone this repository
  2. Install dependencies:
    uv add mcp-server
    uv add worldnewsapi
    pip install mcp-server worldnewsapi

Usage

Running the Server

Run the server with Python: from MCP related configuration and restart the client, like claude desktop or cursor ide mcp.

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A simple demonstration project for the Model Control Protocol (MCP) server that provides tools for AI assistants to fetch news articles, perform calculations, retrieve weather data, and generate personalized greetings.

  1. Overview
    1. Setup
      1. Prerequisites
      2. Installation
    2. Usage
      1. Running the Server

    Related MCP Servers

    • A
      security
      A
      license
      A
      quality
      A foundation for building custom local Model Context Protocol (MCP) servers that provide tools accessible to AI assistants like Cursor or Claude Desktop.
      Last updated -
      1
      25
      TypeScript
      MIT License
    • A
      security
      A
      license
      A
      quality
      A modern Model Context Protocol (MCP) server that enables AI assistants to collect interactive user feedback, supporting text and image-based responses.
      Last updated -
      3
      Python
      MIT License
    • -
      security
      A
      license
      -
      quality
      Model Context Protocol (MCP) server that provides AI assistants with advanced web research capabilities, including Google search integration, intelligent content extraction, and multi-source synthesis.
      Last updated -
      28
      3
      TypeScript
      MIT License
    • A
      security
      F
      license
      A
      quality
      A demonstration server based on Model Context Protocol (MCP) that showcases how to build custom tools for AI assistants, providing mathematical calculation and multilingual greeting capabilities.
      Last updated -
      3
      TypeScript

    View all related MCP servers

    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/dynstat/mcp-demo'

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