daipendency mcp

Local 2025-08-31 23:14:58 0

Get the narrative and API documentation for the exact version of any of your dependencies. (Only Rust is supported at the moment.)


Model Context Protocol (MCP) server for Daipendency.

Install

Use npx -y @daipendency/mcp to run this MCP server with stdio.

API

Tools

get_dependency_docs

Extract narrative and API documentation for a dependency of a local project.

This is equivalent to daipendency extract-dep.

Architectural Decisions

Although Daipendency itself is implemented in Rust, this project is implemented in TypeScript so that we could use one of the official, feature-rich MCP SDKs. This required implementing JS bindings for Daipendency.

[
  {
    "description": "Extract all the documentation and public API for a dependency of a local project",
    "inputSchema": {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "additionalProperties": false,
      "properties": {
        "dependant_path": {
          "description": "The absolute path to the dependant project",
          "type": "string"
        },
        "name": {
          "description": "The name of the dependency for which to extract documentation",
          "type": "string"
        }
      },
      "required": [
        "name",
        "dependant_path"
      ],
      "type": "object"
    },
    "name": "dependency_docs_getter"
  }
]