micro_mcp 0.1.0 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bbbd31a7f1b61f468ee6465b021a582c0c0925900c59a2a858d19cc8e219338c
4
- data.tar.gz: f16548b44705b8b399ad6e328c5b224b125a45059e562849c04cfa4998ecb86c
3
+ metadata.gz: 237681f7f02a95987b7492f348eb11a5d2fd5f47cd241857cef7dc483abe003a
4
+ data.tar.gz: 9ce0515ed9aa5dc20bc80634211aaa623113729745497b905a8fcd91ceafe766
5
5
  SHA512:
6
- metadata.gz: a6f5a34c9cfacb0b5434ecd5d34cd1ec74f514c52ade96e1dbedbbfdb8f84bcdeb7ee570d7f211f38782c5c5802de1817623a016140e1b3fe3c725389585421a
7
- data.tar.gz: fd4aa1731b12c1a4e95ded9a03b000b737e1ae216a902a769d80113158a58ee010caebd19535a8f4c79d9635fd536898f07369e1f6ead851eb967f4e9a379709
6
+ metadata.gz: 2c95b5f9f2405e0fbfb026b9d90b925d6ae633c8911cdc0e7441e39e5df45841b464cfa353c2db87d7f4ba1c4ad2803f0fd6c0d90fe1a839c1aaa2d432a5135a
7
+ data.tar.gz: 90043b1f1b456f4fd9dce0a916928189bb63337601b57ea3a015fad400c5afc83f622b239e78a8591b4759d40f0b84fb75403914e2abf369295ac9c8f83106f7
@@ -21,11 +21,11 @@
21
21
  "extensions": [
22
22
  "rust-lang.rust-analyzer",
23
23
  "vadimcn.vscode-lldb",
24
- "serayuzgur.crates",
25
24
  "tamasfe.even-better-toml",
26
25
  "usernamehw.errorlens",
27
26
  "rebornix.ruby",
28
- "wingrunr21.vscode-ruby"
27
+ "wingrunr21.vscode-ruby",
28
+ "Catppuccin.catppuccin-vsc"
29
29
  ],
30
30
  "settings": {
31
31
  "rust-analyzer.cargo.features": "all",
data/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ ruby 3.4
data/AGENTS.md CHANGED
@@ -4,7 +4,8 @@ MicroMcp is a Ruby gem with a Rust extension. It provides a simple way to build
4
4
 
5
5
  ## Running checks
6
6
 
7
- Always run `bundle exec rake` before committing. This command compiles the extension, runs Ruby and Rust tests, and lints the code with StandardRB and clippy.
7
+ Always run `bundle exec rake` before committing. This command compiles the extension, runs Ruby and Rust tests, and lints the code with StandardRB and clippy. Additionally, run `cargo fmt --all` to keep the Rust code formatted consistently.
8
+ When features or important fixes are introduced, update `CHANGELOG.md` accordingly.
8
9
 
9
10
  ## Development tips
10
11
 
@@ -12,3 +13,6 @@ Always run `bundle exec rake` before committing. This command compiles the exten
12
13
  - Install dependencies with `bin/setup` or `bundle install`.
13
14
  - Avoid committing build artifacts such as `target/` from Cargo.
14
15
 
16
+ ## Developing practices
17
+
18
+ Always create a test to validate new features. It is ok to adapt tests for changes to existing features, unless those changes are big and don't invalidate standing assumptions.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ### Added
4
+ - Ruby `ToolRegistry` for registering tools dynamically
5
+ - Access to the MCP runtime from Ruby tools
6
+ - Argument support for tools
7
+ - Exposed `client_supports_sampling` on runtime
8
+ - Exposed `create_message` on runtime
9
+
10
+ ### Changed
11
+ - Gem renamed from `mcp_lite` to `micro_mcp`
12
+ - Tool handling uses a dynamic registry
13
+ - Improved server error handling
14
+
3
15
  ## [0.1.0] - 2025-06-17
4
16
 
5
17
  - Initial release