Token导航 LogoToken导航

MCP Server · 运维云端

Strider-Python

一款用于发现和盘点本地系统上配置的模型上下文协议(MCP)服务器的独立Python工具,支持多种LLM客户端和AI开发工具。

stdio官方级别未说明来源级核验工具 0
PythonClaude云端部署Claude DesktopCursorVS Code

快速开始

作者 / 组织
pradeepk7
提供方
pradeepk7
运行时
Python

工具数量

0

来源目录标注

资源数量

0

来源目录标注

提示词数量

0

来源目录标注

GitHub Star

0

仓库热度

收录来源

1 个

MCP World

选型结论

Strider-Python 属于运维云端类 MCP Server,公开资料标注 0 个工具,通过stdio 本地进程接入,适配 Claude Desktop、Claude、Cursor,有可以直接复制的安装命令;接入前要先准备 访问 Token。

分类

运维云端

传输方式

stdio

认证方式

访问 Token

部署方式

公开资料未说明

安装与配置

安装命令

python3 -m venv venv

公开命令不是通用的启动方式,拼不出可靠配置示例;请在客户端 MCP 配置里按官方文档填写 command 和 args。

上手步骤

  1. 1

    准备运行环境

    stdio 服务在本地起进程,需要先装好 Python,再按安装命令拉取依赖。

  2. 2

    安装服务

    复制下面的安装命令执行;命令里带占位符的位置换成自己的密钥或路径。

  3. 3

    写入客户端配置

    在客户端的 MCP 配置里填启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4

    验证是否可用

    连接成功后客户端会列出 0 个工具,随便调一个只读工具确认能返回结果。

接入前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

详细介绍

Strider Tools - MCP Discovery Utilities

This directory contains standalone Python tools for discovering and inventorying Model Context Protocol (MCP) servers configured on a local system.

Overview

The MCP Discovery Tool scans common configuration locations for popular LLM clients and AI development tools to identify configured MCP servers. It supports:

  • Anthropic Claude (Desktop & Claude Code)
  • GitHub Copilot
  • OpenAI/Codex
  • Google Gemini CLI
  • Hugging Face
  • Continue.dev
  • Sourcegraph Cody
  • Ollama
  • Cursor IDE
  • VS Code Extensions

Platform Support

The tool runs natively on all major platforms:

  • macOS (Darwin)
  • Windows (Win32)
  • Linux

It automatically detects the platform and scans appropriate configuration locations:

  • macOS: ~/Library/Application Support/, ~/.config/, ~/.claude/
  • Windows: %APPDATA%, %LOCALAPPDATA%, ~/.config/
  • Linux: ~/.config/, ~/.local/share/, ~/.cache/

Installation & Setup

Prerequisites

  • Python 3.7 or higher
  • No external dependencies (uses only standard library)

Setting Up a Virtual Environment

It's recommended to use a virtual environment to isolate the tool:

# Navigate to the tools directory
cd /path/to/Strider/tools

# Create virtual environment
python3 -m venv venv

# Activate virtual environment
# On macOS/Linux:
source venv/bin/activate

# On Windows (PowerShell):
.\venv\Scripts\Activate.ps1

# On Windows (CMD):
venv\Scripts\activate.bat

Installing Dependencies (Optional)

The tool uses only Python standard library modules, so no additional packages are required. However, if you want to set up a complete environment:

# Verify Python version
python --version  # Should be 3.7+

# Optional: Create requirements.txt for future enhancements
pip freeze > requirements.txt

Usage

Basic Discovery Scan

# Run the discovery tool
python mcp_discovery.py

# Or make it executable (macOS/Linux)
chmod +x mcp_discovery.py
./mcp_discovery.py

Output

The tool generates:

  1. Console output - Real-time discovery progress and summary
  2. CSV file - output/mcp_inventory.csv - Spreadsheet-compatible inventory
  3. JSON file - output/mcp_inventory.json - Structured data for integration

Example Output

============================================================
STRIDER - MCP Discovery Tool
Endpoint Core Agent Component
============================================================

[*] Starting MCP server discovery on hostname.local
[*] User: username
[*] Platform: Darwin
[*] Timestamp: 2025-11-17T02:00:00.000000Z
------------------------------------------------------------
[+] Found Claude Desktop config: /Users/username/Library/Application Support/Claude/claude_desktop_config.json
    [>] Discovered: postgres (Risk: 0.15)
    [>] Discovered: github (Risk: 0.55)
    [>] Discovered: filesystem (Risk: 0.20)
------------------------------------------------------------
[*] Total MCP servers discovered: 3

============================================================
MCP SERVER INVENTORY SUMMARY
============================================================

Risk Distribution:
  HIGH RISK (>= 0.5):   1 servers
  MEDIUM RISK (0.3-0.5): 0 servers
  LOW RISK (< 0.3):      2 servers

HIGH RISK SERVERS:
  - github: 0.55
    Risk Factors: CUSTOM_BINARY, SENSITIVE_ENV_VARS, CODE_REPOSITORY_ACCESS

Risk Scoring

