McpDocs
Provide documentation about your Elixir project's functions and functions of dependencies to an LLM through an SSE MCP server.
Overview
McpDocs is a tool that provides documentation about your Elixir project's functions and the functions of its dependencies to a language model through an SSE MCP server.
To use McpDocs, install it as a dependency in your Elixir project and start the SSE server using the provided commands.
- Provides real-time documentation for Elixir projects. - Supports SSE (Server-Sent Events) for live updates. - Allows for manual recompilation of code during development.
- Generating documentation for Elixir projects automatically.
- Assisting developers in understanding project dependencies.
- Enhancing collaboration by providing up-to-date documentation.
Add to your AI client
Use these steps to connect McpDocs in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-docs-josiahdahl": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-docs-josiahdahl"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-docs-josiahdahl": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-docs-josiahdahl"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-docs-josiahdahl": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-docs-josiahdahl"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-docs-josiahdahl": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-docs-josiahdahl"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-docs-josiahdahl": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-docs-josiahdahl"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-docs-josiahdahl": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-docs-josiahdahl"
]
}
}
}FAQ
How do I install McpDocs?
You can install McpDocs by adding it to your project's dependencies in the mix.exs file.
Can I run McpDocs on a specific port?
Yes! You can specify a port when starting the server using the --port option.
Is McpDocs suitable for production use?
McpDocs is primarily designed for development and testing environments.