MCP ExplorerExplorer

Mcp Docs

@josiahdahlon 9 months ago
3 MIT
FreeCommunity
AI Systems
Provide documentation about your Elixir project's functions and functions of dependencies to an LLM through an SSE MCP server.

Overview

What is Mcp Docs

mcp_docs is a tool that provides documentation about your Elixir project’s functions and the functions of its dependencies to a Language Model (LLM) through an SSE MCP server.

Use cases

Use cases for mcp_docs include providing real-time documentation for Elixir functions during development, assisting in code inspections, and enhancing the capabilities of language models when interacting with Elixir codebases.

How to use

To use mcp_docs, include it in your project’s dependencies and start the SSE server using the command ‘mix mcp_docs.start’. You can specify a port if needed.

Key features

Key features include the ability to serve documentation for Elixir projects and their dependencies, support for manual recompilation, and future enhancements like automatic recompilation and module documentation lookup.

Where to use

mcp_docs can be used in software development environments, particularly for Elixir projects where documentation needs to be accessible to language models for better understanding and interaction.

Content

McpDocs

Provide documentation about your Elixir project’s functions and functions of dependencies to an LLM through an SSE MCP server.

See the example project for more information.

This code was written in part by Claude Sonnet 3.5

Installation

def deps do
  [
    {:mcp_docs, github: "josiahdahl/mcp_docs", runtime: false, only: [:test, :dev]}
  ]
end

Usage

# Start the SSE server on the default port of 9702
mix mcp_docs.start
# Start on a specific port
mix mcp_docs.start --port 1234

You can also run with iex -S mix mcp_docs.start to allow for manual recompiling of code.

You can use npx @modelcontextprotocol/inspector to try it out on your code base.

Roadmap

  • [ ] Automatically recompile on changes
  • [ ] Look up module documentation
  • [ ] Look up callback documentation

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers