MCP.so
登录

MCP News Server

@devjiel

关于 MCP News Server

mcp server of a realtime news api

基本信息

分类

其他

许可证

MIT license

运行时

node

传输方式

stdio

发布者

devjiel

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "news": {
      "command": "node",
      "args": [
        "dist/index.js"
      ],
      "env": {
        "NEWS_API_KEY": ""
      }
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP News Server?

MCP News Server is a Model Context Protocol implementation that enables Large Language Models to access real-time news data through NewsAPI integration, providing up-to-date news content for enhanced LLM responses.

How to use MCP News Server?

Clone the repository, install dependencies with npm install, create a .env file with your NewsAPI key and GitHub Personal Access Token, then configure the server in mcp.json under mcpServers.news with the command node dist/index.js and the required environment variable NEWS_API_KEY.

Key features of MCP News Server

  • Integrates real-time news data via NewsAPI
  • Enhances LLM responses with current news context
  • Requires Node.js v16 or higher
  • Uses environment variables for API key configuration
  • Configured through standard MCP server JSON settings
  • Licensed under the MIT License

Use cases of MCP News Server

  • Provide LLMs with live news headlines and articles for context-aware answers
  • Automate news monitoring and summarization tasks in AI workflows
  • Enable news-based decision support in chatbot or assistant applications

FAQ from MCP News Server

What are the prerequisites for MCP News Server?

You need Node.js v16 or higher, a NewsAPI key (obtainable at newsapi.org), and a GitHub Personal Access Token for GitHub integration.

How do I get a NewsAPI key?

Visit https://newsapi.org to register and obtain a free API key.

What is the license for MCP News Server?

The project is licensed under the MIT License.

How do I configure the server?

Edit the mcp.json file to add the news server entry with the command node dist/index.js and set the NEWS_API_KEY environment variable to your API key.

Where can I get support?

For support and questions, open an issue in the GitHub repository or contact the maintainers as indicated in the README.

评论

其他 分类下的更多 MCP 服务器