
Research
/Security News
PolinRider Spreads Through Compromised GitHub Accounts and Packagist
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.
这是一个基于Model Context Protocol (MCP)的天气服务,提供天气预报和天气警报功能。
npm install -g test-mcp
git clone https://github.com/你的用户名/test-mcp.git
cd test-mcp
npm install
npm run build
npm link
无需安装,直接通过npx使用:
npx test-mcp start
要在Windsurf中使用此MCP服务,您需要在Windsurf的MCP配置文件中添加以下配置:
~/.codeium/windsurf/mcp_config.json){
"mcpServers": {
"weather": {
"command": "node",
"args": [
"路径/到/test-mcp/build/index.js"
]
}
}
}
{
"mcpServers": {
"weather": {
"command": "npx",
"args": [
"test-mcp",
"start"
]
}
}
}
此MCP服务提供以下工具:
get-forecast
参数:
latitude: 纬度 (-90 到 90)longitude: 经度 (-180 到 180)get-alerts
参数:
state: 两字母州代码 (例如: CA, NY)# 安装依赖
npm install
# 构建项目
npm run build
# 运行服务
npm start
ISC
FAQs
一个天气MCP服务,提供天气预报和天气警报功能
The npm package test-mcp receives a total of 22 weekly downloads. As such, test-mcp popularity was classified as not popular.
We found that test-mcp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.

Company News
Allow myself to introduce... myself.