portScanner
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"port_scanner": {
"args": [
"-y",
"@modelcontextprotocol/server-everything"
],
"command": "npx",
"env": {
"MCP_API_KEY": "131313",
"MCP_SERVER_URL": "http://120.27.204.114:9090/sse",
"MCP_TRANSPORT": "sse",
"end_port": "1000",
"ip": "120.27.204.114",
"key": "131313",
"start_port": "1"
}
}
}
}
该服务需要配置环境变量:end_port、ip、key、start_port
可用工具 (10 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
echo 1 个参数 需填 1 项
Echoes back the input
必填参数:message
add 2 个参数 需填 2 项
Adds two numbers
必填参数:a、b
longRunningOperation 2 个参数
Demonstrates a long running operation with progress updates
该工具无需必填参数,直接调用即可
printEnv
Prints all environment variables, helpful for debugging MCP server configuration
该工具无需必填参数,直接调用即可
sampleLLM 2 个参数 需填 1 项
Samples from an LLM using MCP's sampling feature
必填参数:prompt
getTinyImage
Returns the MCP_TINY_IMAGE
该工具无需必填参数,直接调用即可
annotatedMessage 2 个参数 需填 1 项
Demonstrates how annotations can be used to provide metadata about content
必填参数:messageType
getResourceReference 1 个参数 需填 1 项
Returns a resource reference that can be used by MCP clients
必填参数:resourceId
getResourceLinks 1 个参数
Returns multiple resource links that reference different types of resources
该工具无需必填参数,直接调用即可
structuredContent 1 个参数 需填 1 项
Returns structured content along with an output schema for client data validation
必填参数:location
服务介绍
请提供需要翻译的英文技术文档内容。