You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,8 @@
6
6
7
7
A command-line tool written in Rust for discovering and documenting MCP Server capabilities.
8
8
9
-
`mcp-discovery` launches an MCP Server using provided commands, queries its capabilities, tools, resources etc.
10
-
It supports outputting the results in the terminal or saving them to files in Markdown, HTML, or plain text formats.
9
+
It supports outputting the results in the terminal or saving them to files in [Markdown](https://github.com/rust-mcp-stack/mcp-discovery/blob/main/docs/examples/update-md.md#server-info-and-capabilities), [HTML](https://rust-mcp-stack.github.io/mcp-discovery/examples/server-info.html), [plain text](https://rust-mcp-stack.github.io/mcp-discovery/examples/capabilities.txt), JSON, or a custom template defined by you.
11
10
12
-
🌐 Check out the **rust-mcp-filesystem**[capabilities](https://rust-mcp-stack.github.io/rust-mcp-filesystem/#/capabilities) page for sample output.
13
-
14
-
This project is open-source and leverages the [rust-mcp-schema](https://github.com/rust-mcp-stack/rust-mcp-schema) and [rust-mcp-sdk](https://github.com/rust-mcp-stack/rust-mcp-sdk) crates for seamless interaction with MCP Servers.
15
11
16
12
Check the [project documentation](https://rust-mcp-stack.github.io/mcp-discovery) for instructions and [command examples](https://rust-mcp-stack.github.io/mcp-discovery/#/guide/command-examples).
17
13
@@ -23,6 +19,11 @@ Check the [project documentation](https://rust-mcp-stack.github.io/mcp-discovery
23
19
-**Flexible Output Customization**: Choose from built-in templates (`md`, `md-plain`, `html`, `txt`) or supply custom Handlebars templates for personalized output.
24
20
-**MCP Discovery GitHub Action**: Integrate the mcp-discovery CLI as a GitHub Action to automate and maintain up-to-date MCP Server documentation in your development workflow.
25
21
22
+
23
+
<imgalign="top"src="docs/_media/rust-mcp-stack-icon.png"width="24"style="border-radius:0.2rem;"> This open-source project leverages the [rust-mcp-sdk](https://github.com/rust-mcp-stack/rust-mcp-sdk) for seamless interaction with MCP Servers.
24
+
25
+
🌐 Check out the **rust-mcp-filesystem**[capabilities](https://rust-mcp-stack.github.io/rust-mcp-filesystem/#/capabilities) page for a sample output.
26
+
26
27
## Installation ⬇️
27
28
28
29
### Running as CLI
@@ -31,7 +32,7 @@ Check the [project documentation](https://rust-mcp-stack.github.io/mcp-discovery
31
32
32
33
### GitHub Action
33
34
34
-
The easiest way to automate and maintain up-to-date MCP Server documentation , is to use mcp-discovery as a GitHub action.
35
+
The easiest way to automate and maintain up-to-date MCP Server documentation , is to use mcp-discovery as a GitHub action.
35
36
Please see [rust-mcp-stack/mcp-discovery-action](https://github.com/rust-mcp-stack/mcp-discovery-action) for installation and configuration instructions.
When using the `update` subcommand, `mcp-discovery` places capabilities between designated markers in the target file, which vary by file format and are typically comment lines.
109
-
The update command simplifies the process for developers and maintainers to keep documentation current effortlessly.
109
+
When using the `update` subcommand, `mcp-discovery` places capabilities between designated markers in the target file, which vary by file format and are typically comment lines.
110
+
The update command simplifies the process for developers and maintainers to keep documentation current effortlessly.
110
111
Run the mcp-discovery update command anytime to refresh the file with the latest MCP Server capabilities.
111
112
112
113
### Marker Annotations
@@ -188,7 +189,7 @@ Server Capabilities will be placed here...
Copy file name to clipboardExpand all lines: docs/README.md
+42-6Lines changed: 42 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,9 @@
3
3
A command-line tool written in Rust for discovering and documenting MCP Server capabilities.
4
4
5
5
`mcp-discovery` launches an MCP Server using provided commands, queries its capabilities, tools, resources etc.
6
-
It supports outputting the results in the terminal or saving them to files in Markdown, HTML, or plain text formats.
6
+
It supports outputting the results in the terminal or saving them to files in [Markdown](https://github.com/rust-mcp-stack/mcp-discovery/blob/main/docs/examples/update-md.md#server-info-and-capabilities), [HTML](https://rust-mcp-stack.github.io/mcp-discovery/examples/server-info.html), [plain text](https://rust-mcp-stack.github.io/mcp-discovery/examples/capabilities.txt), JSON, or a custom template defined by you.
7
7
8
-
🌐 Check out the **rust-mcp-filesystem**[capabilities](https://rust-mcp-stack.github.io/rust-mcp-filesystem/#/capabilities) page for sample output.
9
-
10
-
This project is open-source and leverages the [rust-mcp-schema](https://github.com/rust-mcp-stack/rust-mcp-schema) and [rust-mcp-sdk](https://github.com/rust-mcp-stack/rust-mcp-sdk) crates for seamless interaction with MCP Servers.
8
+
Check the [project documentation](https://rust-mcp-stack.github.io/mcp-discovery) for instructions and [command examples](https://rust-mcp-stack.github.io/mcp-discovery/#/guide/command-examples).
11
9
12
10
## Features 💡
13
11
@@ -17,15 +15,53 @@ This project is open-source and leverages the [rust-mcp-schema](https://github.c
17
15
-**Flexible Output Customization**: Choose from built-in templates (`md`, `md-plain`, `html`, `txt`) or supply custom Handlebars templates for personalized output.
18
16
-**MCP Discovery GitHub Action**: Integrate the mcp-discovery CLI as a GitHub Action to automate and maintain up-to-date MCP Server documentation in your development workflow.
19
17
18
+
<imgalign="top"src="_media/rust-mcp-stack-icon.png"width="24"style="border-radius:0.2rem;"> This open-source project leverages the [rust-mcp-sdk](https://github.com/rust-mcp-stack/rust-mcp-sdk) for seamless interaction with MCP Servers.
19
+
20
+
🌐 Check out the **rust-mcp-filesystem**[capabilities](https://rust-mcp-stack.github.io/rust-mcp-filesystem/#/capabilities) page for a sample output.
21
+
20
22
## Installation ⬇️
21
23
22
24
### Running as CLI
23
25
24
-
Refer to the [quickstart](quickstart.md) guide for installation and command line options.
26
+
27
+
##### **Shell script**
28
+
29
+
<!-- x-release-please-start-version -->
30
+
31
+
```sh
32
+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-mcp-stack/mcp-discovery/releases/download/v0.2.0/mcp-discovery-installer.sh | sh
> The npm package is provided for convenience. It runs the same underlying Rust binary but can be installed and used as a standard npm package.
25
61
26
62
### GitHub Action
27
63
28
-
The easiest way to automate and maintain up-to-date MCP Server documentation , is to use mcp-discovery as a GitHub action.
64
+
The easiest way to automate and maintain up-to-date MCP Server documentation , is to use mcp-discovery as a GitHub action.
29
65
Please see [rust-mcp-stack/mcp-discovery-action](https://github.com/rust-mcp-stack/mcp-discovery-action) for installation and configuration instructions.
Copy file name to clipboardExpand all lines: docs/guide/command-examples.md
+23-6Lines changed: 23 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,19 +43,27 @@ Server Name: example-servers/everything, Server Version: 1.0.0
43
43
44
44
#### ▪️ Print MCP Server capabilities to the terminal as JSON:
45
45
46
-
We use the `json` helper function as a template string. It accepts an optional boolean argument—when set to true, the output is pretty-printed:
46
+
We use the `json` helper function in a template string. It accepts an object and optional second parameter with value of 'pretty' for a formatted output:
47
47
48
+
49
+
- Print the Full MCP Server Capabilities to the Terminal in JSON Format:
To update files, you need to annotate a [render block](./guide/mcp-discovery-markers.md) within the target file where the MCP server capabilities should be inserted.
@@ -96,7 +113,7 @@ Refer to the ["Update Regions with Markers"](./guide/mcp-discovery-markers.md) p
0 commit comments