mirror of
https://github.com/langchain-ai/mcpdoc.git
synced 2025-10-19 03:18:14 +03:00
Merge branch 'main' of https://github.com/langchain-ai/mcpdoc
This commit is contained in:
13
README.md
13
README.md
@@ -6,7 +6,7 @@
|
||||
|
||||
[MCP](https://github.com/modelcontextprotocol) offers a way for developers to have *full control* over tools used by these applications. Here, we create [an open source MCP server](https://github.com/modelcontextprotocol) to provide MCP host applications (e.g., Cursor, Windsurf, Claude Code/Desktop) with (1) a user-defined list of `llms.txt` files and (2) a simple `fetch_docs` tool read URLs within any of the provided `llms.txt` files. This allows the user to audit each tool call as well as the context returned.
|
||||
|
||||

|
||||

|
||||
|
||||
## Quickstart
|
||||
|
||||
@@ -46,8 +46,10 @@ npx @modelcontextprotocol/inspector
|
||||
|
||||
* Open `Cursor Settings` and `MCP` tab.
|
||||
* This will open the `~/.cursor/mcp.json` file.
|
||||
* Paste the following into the file.
|
||||
* We use the `langgraph-docs-mcp` name and link to the LangGraph `llms.txt` file below.
|
||||
|
||||

|
||||
|
||||
* Paste the following into the file (we use the `langgraph-docs-mcp` name and link to the LangGraph `llms.txt`).
|
||||
|
||||
```
|
||||
{
|
||||
@@ -98,6 +100,9 @@ what are types of memory in LangGraph?
|
||||
* Open Cascade with `CMD+L` (on Mac).
|
||||
* Click `Configure MCP` to open the config file, `~/.codeium/windsurf/mcp_config.json`.
|
||||
* Update with `langgraph-docs-mcp` as noted above.
|
||||
|
||||

|
||||
|
||||
* `CMD+L` (on Mac) to open Cascade and refresh MCP servers.
|
||||
* Available MCP servers will be listed, showing `langgraph-docs-mcp` as connected.
|
||||
|
||||
@@ -247,4 +252,4 @@ server = create_server(
|
||||
|
||||
# Run the server
|
||||
server.run(transport="stdio")
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user