Skip to content

Added docker and .yaml #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Added docker and .yaml #23

wants to merge 3 commits into from

Conversation

CCwithAi
Copy link

@CCwithAi CCwithAi commented Apr 4, 2025

Project Notes: Adding New Documentation Sources

#Added Docker Desktop file so can run in a container and .yaml to handle new URLS ( I will Make a script to do this soon, so user can just enter the url)

This document outlines the steps to add new llms.txt documentation sources to the mcpdoc server when it's run via the provided Docker container.

The current configuration relies on a YAML file (mcpdoc_config.yaml) within the Docker image to define the available documentation sources.

Steps to Add a New Source

  1. Edit Configuration File:

    • Open the mcpdoc_config.yaml file located in the project root (d:/mcpdoc).
    • Add a new entry to the list following the existing format:
      - name: YourSourceName  # Optional, but recommended
        llms_txt: https://your-domain.com/path/to/llms.txt
    • Save the mcpdoc_config.yaml file.
  2. Rebuild Docker Image:

    • Open a terminal in the project root directory (d:/mcpdoc).
    • Run the following command to rebuild the Docker image, ensuring the updated configuration file is included:
      docker build -t mcpdoc-server:latest .
  3. Restart MCP Server:

    • Ensure your MCP host application (e.g., VS Code with Roo Cline, Cursor, Windsurf) restarts the langgraph-docs-mcp server. This might happen automatically, or you may need to restart the application or manually restart the server through the MCP settings interface if available. This ensures the host uses the newly built Docker image with the updated configuration.

After these steps, the new documentation source should be available and listed when using the list_doc_sources tool.

@eyurtsev
Copy link
Collaborator

eyurtsev commented Apr 5, 2025

@CCwithAi what is the end goal with dockerization?

@eyurtsev eyurtsev self-assigned this Apr 5, 2025
@CCwithAi
Copy link
Author

CCwithAi commented Apr 5, 2025

by pass the uv install element mainly.

@eyurtsev
Copy link
Collaborator

eyurtsev commented Apr 7, 2025

by pass the uv install element mainly.

docker is harder to install than uv. What's the reason for needing to skip the uv install element?


I'll be happy w/ a production ready docker version when there's an official implementation streamable http protocol of MCP.

@falense
Copy link

falense commented Jun 19, 2025

Docker would be great! Even better if there was an official Docker image. We try to avoid having dependencies and wrapping the MCP server in Docker would remove the need to install uv

@falense
Copy link

falense commented Jun 19, 2025

Ideally for our use case all configuration would be passed on command line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants