Skip to main content
Glama

Cargo Doc MCP Server

by spacemeowx2

화물 문서 MCP 서버

cargo doc 명령을 통해 Rust 문서를 관리하는 MCP 서버입니다. 이 서버는 로컬에서 Rust 문서를 확인, 빌드 및 검색할 수 있는 도구를 제공합니다.

특징

도구

  • get_crate_doc - 전반적인 개념과 사용법을 이해하기 위한 Crate의 주요 문서 페이지를 가져옵니다.
    • 매개변수:
      • project_path : Rust 프로젝트 경로(절대 경로여야 함)
      • crate_name : 문서를 가져올 크레이트의 이름
  • list_symbols - 크레이트 문서에 있는 모든 심볼(구조체, 열거형, 특성 등)을 나열합니다.
    • 매개변수:
      • project_path : Rust 프로젝트 경로(절대 경로여야 함)
      • crate_name : 심볼을 나열할 크레이트의 이름
  • search_doc - 크레이트 문서 내에서 검색
    • 매개변수:
      • project_path : Rust 프로젝트 경로(절대 경로여야 함)
      • crate_name : 검색할 상자의 이름
      • query : 검색 쿼리(키워드 또는 기호)
      • limit (선택 사항): 반환할 최대 결과 수(기본값: 10)

요구 사항

  • Node.js 16 이상
  • Rust and Cargo 설치됨

설치

종속성 설치:

지엑스피1

서버를 빌드하세요:

pnpm run build

자동 재빌드를 사용한 개발의 경우:

pnpm run watch

용법

다음 구성을 추가합니다.

{ "mcpServers": { "docs-rs-mcp": { "command": "/absolute/path/to/docs-rs-mcp/build/index.js" } } }

디버깅

MCP 서버는 stdio를 통해 통신하므로 디버깅이 어려울 수 있습니다. MCP Inspector 사용을 권장합니다.

pnpm run inspector

검사기는 브라우저에서 디버깅 도구에 액세스할 수 있는 URL을 제공합니다.

캐시 시스템

서버는 성능 향상을 위해 작성된 문서 경로의 캐시를 유지합니다. 캐시 항목은 문서가 최신 상태로 유지되도록 24시간 후에 만료됩니다.

특허

MIT

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

사용자가 cargo doc 명령을 통해 로컬에서 Rust 문서를 확인하고, 빌드하고, 검색할 수 있도록 하는 Rust 문서를 관리하는 서버입니다.

  1. 특징
    1. 도구
  2. 요구 사항
    1. 설치
      1. 용법
        1. 디버깅
          1. 캐시 시스템
            1. 특허

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                Get the narrative and API documentation for the exact version of any of your dependencies. (Only Rust is supported at the moment.)
                Last updated -
                1
                43
                47
                TypeScript
                MIT License
              • -
                security
                F
                license
                -
                quality
                Provides curated documentation access via the Gemini API, enabling users to query and interact with technical docs effectively by overcoming context and search limitations.
                Last updated -
                13
                TypeScript
              • -
                security
                F
                license
                -
                quality
                An MCP server that provides AI tools with access to Rust documentation from docs.rs, enabling search for crates, documentation, type information, feature flags, version information, and source code.
                Last updated -
                3
                TypeScript
              • -
                security
                A
                license
                -
                quality
                An MCP server that enables interaction with the Vercel API to manage deployments, DNS records, domains, projects, and environment variables through natural language commands.
                Last updated -
                65
                TypeScript
                MIT License

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/spacemeowx2/cargo-doc-mcp'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server