How does the password protect the search tool?
The `search_news` tool checks the provided password against a value stored in a `.env` file. If correct, it proceeds with the web search; otherwise, it returns an error message.
@marioluciofjr
基本信息
Repositório com um MCP-Server que traz um resumo de notícias, mas só se tiver a senha correta da tool
工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
mcp_news is a tool for searching and summarizing web news using the Model Context Protocol (MCP). It allows a language model to securely access a news search tool via a password and return structured results. Built with Python, it is designed for users of Claude Desktop who want concise, journalistic-style news summaries on a given topic.
Install Python 3.10+, the uv package, and Claude Desktop. Clone the repository, run uv init inside the project folder, then add dependencies with uv add mcp[cli] dotenv smolagents[toolkit]. Rename .env.example to .env and set the password. Add the MCP server configuration to claude_desktop_config.json using the command uv --directory <path> run server.py. Finally, use the prompt "acesso" via the Claude Desktop interface, fill in the password and topic, and execute the prompt.
search_news tool with password-based authentication.acesso prompt for structured summarization.smolagents' WebSearchTool for web news search.The `search_news` tool checks the provided password against a value stored in a `.env` file. If correct, it proceeds with the web search; otherwise, it returns an error message.
The prompt "acesso" instructs the model to return a summary with a title, a first paragraph providing a brief summary, and a second paragraph with additional context.
Python 3.10 or higher, the `uv` package, and Claude Desktop installed on the computer.
The README specifically provides installation instructions for Claude Desktop and configures the server in `claude_desktop_config.json`. No alternative client is mentioned.
The README describes it as a simple MCP server using only FastMCP and following Anthropic’s Python SDK examples. No explicit limitations are listed.
评论