Skip to main content

A simple MCP server example

Project description

News Server

A MCP server for news search and sentiment analysis with email reporting capabilities.

Features

  • Search Google News by keywords
  • Analyze sentiment of news content
  • Generate reports and send via email

Installation

pip install news-server

Usage

  1. Create a .env file with required API keys:

    SERPER_API_KEY=your_serper_key
    DASHSCOPE_API_KEY=your_dashscope_key
    SMTP_SERVER=your_smtp_server
    EMAIL_USER=your_email
    EMAIL_PASS=your_password
    
  2. Run the server:

python -m news_server.server

Requirements

  • Python 3.8+
  • See pyproject.toml for dependencies

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple_mcp_example-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_mcp_example-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file simple_mcp_example-0.1.0.tar.gz.

File metadata

  • Download URL: simple_mcp_example-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for simple_mcp_example-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d9f5d37a4a63c9370864da2e929fce6037e0d9bfd1924290bd6f164ec6d571b2
MD5 c565115865872efa42f1fd0327753f57
BLAKE2b-256 8b9523e1de65f28acf9e9f6e73fabe49e481a448c6b5e8c9da701d9db97a9bcc

See more details on using hashes here.

File details

Details for the file simple_mcp_example-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_mcp_example-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 363597557dee5d4dba50336cd93c0608937b69cd10ed7ee0bd2d8156b86dba06
MD5 58ecb7df691d281a8fd4de108d46143f
BLAKE2b-256 a038c20128fe58d79a4fa4ce61b2320bbf29821da909af528a94ee31ce4f8a48

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page