Token导航 LogoToken导航TokenDH.com
Cratesio MCP logo
文档知识stdio官方级别未说明来源级核验

Cratesio MCP

MCP Server

一个为AI代理提供Rust包查询、文档、依赖分析、下载统计和安全审计的MCP服务器

工具数

23

提示词数

0

GitHub Stars

6

资源数

0
安全审计RustClaude文档查询Claude DesktopClaude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

joshrotenberg

提供方

joshrotenberg

最后核验

2026/5/17 20:22

运行时

Docker

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

docker run -p 3000:3000 ghcr.io/joshrotenberg/cratesio-mcp:latest

详细介绍

克拉特西奥mcp

![Crates.io](https://crates.io/crates/cratesio-mcp) ![Documentation](https://docs.rs/cratesio-mcp) ![CI](https://github.com/joshrotenberg/cratesio-mcp/actions/workflows/ci.yml) ![License](https://github.com/joshrotenberg/cratesio-mcp#license) ![MSRV](https://github.com/joshrotenberg/cratesio-mcp)

让你的AI代理访问crate搜索、文档、依赖性分析、下载统计数据和安全审计——这是它对Rust依赖性做出明智决定所需的一切。

快速启动

托管(无需安装)

公共实例正在运行 https://cratesio-mcp.fly.dev/.添加到MCP客户端配置中:

{
  "mcpServers": {
    "cratesio-mcp": {
      "type": "http",
      "url": "https://cratesio-mcp.fly.dev/"
    }
  }
}

从crates.io安装

cargo install cratesio-mcp

从源代码构建

git clone https://github.com/joshrotenberg/cratesio-mcp
cd cratesio-mcp
cargo install --path .

码头工人

docker run -p 3000:3000 ghcr.io/joshrotenberg/cratesio-mcp:latest

MCP客户端配置

克劳德代码(stdio)

{
  "mcpServers": {
    "cratesio-mcp": {
      "command": "cratesio-mcp"
    }
  }
}

克劳德代码(HTTP,本地或远程)

{
  "mcpServers": {
    "cratesio-mcp": {
      "type": "http",
      "url": "http://localhost:3000/"
    }
  }
}

克劳德桌面版

增添 claude_desktop_config.json:

{
  "mcpServers": {
    "cratesio-mcp": {
      "command": "cratesio-mcp"
    }
  }
}

包含什么

工具(23)

工具说明
search_crates按名称或关键字搜索板条箱
get_crate_info详细的板条箱元数据(描述、链接、统计数据)
get_crate_versions包含发布日期和下载次数的版本历史记录
get_crate_version特定版本的详细元数据
get_crate_readme板条箱版本的README内容
get_crate_features功能标志及其子功能激活
get_crate_docs从docs.rs浏览文档结构
get_doc_item特定项目的完整文档(fn、struct、trait)
search_docs在板条箱文档中按名称搜索项目
get_dependencies特定版本的依赖关系
get_reverse_dependencies依赖于给定板条箱的板条箱
audit_dependencies根据OSV.dev漏洞数据库检查deps
get_downloads下载统计数据和趋势
get_version_downloads特定版本的每日下载统计数据
get_crate_authors作者列于Cargo.toml
get_owners板条箱所有者和维护者
get_userGitHub用户名的用户配置文件
get_user_stats用户板条箱的总下载统计数据
get_summarycrates.io全球统计
get_categories浏览crates.io分类
get_category特定类别的详细信息
get_keywords浏览crates.io关键字
get_keyword特定关键字的详细信息

资源(4)

资源描述
crates://{name}/info板条箱元数据
crates://{name}/readme板条箱README内容
crates://{name}/docs文件结构
最近的搜索最近的搜索查询和结果

提示(2)

提示描述
analyze_crate指导全面的板条箱分析
compare_crates并排比较多个板条箱

运输

  • 标准 (默认)--适用于Claude Desktop、Claude Code和其他MCP客户端
  • HTTP/SSE --带有服务器发送事件的流式HTTP(MCP 2025-11-25规范)
# stdio (default)
cratesio-mcp

# HTTP
cratesio-mcp --transport http --port 3000

HTTP传输包括 中间件栈:超时、速率限制、隔离并发控制、可选响应缓存和结构化跟踪。

图书馆使用情况

机箱还为机箱公开了一个类型化异步客户端。io API:

use std::time::Duration;
use cratesio_mcp::client::{CratesIoClient, CratesQuery, Sort};

let client = CratesIoClient::new("my-app", Duration::from_secs(1))?;

// Search for crates
let query = CratesQuery::builder()
    .search("tower")
    .sort(Sort::Downloads)
    .build();
let results = client.crates(query).await?;

// Get crate details
let info = client.get_crate("tower-mcp").await?;

客户端覆盖了板条箱、版本、所有者、类别、关键字、用户、团队、令牌、发布和可信发布的46个端点。

许可证

麻省理工学院或阿帕奇-2.0

目录标签

目录标签

安全审计RustClaude文档查询Rust包管理本地部署依赖分析AI工具集成

支持客户端

Claude DesktopClaude

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

none

运行时(runtime,运行环境)

Docker

工具数量(toolCount,工具数)

23

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdionone部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

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

来源信息

继续浏览同类 MCP