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
      This server provides a minimal template for creating AI assistant tools using the ModelContextProtocol, featuring a simple 'hello world' tool example and development setups for building custom MCP tools.
      Last updated -
      1
      7
      8
      TypeScript
      The Unlicense
      • Apple
    • A
      security
      F
      license
      A
      quality
      Model Context Protocol (MCP) server that integrates Redash with AI assistants like Claude, allowing them to query data, manage visualizations, and interact with dashboards through natural language.
      Last updated -
      10
      53
      16
      JavaScript
      • Apple
    • -
      security
      A
      license
      -
      quality
      MCP server that provides AI assistants access to stock market data including financial statements, stock prices, and market news through a Model Context Protocol interface.
      Last updated -
      253
      Python
      MIT License
      • Apple
    • 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
      9
      TypeScript
      MIT License

    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