linear-toon-mcp 1.1.1 → 2.0.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 +4 -4
- data/README.md +1 -1
- data/lib/linear_toon_mcp/tools/base.rb +3 -3
- data/lib/linear_toon_mcp/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1713851285cfd54dfea2076258f2b51350baef15badde9364b694fd0fbf83412
|
|
4
|
+
data.tar.gz: a7065474403dcc7f735600c8e0b2b6b2790db42e2ad5f6cdeab46881d49c054b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 638a05e2f1d541c8d3564dfb6d13df6d873fc53228130b1bdbe989f7285c300864bf642ba9a8834457a1ad9539e497260ac1e623b4588917a04489c19601733c
|
|
7
|
+
data.tar.gz: d2fa914f39d27822c33b66f9b5abfcae5942a09c167848fd578aeaf911196468120f839228730ad595dbc126d73892895493363e0d50910ea617ad743f4b9816
|
data/README.md
CHANGED
|
@@ -15,7 +15,7 @@ The official Linear MCP server returns verbose JSON responses that consume signi
|
|
|
15
15
|
## Stack
|
|
16
16
|
|
|
17
17
|
- **[mcp](https://rubygems.org/gems/mcp)** — MCP server framework (stdio transport)
|
|
18
|
-
- **[toon-
|
|
18
|
+
- **[toon-fu](https://github.com/hoblin/toon-fu)** — TOON encoder, versioned by the spec it implements
|
|
19
19
|
- **Net::HTTP** — Minimal GraphQL client for Linear API (no heavy dependencies)
|
|
20
20
|
|
|
21
21
|
## Installation
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
require "
|
|
3
|
+
require "toon_fu"
|
|
4
4
|
|
|
5
5
|
module LinearToonMcp
|
|
6
6
|
module Tools
|
|
@@ -29,7 +29,7 @@ module LinearToonMcp
|
|
|
29
29
|
# Returns a successful MCP response with TOON-encoded +data+.
|
|
30
30
|
# @return [MCP::Tool::Response]
|
|
31
31
|
def success_response(data)
|
|
32
|
-
MCP::Tool::Response.new([{type: "text", text:
|
|
32
|
+
MCP::Tool::Response.new([{type: "text", text: ToonFu.encode(data)}])
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
# Returns an error MCP response carrying +message+.
|
|
@@ -67,7 +67,7 @@ module LinearToonMcp
|
|
|
67
67
|
#
|
|
68
68
|
# @return [MCP::Tool::Response]
|
|
69
69
|
def respond_with_warnings(data, warnings, context:)
|
|
70
|
-
text =
|
|
70
|
+
text = ToonFu.encode(data)
|
|
71
71
|
text += "\nWARNING (#{context}): #{warnings.join("; ")}" if warnings.any?
|
|
72
72
|
MCP::Tool::Response.new([{type: "text", text:}])
|
|
73
73
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: linear-toon-mcp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yevhenii Hurin
|
|
@@ -38,19 +38,19 @@ dependencies:
|
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
39
|
version: 3.3.1
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
|
-
name: toon-
|
|
41
|
+
name: toon-fu
|
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
|
43
43
|
requirements:
|
|
44
44
|
- - "~>"
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
|
-
version:
|
|
46
|
+
version: 4.1.0
|
|
47
47
|
type: :runtime
|
|
48
48
|
prerelease: false
|
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
50
50
|
requirements:
|
|
51
51
|
- - "~>"
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
|
-
version:
|
|
53
|
+
version: 4.1.0
|
|
54
54
|
description: A Ruby MCP server that wraps Linear's GraphQL API and returns TOON-formatted
|
|
55
55
|
responses for ~40-60% token savings in LLM workflows.
|
|
56
56
|
email:
|
|
@@ -127,7 +127,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
127
127
|
requirements:
|
|
128
128
|
- - ">="
|
|
129
129
|
- !ruby/object:Gem::Version
|
|
130
|
-
version: '3.
|
|
130
|
+
version: '3.3'
|
|
131
131
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
132
|
requirements:
|
|
133
133
|
- - ">="
|