Token导航 LogoToken导航

MCP Server · 搜索检索

MCP Cloudcustodian Documentation

一个基于FastMCP和SQLite FTS5的高性能文档检索服务,提供语义搜索和全文访问功能,适用于云管理文档的快速查询。

stdio官方级别未说明来源级核验工具 2
搜索PythonClaudeClaude Desktop

快速开始

作者 / 组织
martoc
提供方
martoc
运行时
Docker

工具数量

2

来源目录标注

资源数量

0

来源目录标注

提示词数量

0

来源目录标注

GitHub Star

0

仓库热度

收录来源

1 个

MCP World

选型结论

MCP Cloudcustodian Documentation 属于搜索检索类 MCP Server,公开资料标注 2 个工具,通过stdio 本地进程接入,适配 Claude Desktop、Claude,有可以直接复制的安装命令;接入前先确认权限范围。

分类

搜索检索

传输方式

stdio

认证方式

无需认证

部署方式

公开资料未说明

安装与配置

安装命令

docker run -i --rm mcp-cloudcustodian-documentation

客户端配置示例

{
  "mcpServers": {
    "mcp-cloudcustodian-documentation": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "mcp-cloudcustodian-documentation"
      ]
    }
  }
}

按公开安装命令拼出来的示例,字段名和参数以仓库 README 为准;带 YOUR_API_KEY 这类占位符的位置记得换成自己的值。

上手步骤

  1. 1

    准备运行环境

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

  2. 2

    安装服务

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

  3. 3

    写入客户端配置

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

  4. 4

    验证是否可用

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

接入前确认

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

详细介绍

云托管文档MCP服务器

一种模型上下文协议(MCP)服务器,提供对Cloud Custodian文档的语义搜索和全文访问。使用FastMCP和SQLite FTS5构建,用于高性能文档检索。

特性

  • 全文搜索 使用SQLite FTS5进行BM25排名
  • 分段过滤 云提供商(AWS、Azure、GCP、Kubernetes、OCI)
  • 预构建的Docker镜像 带有索引文档
  • 快速查询 有词干支持(例如,“策略”匹配“策略”)
  • 完整的文档访问权限 包括示例和API参考文献

快速开始

使用Docker(推荐)

Docker镜像包括预索引的Cloud Custodian文档:

docker pull mcp-cloudcustodian-documentation
docker run -i --rm mcp-cloudcustodian-documentation

使用紫外线

# Clone repository
git clone https://github.com/martoc/mcp-cloudcustodian-documentation
cd mcp-cloudcustodian-documentation

# Initialise environment
make init

# Build documentation index
make index

# Run server
make run

MCP客户端配置

添加到您的MCP客户端设置中(例如,Claude Desktop):

Docker配置

{
  "mcpServers": {
    "cloud-custodian-documentation": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "mcp-cloudcustodian-documentation"]
    }
  }
}

本地安装配置

{
  "mcpServers": {
    "cloud-custodian-documentation": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/mcp-cloudcustodian-documentation",
        "run",
        "mcp-cloudcustodian-documentation"
      ]
    }
  }
}

可用工具

搜索文档

按关键字查询搜索云托管文档。

参数:

  • query (字符串,必填):支持词干的搜索词
  • section (字符串,可选):按部分筛选

- 常见部分: aws, azure, gcp, kubernetes, oci, quickstart, developer, tools

  • limit (整数,可选):最大结果(默认值:10,最大值:50)

例子:

{
  "query": "s3 bucket encryption policy",
  "section": "aws",
  "limit": 5
}

read_文档

阅读特定文档页面的完整内容。

参数:

  • path (string,必填):搜索结果的相对路径(例如。, aws/examples/s3.rst)

例子:

{
  "path": "aws/examples/s3.rst"
}

CLI命令

索引文档

# Build index from GitHub (default: main branch)
uv run cloud-custodian-docs-index index

# Rebuild index (clear and reindex)
uv run cloud-custodian-docs-index index --rebuild

# Index specific branch
uv run cloud-custodian-docs-index index --branch main

显示统计信息

uv run cloud-custodian-docs-index stats

发展

需求

  • Python 3.12+
  • 紫外线0.5.0+
  • Git

设置

# Initialise environment
make init

# Run tests
make test

