micro_mcp 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: bbbd31a7f1b61f468ee6465b021a582c0c0925900c59a2a858d19cc8e219338c
4
+ data.tar.gz: f16548b44705b8b399ad6e328c5b224b125a45059e562849c04cfa4998ecb86c
5
+ SHA512:
6
+ metadata.gz: a6f5a34c9cfacb0b5434ecd5d34cd1ec74f514c52ade96e1dbedbbfdb8f84bcdeb7ee570d7f211f38782c5c5802de1817623a016140e1b3fe3c725389585421a
7
+ data.tar.gz: fd4aa1731b12c1a4e95ded9a03b000b737e1ae216a902a769d80113158a58ee010caebd19535a8f4c79d9635fd536898f07369e1f6ead851eb967f4e9a379709
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "MCP Lite Development",
3
+ "image": "mcr.microsoft.com/devcontainers/rust:1-bullseye",
4
+ "features": {
5
+ "ghcr.io/devcontainers/features/common-utils:2": {
6
+ "installZsh": true,
7
+ "configureZshAsDefaultShell": true,
8
+ "installOhMyZsh": true,
9
+ "installOhMyZshConfig": true,
10
+ "upgradePackages": true
11
+ },
12
+ "ghcr.io/devcontainers/features/git:1": {},
13
+ "ghcr.io/devcontainers/features/github-cli:1": {},
14
+ "ghcr.io/devcontainers/features/ruby:1": {
15
+ "version": "3.4"
16
+ }
17
+ },
18
+ "postCreateCommand": "sudo apt-get update && sudo apt-get install -y libclang-dev pkg-config && rustup component add rustfmt clippy && cargo build",
19
+ "customizations": {
20
+ "vscode": {
21
+ "extensions": [
22
+ "rust-lang.rust-analyzer",
23
+ "vadimcn.vscode-lldb",
24
+ "serayuzgur.crates",
25
+ "tamasfe.even-better-toml",
26
+ "usernamehw.errorlens",
27
+ "rebornix.ruby",
28
+ "wingrunr21.vscode-ruby"
29
+ ],
30
+ "settings": {
31
+ "rust-analyzer.cargo.features": "all",
32
+ "rust-analyzer.checkOnSave": true,
33
+ "rust-analyzer.check.command": "clippy",
34
+ "editor.formatOnSave": true,
35
+ "editor.rulers": [
36
+ 100
37
+ ],
38
+ "files.watcherExclude": {
39
+ "**/target/**": true
40
+ }
41
+ }
42
+ }
43
+ },
44
+ "remoteUser": "vscode",
45
+ "mounts": [
46
+ "source=${localWorkspaceFolder}/target,target=/workspace/target,type=bind,consistency=delegated"
47
+ ],
48
+ "runArgs": [
49
+ "--cap-add=SYS_PTRACE",
50
+ "--security-opt",
51
+ "seccomp=unconfined"
52
+ ],
53
+ "forwardPorts": [],
54
+ "postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}"
55
+ }
data/.standard.yml ADDED
@@ -0,0 +1,3 @@
1
+ # For available configuration options, see:
2
+ # https://github.com/standardrb/standard
3
+ ruby_version: 3.1
data/.vscode/mcp.json ADDED
@@ -0,0 +1,9 @@
1
+ {
2
+ "servers": {
3
+ "mcp-lite": {
4
+ "type": "stdio",
5
+ "command": "bin/mcp",
6
+ "args": []
7
+ }
8
+ }
9
+ }
data/AGENTS.md ADDED
@@ -0,0 +1,14 @@
1
+ # MicroMcp Agent Instructions
2
+
3
+ MicroMcp is a Ruby gem with a Rust extension. It provides a simple way to build MCP servers that run over stdio. All Ruby sources are under `lib/`, while the Rust extension lives in `ext/micro_mcp`.
4
+
5
+ ## Running checks
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.
8
+
9
+ ## Development tips
10
+
11
+ - Use Ruby 3.1 or newer.
12
+ - Install dependencies with `bin/setup` or `bundle install`.
13
+ - Avoid committing build artifacts such as `target/` from Cargo.
14
+
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2025-06-17
4
+
5
+ - Initial release