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
750 changes: 388 additions & 362 deletions Cargo.lock

Large diffs are not rendered by default.

110 changes: 110 additions & 0 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,113 @@ dependencies = ["fmt", "clippy", "test"]
[tasks.clippy-fix]
command = "cargo"
args = ["clippy", "--fix", "--allow-dirty"]


[tasks.generate-examples]
dependencies = [
"example-create-md",
"example-create-md-plain",
"example-create-server-info-html",
"example-update-md",
"example-update-md-plain",
"example-update-md-plain",
"example-update-md-inline",
]


[tasks.example-create-md]
command = "cargo"
args = [
"run",
"--",
"create",
"-t",
"md",
"-f",
"docs/examples/create-md.md",
"--",
"npx",
"-y",
"@modelcontextprotocol/server-everything",
]

[tasks.example-create-md-plain]
command = "cargo"
args = [
"run",
"--",
"create",
"-t",
"md-plain",
"-f",
"docs/examples/create-md-plain.md",
"--",
"npx",
"-y",
"@modelcontextprotocol/server-everything",
]

[tasks.example-create-server-info-html]
command = "cargo"
args = [
"run",
"--",
"create",
"-t",
"html",
"-f",
"docs/examples/server-info.html",
"--",
"npx",
"-y",
"@modelcontextprotocol/server-everything",
]


[tasks.example-update-md]
command = "cargo"
args = [
"run",
"--",
"update",
"-t",
"md",
"-f",
"docs/examples/update-md.md",
"--",
"npx",
"-y",
"@modelcontextprotocol/server-everything",
]


[tasks.example-update-md-plain]
command = "cargo"
args = [
"run",
"--",
"update",
"-t",
"md-plain",
"-f",
"docs/examples/update-md-plain.md",
"--",
"npx",
"-y",
"@modelcontextprotocol/server-everything",
]


[tasks.example-update-md-inline]
command = "cargo"
args = [
"run",
"--",
"update",
"-f",
"docs/examples/update-md-inline.md",
"--",
"npx",
"-y",
"@modelcontextprotocol/server-everything",
]
4 changes: 2 additions & 2 deletions docs/examples/create-md-plain.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
- Demonstrates how annotations can be used to provide metadata about content
- **Inputs:**
- <code>includeImage</code> : boolean<br />
- <code>messageType</code> : string<br />
- <code>messageType</code> : error|success|debug<br />

- **echo**
- Echoes back the input
Expand Down Expand Up @@ -106,4 +106,4 @@
- **Static Resource**
- A static resource with a numeric ID

<sub>◾ generated by [mcp-discovery](https://github.com/rust-mcp-stack/mcp-discovery)</sub>
<sup>◾ generated by [mcp-discovery](https://github.com/rust-mcp-stack/mcp-discovery)</sup>
4 changes: 2 additions & 2 deletions docs/examples/create-md.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<td>
<ul>
<li style="white-space: nowrap;"> <code>includeImage</code> : boolean<br /></li>
<li style="white-space: nowrap;"> <code>messageType</code> : string<br /></li>
<li style="white-space: nowrap;"> <code>messageType</code> : error|success|debug<br /></li>
</ul>
</td>
</tr>
Expand Down Expand Up @@ -289,4 +289,4 @@
</tbody>
</table>

<sub>◾ generated by [mcp-discovery](https://github.com/rust-mcp-stack/mcp-discovery)</sub>
<sup>◾ generated by [mcp-discovery](https://github.com/rust-mcp-stack/mcp-discovery)</sup>
Loading