mirror of
https://github.com/langchain-ai/mcpdoc.git
synced 2025-10-19 03:18:14 +03:00
Update README.md
This commit is contained in:
31
README.md
31
README.md
@@ -8,7 +8,7 @@ However, these applications may not always use the `llms.txt` file as expected w
|
||||
|
||||
We aim to address this by creating [a simple MCP server](https://github.com/modelcontextprotocol) that defines a few external **tools** that these applications to use: 1) to tool to load `llms.txt` and 2) a tool to fetch any website. When these tools are used, the user can specifically audit the tool calls and the context returned to better understand what is happening under the hood. It also allows the user to experiment with alternative methods, giving us *full control* over how documentation is retrieved and displayed to LLMs
|
||||
|
||||
< add photo >
|
||||

|
||||
|
||||
## Quickstart
|
||||
|
||||
@@ -99,7 +99,7 @@ Setup:
|
||||
* `Control-L` to open chat.
|
||||
* Ensure `agent` is selected.
|
||||
|
||||
< add photo >
|
||||

|
||||
|
||||
Then, try an example prompt:
|
||||
```
|
||||
@@ -114,9 +114,9 @@ use the langgraph-docs-mcp server to answer any LangGraph questions --
|
||||
what are types of memory in LangGraph?
|
||||
```
|
||||
|
||||
Then, you'll be able to approve `tool calls` and see the context returned.
|
||||
* It will ask to approve tool calls.
|
||||
|
||||
< add photo >
|
||||

|
||||
|
||||
### Windsurf
|
||||
|
||||
@@ -125,11 +125,12 @@ Setup:
|
||||
* `Control-L` to open Cascade.
|
||||
* Available MCP servers will be listed.
|
||||
|
||||
< add photo >
|
||||

|
||||
|
||||
Then, try the example prompt:
|
||||
* It will perform your tool calls.
|
||||
|
||||
< add photo >
|
||||

|
||||
|
||||
### Claude Desktop
|
||||
|
||||
@@ -137,16 +138,22 @@ Setup:
|
||||
* Open `Settings -> Developer` to update the config.
|
||||
* Restart Claude.
|
||||
|
||||
< add photo >
|
||||

|
||||
|
||||
* You will see your tools.
|
||||
|
||||

|
||||
|
||||
Then, try the example prompt:
|
||||
|
||||
< add photo >
|
||||
* It will ask to approve tool calls.
|
||||
|
||||

|
||||
|
||||
### Claude Code
|
||||
|
||||
Setup:
|
||||
* Run as a shortcut to add the server to your project:
|
||||
* Shortcut to add the MCP server to your project:
|
||||
```
|
||||
claude mcp add-json langgraph-docs '{"type":"stdio","command":"uvx" ,"args":["--from", "mcpdoc", "mcpdoc", "--urls", "langgraph:https://langchain-ai.github.io/langgraph/llms.txt"]}' -s project
|
||||
```
|
||||
@@ -156,11 +163,13 @@ $ Claude
|
||||
$ /mcp
|
||||
```
|
||||
|
||||
< add photo >
|
||||

|
||||
|
||||
Then, try the example prompt:
|
||||
|
||||
< add photo >
|
||||
* It will ask to approve tool calls.
|
||||
|
||||

|
||||
|
||||
## Command-line Interface
|
||||
|
||||
|
||||
Reference in New Issue
Block a user