GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
An MCP server that provides tools for managing and monitoring your Fleet Device Management instance.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
FLEET_SERVER_URL, FLEET_API_TOKEN, FLEET_READONLY, FLEET_ALLOW_SELECT_QUERIES, FLEET_VERIFY_SSL标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"fleet": {
"command": "uvx",
"args": [
"fleet-mcp"
],
"env": {
"FLEET_SERVER_URL": "your-value",
"FLEET_API_TOKEN": "your-value",
"FLEET_READONLY": "your-value",
"FLEET_ALLOW_SELECT_QUERIES": "your-value",
"FLEET_VERIFY_SSL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add fleet --env FLEET_SERVER_URL=your-value --env FLEET_API_TOKEN=your-value --env FLEET_READONLY=your-value --env FLEET_ALLOW_SELECT_QUERIES=your-value --env FLEET_VERIFY_SSL=your-value -- uvx fleet-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"fleet": {
"command": "uvx",
"args": [
"fleet-mcp"
],
"env": {
"FLEET_SERVER_URL": "your-value",
"FLEET_API_TOKEN": "your-value",
"FLEET_READONLY": "your-value",
"FLEET_ALLOW_SELECT_QUERIES": "your-value",
"FLEET_VERIFY_SSL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"fleet": {
"type": "stdio",
"command": "uvx",
"args": [
"fleet-mcp"
],
"env": {
"FLEET_SERVER_URL": "your-value",
"FLEET_API_TOKEN": "your-value",
"FLEET_READONLY": "your-value",
"FLEET_ALLOW_SELECT_QUERIES": "your-value",
"FLEET_VERIFY_SSL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
FLEET_READONLY envFLEET_ALLOW_SELECT_QUERIES envFLEET_VERIFY_SSL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 SimplyMinimal 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:FLEET_SERVER_URL, FLEET_API_TOKEN
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.1.3)于9个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A Model Context Protocol (MCP) server that enables AI assistants to interact with Fleet Device Management for device management, security monitoring, and compliance enforcement.
📸 Show/Hide Demo Screenshots
Just want to dive right in? This will set up fleet-mcp with read-only access and SELECT query execution enabled. Just replace the FLEET_SERVER_URL and FLEET_API_TOKEN with your own.
{
"mcpServers": { "fleet": { "command": "uvx", "args": ["fleet-mcp", "run"], "env": { "FLEET_SERVER_URL": "https://your-fleet-instance.com", "FLEET_API_TOKEN": "your-api-token", "FLEET_READONLY": "true", "FLEET_ALLOW_SELECT_QUERIES": "true" } } } }
See the Available Tools section below for a complete list of tools.
<!--
Local Installation
pip install fleet-mcp
git clone https://github.com/SimplyMinimal/fleet-mcp.git
cd fleet-mcp pip install -e .
git clone https://github.com/SimplyMinimal/fleet-mcp.git
cd fleet-mcp uv sync --dev
</details> -->
<!-- ### 1. Initialize Configuration
fleet-mcp init-config
This creates a fleet-mcp.toml configuration file. Edit it with your Fleet server details:
[fleet]
server_url = "https://your-fleet-instance.com" api_token = "your-api-token" readonly = true # Safe default - enables read-only mode allow_select_queries = false # Set to true to allow SELECT queries
fleet-mcp test
fleet-mcp run
Fleet MCP can be integrated with various MCP-compatible clients. Below are configuration examples for popular clients.
Before configuring any MCP client, ensure you have:
pip: # Install uv (recommended)
curl -LsSf https://astral.sh/uv/install.sh | sh
pip install fleet-mcp
Option 2)
fleetctl # Generate an API-Only User and get the token
fleetctl user create --name Fleet-MCP --email --password --role admin --api-only
Note: This API token and your fleet instance URL (https://your-fleet-instance.com) will be used in the client configuration.
Install in Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": { "fleet": { "command": "uvx", "args": ["fleet-mcp", "run"], "env": { "FLEET_SERVER_URL": "https://your-fleet-instance.com", "FLEET_API_TOKEN": "your-api-token", "FLEET_READONLY": "true", "FLEET_ALLOW_SELECT_QUERIES": "true" } } } }
Note: Replace
uvxwithfleet-mcpif you've installed the package globally. For enhanced security, use--configflag to reference a TOML file instead of embedding tokens (see Security Best Practices).
Install in Cursor
Go to: Settings → Cursor Settings → MCP → Add new global MCP server
Install globally in ~/.cursor/mcp.json or per-project in .cursor/mcp.json. See Cursor MCP docs for more info.
{
"mcpServers": { "fleet": { "command": "uvx", "args": ["fleet-mcp", "run"], "env": { "FLEET_SERVER_URL": "https://your-fleet-instance.com", "FLEET_API_TOKEN": "your-api-token", "FLEET_READONLY": "true", "FLEET_ALLOW_SELECT_QUERIES": "true" } } } }
Install in Cline (VS Code Extension)
Config Location: ~/.cline/mcp_settings.json (macOS/Linux) or %USERPROFILE%\.cline\mcp_settings.json (Windows)
Alternatively: VS Code Settings → Search "Cline: MCP Settings" → Edit JSON
{
"mcpServers": { "fleet": { "command": "uvx", "args": ["fleet-mcp", "run"], "env": { "FLEET_SERVER_URL": "https://your-fleet-instance.com", "FLEET_API_TOKEN": "your-api-token", "FLEET_READONLY": "true", "FLEET_ALLOW_SELECT_QUERIES": "true" } } } }
Install in Continue (VS Code Extension)
Config Location: ~/.continue/config.json
{
"mcpServers": [ { "name": "fleet", "command": "uvx", "args": ["fleet-mcp", "run"], "env": { "FLEET_SERVER_URL": "https://your-fleet-instance.com", "FLEET_API_TOKEN": "your-api-token", "FLEET_READONLY": "true", "FLEET_ALLOW_SELECT_QUERIES": "true" } } ] }
Install in Zed Editor
Config Location: ~/.config/zed/settings.json (macOS/Linux) or %APPDATA%\Zed\settings.json (Windows)
{
"context_servers": { "fleet": { "command": { "path": "uvx", "args": ["fleet-mcp", "run"] }, "settings": { "env": { "FLEET_SERVER_URL": "https://your-fleet-instance.com", "FLEET_API_TOKEN": "your-api-token", "FLEET_READONLY": "true", "FLEET_ALLOW_SELECT_QUERIES": "true" } } } } }
Install in Windsurf
See Windsurf MCP docs for more info.
{
"mcpServers": { "fleet": { "command": "uvx", "args": ["fleet-mcp", "run"], "env": { "FLEET_SERVER_URL": "https://your-fleet-instance.com", "FLEET_API_TOKEN": "your-api-token", "FLEET_READONLY": "true", "FLEET_ALLOW_SELECT_QUERIES": "true" } } } }
Install in VS Code
See VS Code MCP docs for more info.
"mcp": {
"servers": { "fleet": { "type": "stdio", "command": "uvx", "args": ["fleet-mcp", "run"], "env": { "FLEET_SERVER_URL": "https://your-fleet-instance.com", "FLEET_API_TOKEN": "your-api-token", "FLEET_READONLY": "true", "FLEET_ALLOW_SELECT_QUERIES": "true" } } } }
Install in Sourcegraph Cody
Config Location: ~/Library/Application Support/Cody/mcp_settings.json (macOS), %APPDATA%\Cody\mcp_settings.json (Windows), or ~/.config/Cody/mcp_settings.json (Linux)
{
"mcpServers": { "fleet": { "command": "uvx", "args": ["fleet-mcp", "run"], "env": { "FLEET_SERVER_URL": "https://your-fleet-instance.com", "FLEET_API_TOKEN": "your-api-token", "FLEET_READONLY": "true", "FLEET_ALLOW_SELECT_QUERIES": "true" } } } }
Install in Augment Code
Via UI: Hamburger menu → Settings → Tools → + Add MCP → Enter uvx fleet-mcp run → Name: "Fleet" → Add
Manual Config: Settings → Advanced → Edit settings.json
"augment.advanced": {
"mcpServers": [ { "name": "fleet", "command": "uvx", "args": ["fleet-mcp", "run"], "env": { "FLEET_SERVER_URL": "https://your-fleet-instance.com", "FLEET_API_TOKEN": "your-api-token", "FLEET_READONLY": "true", "FLEET_ALLOW_SELECT_QUERIES": "true" } } ] }
Install in LM Studio
Navigate to Program → Install → Edit mcp.json. See LM Studio MCP Support.
{
"mcpServers": { "fleet": { "command": "uvx", "args": ["fleet-mcp", "run"], "env": { "FLEET_SERVER_URL": "https://your-fleet-instance.com", "FLEET_API_TOKEN": "your-api-token", "FLEET_READONLY": "true", "FLEET_ALLOW_SELECT_QUERIES": "true" } } } }
Generic MCP Client Configuration
For other MCP-compatible clients, use this general pattern:
{
"mcpServers": { "fleet": { "command": "uvx", "args": ["fleet-mcp", "run"], "env": { "FLEET_SERVER_URL": "https://your-fleet-instance.com", "FLEET_API_TOKEN": "your-api-token", "FLEET_READONLY": "true", "FLEET_ALLOW_SELECT_QUERIES": "true" } } } }
| Environment Variable | Description | Default | Required |
|---|---|---|---|
FLEET_SERVER_URL | Fleet server URL | - | ✅ |
FLEET_API_TOKEN | Fleet API token | - | ✅ |
FLEET_READONLY | Enable read-only mode | true | ❌ |
FLEET_ALLOW_SELECT_QUERIES | Allow SELECT queries in read-only mode | false | ❌ |
FLEET_VERIFY_SSL | Verify SSL certificates | true | ❌ |
FLEET_TIMEOUT | Request timeout (seconds) | 30 | ❌ |
FLEET_MAX_RETRIES | Maximum request retries | 3 | ❌ |
Note: All clients above use the same environment variables. Replace
uvxwithfleet-mcpif installed globally.
"args": ["fleet-mcp", "--config", "~/.config/fleet-mcp.toml", "run"]chmod 600 ~/.config/fleet-mcp.tomlFLEET_READONLY=true (default)只显示了开头部分;其余内容请在仓库中阅读