Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish to Crates.io

on:
release:
types: [published]

jobs:
publish:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Cache Rust
uses: actions/cache@v4
with:
path: |
~/.rustup/toolchains
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-rust-${{ steps.toolchain.outputs.cachekey }}
restore-keys: ${{ runner.os }}-rust-

- name: Install Rust Toolchain
uses: dtolnay/rust-toolchain@stable

- name: Publish to Crates.io
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo publish --token $CARGO_REGISTRY_TOKEN
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
repository = "https://github.com/rust-mcp-stack/mcp-discovery"
authors = ["Ali Hashemi"]
description = "A command-line tool written in Rust for discovering and documenting MCP Server capabilities."
homepage = "https://github.com/rust-mcp-stack/mcp-discovery"
homepage = "https://rust-mcp-stack.github.io/mcp-discovery"

[package.metadata.wix]
upgrade-guid = "F8C005B2-0006-40E0-93CF-01A2DA37CAB7"
Expand Down
1 change: 1 addition & 0 deletions docs/_coverpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
- ⚙️ CI/CD-friendly

[GitHub](https://github.com/rust-mcp-stack/mcp-discovery)
[Install](https://rust-mcp-stack.github.io/mcp-discovery#/quickstart)
[Get Started](#mcp-discovery)

<!-- background color -->
Expand Down
6 changes: 6 additions & 0 deletions docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ powershell -ExecutionPolicy Bypass -c "irm https://github.com/rust-mcp-stack/mcp
brew install rust-mcp-stack/tap/mcp-discovery
```

#### **Cargo**

```sh
cargo install mcp-discovery --locked
```

#### **Download Binaries**

<table>
Expand Down
Loading