Skip to content

Commit 3f859a3

Browse files
authored
fix(mcpdoc): update readme cli example and mcp json. (#22)
See[ this issue thread](#21). Update examples in the readme to match the arg parser in `cli.py` which is configured to append multiple urls: ```python parser.add_argument( "--urls", "-u", type=str, nargs="+", help="List of llms.txt URLs or file paths with optional names (format: 'url_or_path' or 'name:url_or_path')", ) ``` The current examples in the readme file uses multiple `--url` flags so the previous url is overridden with each new url flag.
1 parent 6a0d649 commit 3f859a3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ curl -LsSf https://astral.sh/uv/install.sh | sh
4848
#### (Optional) Test the MCP server locally with your `llms.txt` file(s) of choice:
4949
```bash
5050
uvx --from mcpdoc mcpdoc \
51-
--urls LangGraph:https://langchain-ai.github.io/langgraph/llms.txt \
52-
--urls LangChain:https://python.langchain.com/llms.txt \
51+
--urls "LangGraph:https://langchain-ai.github.io/langgraph/llms.txt" "LangChain:https://python.langchain.com/llms.txt" \
5352
--transport sse \
5453
--port 8082 \
5554
--host localhost
@@ -87,9 +86,7 @@ npx @modelcontextprotocol/inspector
8786
"mcpdoc",
8887
"mcpdoc",
8988
"--urls",
90-
"LangGraph:https://langchain-ai.github.io/langgraph/llms.txt",
91-
"--urls",
92-
"LangChain:https://python.langchain.com/llms.txt",
89+
"LangGraph:https://langchain-ai.github.io/langgraph/llms.txt LangChain:https://python.langchain.com/llms.txt",
9390
"--transport",
9491
"stdio"
9592
]

0 commit comments

Comments
 (0)