The tool assigns risk scores (0.0 - 1.0) based on security indicators:

Risk FactorScoreDescription
Custom Binary+0.30Direct executable (not npx/uv managed)
Sensitive Env Vars+0.25Contains TOKEN, KEY, SECRET, PASSWORD
File System Access+0.20Has filesystem access capabilities
Database Access+0.15Connects to databases (Postgres, Redis, etc.)
External URL+0.10Connects to external services
Script Execution+0.05Runs Python/Node scripts

Risk Categories

  • HIGH RISK (≥ 0.5): Requires immediate review
  • MEDIUM RISK (0.3 - 0.5): Should be monitored
  • LOW RISK (< 0.3): Standard configurations

Configuration Locations Scanned

Claude Desktop

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Claude Code

  • All: ~/.claude/settings.json, ~/.claude.json
  • macOS: ~/Library/Application Support/Claude Code/config.json
  • Windows: %APPDATA%/Claude Code/config.json

GitHub Copilot

  • All: ~/.config/github-copilot/config.json
  • macOS: ~/Library/Application Support/GitHub Copilot/config.json
  • Windows: %APPDATA%/GitHub Copilot/config.json

Google Gemini CLI

  • All: ~/.config/gemini/config.json, ~/.gemini/config.json
  • macOS: ~/Library/Application Support/Gemini/config.json
  • Windows: %APPDATA%/Gemini/config.json

Cursor IDE

  • All: ~/.cursor/mcp.json, ~/.cursor/settings.json
  • Platform-specific globalStorage paths

See the source code for complete list of all scanned locations.

Output Files

CSV Format (mcp_inventory.csv)

FieldDescription
timestampDiscovery time (ISO 8601 UTC)
server_nameMCP server identifier
commandExecutable command
argsCommand arguments
env_varsEnvironment variables (masked)
config_pathSource configuration file
urlExternal URL (if applicable)
risk_scoreCalculated risk (0.0 - 1.0)
risk_factorsIdentified risk indicators
hostnameMachine hostname
userCurrent user

JSON Format (mcp_inventory.json)

{
  "scan_metadata": {
    "timestamp": "2025-11-17T02:00:00.000000Z",
    "hostname": "hostname.local",
    "user": "username",
    "platform": "Darwin",
    "total_servers": 14
  },
  "servers": [
    {
      "timestamp": "2025-11-17T02:00:00.000000Z",
      "server_name": "github",
      "command": "/path/to/binary",
      "args": "stdio",
      "env_vars": "{\"GITHUB_TOKEN\": \"ghp_xxxxx...\"}",
      "config_path": "/path/to/config.json",
      "url": "",
      "risk_score": "0.55",
      "risk_factors": "CUSTOM_BINARY;SENSITIVE_ENV_VARS",
      "hostname": "hostname.local",
      "user": "username"
    }
  ]
}

Security Considerations

Sensitive Data Masking

The tool automatically masks sensitive environment variables in output:

  • Tokens, keys, secrets, and passwords are truncated
  • Format: "TOKEN": "first10chars..."

Privacy

  • All scanning is local - no data is sent externally
  • Configuration files are read-only
  • Output files remain on the local system

Integration with Strider

This tool can be used standalone or as part of the larger Strider AI-SPM platform:

# Standalone usage
python tools/mcp_discovery.py

# Output can be ingested by Strider agent-core for advanced analysis
# or sent to the Strider Data Plane for centralized monitoring

Enterprise Deployment

The Python discovery tool is ideal for immediate enterprise deployment with zero external dependencies. Deploy via existing system management infrastructure and gain instant visibility into Shadow AI across your endpoint fleet.

Deployment Strategy

  1. Package the Script - Bundle mcp_discovery.py (single file, no dependencies)
  2. Deploy via System Management - Distribute using JAMF, SCCM, Intune, Ansible, or Chef
  3. Schedule Daily Execution - Configure cron, launchd, or Task Scheduler
  4. Collect Output Files - Retrieve CSV/JSON through your management tool
  5. Centralize in CMDB - Import inventory data into your asset management system

Example: Scheduled Deployment

macOS (launchd):

# Daily scan at 2 AM
/usr/bin/python3 /usr/local/bin/mcp_discovery.py
# Output: /usr/local/bin/output/mcp_inventory.csv

Windows (Task Scheduler):

# PowerShell scheduled task
python.exe C:\Tools\mcp_discovery.py
# Output: C:\Tools\output\mcp_inventory.csv

Linux (cron):

# Add to crontab - run daily at 3 AM
0 3 * * * /usr/bin/python3 /opt/strider/mcp_discovery.py

CMDB & SIEM Integration

The structured CSV/JSON output integrates directly with:

  • ServiceNow CMDB - Import as Configuration Items with risk metadata
  • Jira Assets - Track MCP servers as discoverable software assets
  • Splunk - Index JSON for real-time security monitoring and alerting
  • Elastic SIEM - Ingest for threat detection and compliance dashboards
  • Microsoft Sentinel - Feed into cloud-native SIEM
  • Custom Data Lakes - Standard formats for any analytics pipeline

Example: ServiceNow Import

# ServiceNow REST API integration
import requests
import json

with open('output/mcp_inventory.json') as f:
    data = json.load(f)

for server in data['servers']:
    ci_record = {
        'name': server['server_name'],
        'u_risk_score': server['risk_score'],
        'u_risk_factors': server['risk_factors'],
        'u_hostname': server['hostname'],
        'u_discovery_time': server['timestamp']
    }
    # POST to ServiceNow CI table

Benefits for Security Teams

  • Zero Infrastructure Required - Single Python file, no servers or databases
  • No External Dependencies - Uses only Python standard library
  • Immediate ROI - Deploy in minutes, get results immediately
  • Minimal Attack Surface - No network connectivity, no cloud services
  • Compliance Ready - Full audit trail with timestamps and risk scores
  • Cost Effective - Leverage existing Python installations and management tools
  • Vendor Agnostic - Standard output formats work with any CMDB/SIEM

Deployment Checklist

  • [ ] Verify Python 3.7+ installed on target endpoints
  • [ ] Test script execution with appropriate permissions
  • [ ] Configure output directory with write access
  • [ ] Set up scheduled task (daily recommended)
  • [ ] Configure file collection in system management tool
  • [ ] Set up CMDB/SIEM ingestion pipeline
  • [ ] Create alerting rules for HIGH RISK servers
  • [ ] Document baseline of approved MCP servers

This approach provides immediate visibility into Shadow AI without requiring additional infrastructure, vendor contracts, or cloud dependencies. Start detecting unauthorized AI tools today using your existing enterprise management investment.

Extending the Tool

Adding New LLM Client Support

  1. Add configuration paths in _get_config_locations()
  2. Add parsing logic if config format differs from standard MCP schema
  3. Update the discover_all() method to include the new client

Custom Risk Factors

Modify _calculate_risk_score() and _identify_risk_factors() in the MCPServerInfo class to add new risk indicators.

Troubleshooting

Common Issues

  1. Permission Denied: Ensure read access to configuration directories
  2. Module Not Found: Verify Python 3.7+ is installed
  3. No Servers Found: Check if LLM clients are installed and configured

Debug Mode

Add print statements or use Python debugger:

python -m pdb mcp_discovery.py

License

Part of the Strider AI-SPM Platform. See main project README for license information.

Contributing

Contributions welcome! Areas of interest:

  • Additional LLM client support
  • Enhanced risk scoring algorithms
  • Platform-specific optimizations
  • Output format enhancements (SIEM integration, etc.)

工具与能力

工具数量

0

资源数量

0

提示词数量

0

能力标签

MCP服务器发现Python本地部署AI工具管理安全风险评估本地扫描工具企业部署

支持客户端

Claude DesktopClaudeCursorVS Code

数量来自来源目录的标注,具体工具清单以官方文档为准。

典型使用场景

看服务状态

查询容器、日志和监控指标,定位异常。

执行部署变更

在权限范围内触发发布、回滚和环境切换。

核对资源用量

汇总用量,找出闲置和超额的部分。

选择建议

值得选的地方

  • 只提供 0 个工具,职责集中,接入后不容易误操作。
  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 已经适配 Claude Desktop、Claude、Cursor,换客户端不用重新研究配置。

先想清楚的地方

  • stdio 方式要求本地装好 Python,换机器要重新装一遍。
  • 需要自备访问 Token,没有凭据没法直接试。
  • 第三方目录整理,版本更新和行为细节以官方仓库为准。

更适合

  • 需要在运维云端场景里让模型直接调用外部能力的人。
  • 已经在用 Claude Desktop 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 暂时拿不到访问 Token的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

5 个同类
MCP Server工具数传输方式安装命令收录来源最后核验
Strider-Python

MCP World · 本页

0stdio有1 个2026-05-17
Ui Tars Desktop 8a825770

MCP World

0stdio有1 个2026-05-17
Elie222 MCP

MCP World

0未说明未标注1 个2026-05-17
Arizeai Phoenix MCP

MCP World

0stdio有3 个2026-05-17
Unity MCP 87ee506e

MCP World

42HTTP有2 个2026-05-17

按同分类和工具数量挑出最接近的几条,字段以各自详情页为准。

常见问题

5 条

Strider-Python 怎么安装?

公开资料给出的安装命令是 python3 -m venv venv,运行环境为 Python。装完后按客户端要求写进 MCP 配置,重启客户端生效。

Strider-Python 怎么在 Claude Desktop、Cursor 里配置?

它是stdio 本地进程,客户端配置里要写启动命令和参数,运行环境是 Python;保存后完全退出客户端再打开,配置才会生效。

Strider-Python 收费吗?

本站只整理公开资料,不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Strider-Python 需要 API Key 吗?

公开资料标注的认证方式是访问 Token,也就是要先拿到凭据才能连上;凭据只填在自己本地的配置里,不要写进公开仓库。

Strider-Python 支持哪些客户端?

公开资料标注支持 Claude Desktop、Claude、Cursor、VS Code;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

来源信息

继续浏览同类 MCP