Skip to main content
Glama
MCP Server Demo

MCP Server Demo

by dynstat

MCP 서버 데모

모델 제어 프로토콜(MCP) 서버 구현을 위한 간단한 데모 프로젝트입니다. MCP 클라이언트 구현은 추후 제공될 예정입니다.

개요

이 프로젝트는 AI 어시스턴트가 사용할 수 있는 여러 도구와 리소스를 제공하는 FastMCP로 구축된 간단한 MCP 서버를 보여줍니다.

  • 뉴스 기사 가져오기 : WorldNewsAPI에서 뉴스 기사 쿼리 및 검색

  • 간단한 계산 : 기본 덧셈 기능

  • 날씨 정보 : 간단한 날씨 데이터 검색

  • 동적 인사말 : 개인화된 인사말 리소스

Related MCP server: MCP Server Demo

설정

필수 조건

  • 파이썬 3.x

  • 테스트에 필요한 Python 패키지:

    • mcp-server

    • worldnewsapi

설치

  1. 이 저장소를 복제하세요

  2. 종속성 설치:

    지엑스피1

    uv add worldnewsapi
    pip install mcp-server worldnewsapi

용법

서버 실행

Python으로 서버를 실행합니다. MCP 관련 구성에서 클라이언트를 다시 시작합니다(예: Claude Desktop 또는 Cursor IDE MCP).

Available Tools

3 tools
addC

Add two numbers

Inputs: a (required), b (required).

fetch_news_articlesB
Fetches news articles from the WorldNewsAPI based on specified parameters
and returns them as a list of dictionaries.

Args:
    query_text (str): The text to search for in news articles
    earliest_date (str): Earliest publication date in YYYY-MM-DD format
    latest_date (str): Latest publication date in YYYY-MM-DD format
    max_results (int): Maximum number of results to return

Returns:
    list: A list of dictionaries containing article details

Inputs: query_text, earliest_date, latest_date, max_results.

get_weatherC

it gets and retuns the weather of the city

Inputs: city (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.6/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap: 'add' performs arithmetic, 'fetch_news_articles' retrieves news data, and 'get_weather' provides weather information. The descriptions reinforce these unique domains, making misselection unlikely.

    Naming Consistency2/5

    The naming is inconsistent with mixed conventions: 'add' uses a simple verb, 'fetch_news_articles' follows a verb_noun pattern with snake_case, and 'get_weather' uses a verb_noun pattern but with different verb style ('get' vs 'fetch'). This lack of pattern reduces predictability.

    Tool Count2/5

    With only 3 tools, the server feels thin and under-scoped for a general-purpose 'MCP Server Demo', as it covers unrelated domains (math, news, weather) without depth in any area. This minimal set suggests a lack of coherent focus.

    Completeness1/5

    The tool set is severely incomplete for any discernible domain; it appears to be a random collection of unrelated utilities. There are obvious gaps, such as no update or delete operations for news or weather, and no coverage of basic workflows beyond simple fetches and addition.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      C
      quality
      D
      maintenance
      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.
      3
      -
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      A demonstration MCP server that provides calculator tools for arithmetic operations, personalized greeting resources, and code review prompt templates. Enables users to perform basic math calculations, generate dynamic greetings, and access reusable code review templates through the Model Context Protocol.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A minimal Model Context Protocol server demo that exposes tools through HTTP API, including greeting, weather lookup, and HTTP request capabilities. Demonstrates MCP server implementation with stdio communication and HTTP gateway functionality.
      ISC
    • F
      license
      Not graded
      quality
      C
      maintenance
      A basic MCP server implementation using the FastMCP framework that provides utility tools for greetings and mathematical calculations. It is designed to demonstrate tool integration for AI-assisted development workflows like Cline.
      -