foobara-mcp-connector-generator 0.0.5 → 0.0.6
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 +4 -4
- data/CHANGELOG.md +1 -10
- data/src/generators/edit_mcp_json_generator.rb +1 -1
- data/src/mcp_connector_config.rb +12 -0
- data/src/write_mcp_connector_to_disk.rb +1 -9
- data/templates/.mcp.json.erb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d05889eef4ad70418a84df1bc66053e5de76381dc9e47d6d878032268c75c1e
|
4
|
+
data.tar.gz: 435239dde70d883248d5fa41c9a773b4189dd48420e2f4ffeddbee74a8b999da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6889dd6ca11138dcb8c4f38d556ffe2ba6c59690faec544df03dc51c3eca11faf68f1224ac4b9991e7f5b59ecae1041c7de99862acfe776a28a0f8f2a3440575
|
7
|
+
data.tar.gz: d6fd2e58d0c5d5d0661fa54b5d51cb1b58c40005b2b1b59f664a7bd2bf26286780a869c24db6608d017a0ffe08d932501eeeefaef90402e37875c7f73289b138
|
data/CHANGELOG.md
CHANGED
@@ -1,19 +1,10 @@
|
|
1
|
-
## [0.0.
|
1
|
+
## [0.0.6] - 2025-04-14
|
2
2
|
|
3
3
|
- Don't bother running bundle or rubocop if they are not configured
|
4
4
|
- Make sure server can be run even if it's not in PATH
|
5
5
|
- Add an example command to the generated mcp-server file for demo purposes
|
6
|
-
|
7
|
-
## [0.0.4] - 2025-04-14
|
8
|
-
|
9
6
|
- Fix bug generating .mcp.json with wrong file extension
|
10
|
-
|
11
|
-
## [0.0.3] - 2025-04-14
|
12
|
-
|
13
7
|
- Do not require a Gemfile to be present to generate the other files
|
14
|
-
|
15
|
-
## [0.0.2] - 2025-04-14
|
16
|
-
|
17
8
|
- Include templates in gem
|
18
9
|
|
19
10
|
## [0.0.1] - 2025-04-11
|
data/src/mcp_connector_config.rb
CHANGED
@@ -14,6 +14,18 @@ module Foobara
|
|
14
14
|
def program_name
|
15
15
|
@program_name ||= File.basename(program_path)
|
16
16
|
end
|
17
|
+
|
18
|
+
def executable_program_path
|
19
|
+
return @executable_program_path if @executable_program_path
|
20
|
+
|
21
|
+
@executable_program_path = program_path
|
22
|
+
|
23
|
+
if program_path =~ /^\w/
|
24
|
+
@executable_program_path = "./#{@executable_program_path}"
|
25
|
+
end
|
26
|
+
|
27
|
+
@executable_program_path
|
28
|
+
end
|
17
29
|
end
|
18
30
|
end
|
19
31
|
end
|
@@ -66,15 +66,7 @@ module Foobara
|
|
66
66
|
end
|
67
67
|
|
68
68
|
def program_path
|
69
|
-
|
70
|
-
|
71
|
-
@program_path = mcp_connector_config.program_path
|
72
|
-
|
73
|
-
if program_path =~ /^\w/
|
74
|
-
@program_path = "./#{@program_path}"
|
75
|
-
end
|
76
|
-
|
77
|
-
@program_path
|
69
|
+
mcp_connector_config.program_path
|
78
70
|
end
|
79
71
|
|
80
72
|
def bundle_install
|
data/templates/.mcp.json.erb
CHANGED