mirror of
https://github.com/langchain-ai/mcpdoc.git
synced 2026-07-22 02:05:24 -04:00
Langchain and Langsmith llms.txt files. #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Ilaiwi on GitHub (Mar 21, 2025).
Great project!
I can't seem to find the llms.txt for langchain and langsmith. Can you add them to the
Readmeplease@eyurtsev commented on GitHub (Mar 21, 2025):
We don't have them yet, I'll try to create them next week, and we'll update
@eyurtsev commented on GitHub (Mar 27, 2025):
@Ilaiwi added langchain and langchainjs here: https://langchain-ai.github.io/langgraph/llms-txt-overview/
We'll add langsmith as well, but you can keep track of that URL
@Ilaiwi commented on GitHub (Mar 27, 2025):
amazing! will test them out tomorrow. Thanks for the great work langstack is amazing, we have been having a blast using it.
@Parthiban-3997 commented on GitHub (Mar 31, 2025):
@eyurtsev I have a question regarding multiple url inputs
{
"mcpServers": {
"llm-docs-mcp": {
"command": "uvx",
"args": [
"mcpdoc",
"--urls",
"LangGraph:https://langchain-ai.github.io/langgraph/llms.txt",
"--urls",
"LangChain:https://python.langchain.com/llms.txt",
"--urls",
"HuggingFace_Accelerate:https://huggingface-projects-docs-llms-txt.hf.space/accelerate/llms.txt",
"--urls",
"HuggingFace_Diffusers:https://huggingface-projects-docs-llms-txt.hf.space/diffusers/llms.txt",
"--urls",
"HuggingFace_Space:https://huggingface-projects-docs-llms-txt.hf.space/hub/llms.txt",
"--urls",
"HuggingFace_Hub:https://huggingface-projects-docs-llms-txt.hf.space/huggingface_hub/llms.txt",
"--urls",
"HuggingFace_Transformers:https://huggingface-projects-docs-llms-txt.hf.space/transformers/llms.txt",
"--transport",
"stdio",
"--allowed-domains",
"langchain-ai.github.io",
"python.langchain.com",
"huggingface-projects-docs-llms-txt.hf.space"
]
}
}
}
While i ask questions related to langgraph/ langchain it just only uses HF links and while accessing langgraph/langchian based URLs it says like URL is not allowed even though I have added this in the allowed-domains list? Whats the issue here?
and if I use below code
"llm-docs-mcp": {
"command": "uvx",
"args": [
"mcpdoc",
"--urls",
"LangGraph:https://langchain-ai.github.io/langgraph/llms.txt",
"--transport",
"stdio",
"--allowed-domains",
"langchain-ai.github.io"
]
}
Then it accepts langGraph related questions
@eyurtsev commented on GitHub (Mar 31, 2025):
Might be a typo here:
Replace with
while testing or just remove it.
Then try to add just 2 different URLs and see what the IDE does if you prompt it very explicitly. You should be seeing the function calls from the agent. Make sure it it's fetching the LLMs from the appropriate source.
@Parthiban-3997 commented on GitHub (Mar 31, 2025):
Sorry, I tried my best; there might be some glitch while inputing multiple URLs. Can you do a test and update the README file
@eyurtsev commented on GitHub (Apr 1, 2025):
which IDE are you using?
@Parthiban-3997 commented on GitHub (Apr 1, 2025):
Cursor
@rlancemartin commented on GitHub (Apr 1, 2025):
Right, IIUC it's prompting. the Code Agents are still a bit "dumb" when given many choices of llms.txt files.
I just add something like this to my cursor rules:
I can get the correct retrieval in this case.
We should think about ways of baking this into the MCP server.
For example a step to reflect on the URLs and infer question routing based on the URL names.
@Parthiban-3997 commented on GitHub (Apr 1, 2025):
Thanks it worked !!