Search, trending, topics, and local news all in one MCP server. Article previews, deduplication, source filtering, and 40+ languages built in.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add fast-news --env RAPIDAPI_KEY='<RAPIDAPI_KEY>' --env YOUR_API_KEY='<YOUR_API_KEY>' -- npx -y @wllrdev/fast-news-mcp~/.codex/config.toml
[mcp_servers.fast-news]
command = "npx"
args = ["-y", "@wllrdev/fast-news-mcp"]
env = { RAPIDAPI_KEY = "<RAPIDAPI_KEY>", YOUR_API_KEY = "<YOUR_API_KEY>" }
# codex mcp add fast-news --env RAPIDAPI_KEY='<RAPIDAPI_KEY>' --env YOUR_API_KEY='<YOUR_API_KEY>' -- npx -y @wllrdev/fast-news-mcp~/.cursor/mcp.json
{
"mcpServers": {
"fast-news": {
"command": "npx",
"args": [
"-y",
"@wllrdev/fast-news-mcp"
],
"env": {
"RAPIDAPI_KEY": "<RAPIDAPI_KEY>",
"YOUR_API_KEY": "<YOUR_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"fast-news": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@wllrdev/fast-news-mcp"
],
"env": {
"RAPIDAPI_KEY": "<RAPIDAPI_KEY>",
"YOUR_API_KEY": "<YOUR_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"fast-news": {
"command": "npx",
"args": [
"-y",
"@wllrdev/fast-news-mcp"
],
"env": {
"RAPIDAPI_KEY": "<RAPIDAPI_KEY>",
"YOUR_API_KEY": "<YOUR_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"fast-news": {
"command": "npx",
"args": [
"-y",
"@wllrdev/fast-news-mcp"
],
"env": {
"RAPIDAPI_KEY": "<RAPIDAPI_KEY>",
"YOUR_API_KEY": "<YOUR_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"fast-news": {
"command": "npx",
"args": [
"-y",
"@wllrdev/fast-news-mcp"
],
"env": {
"RAPIDAPI_KEY": "<RAPIDAPI_KEY>",
"YOUR_API_KEY": "<YOUR_API_KEY>"
}
}
}
}需要的环境变量
RAPIDAPI_KEYYOUR_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。