# Run full build (lint, typecheck, test)
make build

# Format code
make format

项目结构

mcp-cloudcustodian-documentation/
├── src/mcp_cloudcustodian_documentation/
│   ├── server.py       # FastMCP server with tools
│   ├── database.py     # SQLite FTS5 database
│   ├── parser.py       # RST document parser
│   ├── indexer.py      # Git repository indexer
│   ├── cli.py          # CLI commands
│   └── models.py       # Data structures
├── tests/              # pytest test suite
├── data/               # SQLite database (gitignored)
├── pyproject.toml      # Dependencies and configuration
├── Makefile            # Build automation
└── Dockerfile          # Container with pre-built index

建筑

RST文档解析

Cloud Custodian文档使用reStructuredText(RST)格式。解析器:

  1. 用途 docutils 将RST解析为文档树
  2. 使用访问者模式提取元数据(标题、描述)
  3. 提取可搜索的文本内容(不包括代码块)
  4. 从文件路径生成cloudcustodian.io URL

搜索实施

  • SQLite FTS5 使用波特词干进行全文搜索
  • BM25排名 调整权重(标题:5.0,描述:2.0,内容:1.0)
  • 章节索引 用于云提供商的快速过滤
  • 代码段生成 带有突出显示的匹配项

数据流

GitHub Repo → Git Sparse Checkout → RST Parser → SQLite FTS5 → FastMCP Server

测试

# Run all tests with coverage
make test

# Run specific test file
uv run pytest tests/test_parser.py

# Run with verbose output
uv run pytest -vv

码头工人

塑造形象

make docker-build

构建过程:

  1. 使用uv安装依赖项
  2. 克隆云托管库(仅限文档)
  3. 将所有RST文件编入SQLite数据库
  4. 使用预构建索引创建图像(约195个文档)

运行容器

make docker-run

故障排除

找不到数据库

运行索引器以构建数据库:

make index

Git克隆失败

确保git已安装并且您具有网络访问权限:

git --version

搜索未返回任何结果

重建索引:

uv run cloud-custodian-docs-index index --rebuild

文档

许可证

MIT许可证-见 许可证 文件以获取详细信息。

贡献

欢迎捐款。请确保:

  • 所有测试均通过(make test)
  • 代码已格式化(make format)
  • 类型检查通过(make typecheck)
  • 测试覆盖率保持在80%以上

相关项目

工具与能力

工具数量

2

资源数量

0

提示词数量

0

能力标签

语义搜索Python本地部署全文检索云管理文档SQLiteFTS5FastMCP

支持客户端

Claude DesktopClaude

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

典型使用场景

查资料带出处

把网页、论文和文档的检索结果连同链接一起带回对话。

站内知识检索

在自己的文档库里做语义搜索,比关键词更贴题。

事实核对

交叉多个来源确认一条信息,减少模型凭记忆作答。

选择建议

值得选的地方

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

先想清楚的地方

  • stdio 方式要求本地装好 Docker,换机器要重新装一遍。
  • 第三方目录整理,版本更新和行为细节以官方仓库为准。

更适合

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

不太适合

  • 完全不想在本地装环境的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

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

MCP World · 本页

2stdio有1 个2026-05-17
Baidu Netdisk

MCP World

未标注未说明未标注1 个2026-05-17
Sequentialthinking

MCP.so

1SSE有2 个2026-05-17
Brave Search 433812ff

MCP World

2未说明未标注1 个2026-05-17
mindsdb (430e18)

MCP World

0未说明有1 个2026-05-17

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

常见问题

5 条

MCP Cloudcustodian Documentation 怎么安装?

公开资料给出的安装命令是 docker run -i --rm mcp-cloudcustodian-documentation,运行环境为 Docker。装完后按客户端要求写进 MCP 配置,重启客户端生效。

MCP Cloudcustodian Documentation 怎么在 Claude Desktop、Cursor 里配置?

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

MCP Cloudcustodian Documentation 收费吗?

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

MCP Cloudcustodian Documentation 需要 API Key 吗?

公开资料标注为无需认证,装好就能连;如果实际调用时报鉴权错误,按官方文档补上凭据。

MCP Cloudcustodian Documentation 支持哪些客户端?

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

来源信息

继续浏览同类 MCP