cf-mcp 0.15.3 → 0.15.5

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: 28a4f34409fb4ba5cfdd9ffdbcd8a361a54e018bab3812e6cb8a785e1598084a
4
- data.tar.gz: 62e79656a915e2e1de0b3d12a0010920c9016f99d96f370d9312c7b4660d2c78
3
+ metadata.gz: 24dc9506e66606bf2146f17aad18cae3a5c1e0a021b5a9d1a1cfd7d3fa08e730
4
+ data.tar.gz: 89faa9c9e1fbae4fad23b4b2bf0d9a42b671d214865261c13824d71c2b5aae04
5
5
  SHA512:
6
- metadata.gz: 59ca95645525df79d7c585d86528316b97ab200ac0fee375c6cced8bb960b266aca2540e729dce43fb18186106245e39c61816198d51c6d841fbc9fc20ae1a25
7
- data.tar.gz: 4a6c9b56905322f5e36a60f2f1c42b23abad76be5150652f78a8d77d5e7d1e3267234e487f617729b846df874c4943260d64a33c7ffb39882daff7eb9bb235d7
6
+ metadata.gz: 8ee6f579771136d11d7f748fb1b0d4cc851765bb7c8fc771cf8b3e4e951a86e6b0b33ff719c14cbf152fa72b1851094fa484d23353c0e67ca5ec00d3e0ae999b
7
+ data.tar.gz: 755ce736815559983d1a5ca8b593119b184661a30668dca28551e88a9e544af67553d2519b76359e6bde9b33aac2fa5e7aedbed5498b0d8a7da6af34b0e5d1bc
data/CHANGELOG.md CHANGED
@@ -5,12 +5,30 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.15.5] - 2026-01-26
9
+
10
+ ### Changed
11
+
12
+ - Complete favicon overhaul using realfavicongenerator for proper cross-browser support
13
+ - Added SVG favicon, apple-touch-icon, and web app manifest
14
+ - MCP server icons now use favicon.svg and favicon-96x96.png
15
+
16
+ ## [0.15.4] - 2026-01-26
17
+
18
+ ### Fixed
19
+
20
+ - Include all favicon files in gem manifest
21
+
8
22
  ## [0.15.3] - 2026-01-26
9
23
 
10
24
  ### Fixed
11
25
 
12
26
  - Landing page now serves HTML by default for GET requests without an explicit `Accept: application/json` header, fixing W3C validator compatibility
13
27
 
28
+ ### Changed
29
+
30
+ - Improved favicon support with proper sizes (16x16, 32x32, 96x96) and SVG fallback
31
+
14
32
  ## [0.15.2] - 2026-01-26
15
33
 
16
34
  ### Added
@@ -218,6 +236,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
218
236
  - `cf_list_category` - List items by category
219
237
  - `cf_get_details` - Get full documentation by name
220
238
 
239
+ [0.15.5]: https://github.com/pusewicz/cf-mcp/compare/v0.15.4...v0.15.5
240
+ [0.15.4]: https://github.com/pusewicz/cf-mcp/compare/v0.15.3...v0.15.4
221
241
  [0.15.3]: https://github.com/pusewicz/cf-mcp/compare/v0.15.2...v0.15.3
222
242
  [0.15.2]: https://github.com/pusewicz/cf-mcp/compare/v0.15.1...v0.15.2
223
243
  [0.15.1]: https://github.com/pusewicz/cf-mcp/compare/v0.15.0...v0.15.1
data/Manifest.txt CHANGED
@@ -16,9 +16,13 @@ lib/cf/mcp/models/function_doc.rb
16
16
  lib/cf/mcp/models/struct_doc.rb
17
17
  lib/cf/mcp/models/topic_doc.rb
18
18
  lib/cf/mcp/parser.rb
19
- lib/cf/mcp/public/favicon.png
20
- lib/cf/mcp/public/logo.png
21
- lib/cf/mcp/public/logo.svg
19
+ lib/cf/mcp/public/apple-touch-icon.png
20
+ lib/cf/mcp/public/favicon-96x96.png
21
+ lib/cf/mcp/public/favicon.ico
22
+ lib/cf/mcp/public/favicon.svg
23
+ lib/cf/mcp/public/site.webmanifest
24
+ lib/cf/mcp/public/web-app-manifest-192x192.png
25
+ lib/cf/mcp/public/web-app-manifest-512x512.png
22
26
  lib/cf/mcp/server.rb
23
27
  lib/cf/mcp/templates/index.erb
24
28
  lib/cf/mcp/templates/script.js
Binary file
Binary file
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="1051" height="875"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="1051" height="875"><svg clip-rule="evenodd" fill-rule="evenodd" height="875" image-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" width="1051" xmlns="http://www.w3.org/2000/svg"><path d="m561.5 8.5c13.346-.46669 22.179 5.5333 26.5 18 1.465 16.9682 2.798 33.9682 4 51 5.585 29.511 10.085 59.178 13.5 89-1.198 21.761-7.531 41.927-19 60.5 24.485 8.408 48.152 18.742 71 31 20.782 13.772 40.115 29.439 58 47 .832.688 1.498.521 2-.5 5.215-11.386 12.548-21.219 22-29.5 33.362-24.954 71.028-37.454 113-37.5 27.973.455 55.64 3.622 83 9.5 19.869 3.486 39.369 3.319 58.5-.5 12.21 1.879 18.37 9.046 18.5 21.5-1.48 12.428-4.98 24.261-10.5 35.5-15.129 33.608-32.796 65.608-53 96-17.5 25.5-39 47-64.5 64.5-22.882 15.019-47.882 20.852-75 17.5 1.551 37.021 6.051 73.688 13.5 110 2.863 11.922 6.53 23.589 11 35 10.634 19.569 18.301 40.236 23 62 1.613 13.891 1.446 27.725-.5 41.5-.163 12.818-6.83 18.818-20 18-10.462-5.398-20.795-11.065-31-17-13.672-7.338-27.672-13.838-42-19.5 3.081 16.907 5.581 33.907 7.5 51 2.646 23.746-2.687 45.413-16 65-11.713 11.143-24.546 12.643-38.5 4.5-13.037-12.039-26.371-23.706-40-35-23.306-16.666-48.972-28.333-77-35-37-6.333-74-12.667-111-19-43.541-9.276-84.875-24.443-124-45.5-17.052 66.862-60.219 100.862-129.5 102-28.91-.804-55.077-9.47-78.5-26-6.823 3.872-14.156 5.539-22 5-31.988-1.733-56.8211-15.733-74.5-42-12.1934-21.036-13.5267-42.703-4-65 6.4995-11.499 15.8328-19.832 28-25-.8787-11.589 1.1213-22.589 6-33 7.376-9.109 16.876-14.776 28.5-17-10.89-14.746-20.3903-30.413-28.5-47-10.9334-29.755-4.1-54.255 20.5-73.5-10.9942-.914-20.1608-5.414-27.5-13.5-3.8364-8.038-4.503-16.371-2-25 10.952-23.618 28.452-40.452 52.5-50.5 11.147-4.271 22.481-7.938 34-11-19.237-13.449-40.237-23.449-63-30-8.2562-6.765-10.0896-14.932-5.5-24.5 13.933-13.598 29.767-24.432 47.5-32.5 9.402-3.434 19.068-5.767 29-7 19.658-1.098 39.325-2.098 59-3 10.554-1.185 20.554-4.185 30-9 24.752-14.209 50.419-26.543 77-37 6.667-2 13.333-4 20-6 .699-8.952.366-17.952-1-27 .102-20.242 5.268-39.075 15.5-56.5 20.784-36.451 49.284-65.2839 85.5-86.5 25.954-16.1456 52.954-30.4789 81-43 6.328-2.3271 12.662-4.16043 19-5.5z" fill="#540206" opacity=".98"></path><path d="m576.5 149.5c.292 9.415-.375 18.748-2 28-1.435 8.48-3.601 16.813-6.5 25-5.82 12.81-10.82 25.81-15 39 18.817 7.162 37.65 14.329 56.5 21.5 35.231 15.238 66.065 36.738 92.5 64.5 7.284 10.22 15.284 19.886 24 29 5.221-14.328 11.221-28.328 18-42 13.108-19.757 30.941-33.591 53.5-41.5 31.867-10.732 64.534-14.066 98-10 14.985 2.131 29.985 4.131 45 6 16.723.388 33.39.555 50 .5-3.343 9.688-7.51 19.021-12.5 28-17.836 33.692-38.169 65.692-61 96-9.803 10.804-19.97 21.304-30.5 31.5-15.525 13.762-33.525 22.762-54 27-9.333.667-18.667.667-28 0-1.408-5.131-2.741-10.297-4-15.5 13.968-.489 26.968-4.322 39-11.5 47.672-33.135 78.672-77.968 93-134.5.203-1.89-.463-3.39-2-4.5-29.168-2.866-58.168-1.866-87 3-1.959.931-3.959 1.764-6 2.5-.333.667-.667 1.333-1 2 2.47 7.844 3.303 15.844 2.5 24-3.371 5.277-8.204 8.443-14.5 9.5-11.367.178-22.701.344-34 .5 7.491 8.977 13.991 18.643 19.5 29 2.824 6.218 3.157 12.551 1 19-6.225 6.365-13.725 10.531-22.5 12.5-9.883.787-19.55 2.62-29 5.5.746 1.236 1.079 2.57 1 4 4.317 28.837 6.984 57.837 8 87-1.141 18.667-2.308 37.334-3.5 56-3.018 35.301.816 69.801 11.5 103.5-.333.5-.667 1-1 1.5-25.172-14.374-52.172-22.041-81-23 7.852 35.905 11.352 72.239 10.5 109-9.465-6.985-19.632-12.818-30.5-17.5-25.854-10.464-52.521-18.131-80-23-41.934-5.877-83.267-14.544-124-26-42.952-14.308-82.619-34.641-119-61-14.895-11.74-29.895-23.24-45-34.5.492-18.122-.674-36.122-3.5-54-8.37-43.733-34.204-60.9-77.5-51.5-7.047 3.183-13.38 7.35-19 12.5-19.576-16.952-42.242-27.785-68-32.5-7.659-.5-15.326-.666-23-.5-1.478.262-2.811-.071-4-1 5.711-10.879 13.711-19.713 24-26.5 19.989-10.942 40.989-19.442 63-25.5 2.252-.416 3.752-1.749 4.5-4 .805-3.196.638-6.196-.5-9-18.794-21.295-41.127-37.795-67-49.5 12.623-10.975 27.289-17.642 44-20 15.998-1.333 31.998-2.667 48-4 21.811-1.027 42.477-6.36 62-16 18.109-10.388 36.776-19.721 56-28 22.136-8.95 45.136-14.283 69-16 22.028-1.716 44.028-3.716 66-6-7.07-7.349-14.236-14.516-21.5-21.5-6.406-9.346-7.073-19.013-2-29 4.901-5.117 10.901-7.784 18-8 10.269 1.986 20.436 4.153 30.5 6.5-1.987-9.034-2.82-18.201-2.5-27.5 2.32-11.09 9.153-15.59 20.5-13.5 8.246 3.243 15.746 7.743 22.5 13.5 3.701-29.729-.132-58.396-11.5-86-1.189-.9287-2.522-1.262-4-1-34.928 16.4239-64.428 39.757-88.5 70-13.486 19.636-21.319 41.302-23.5 65 .665 4.981.998 9.981 1 15-8.667.333-17.333.667-26 1 .081-53.658 20.748-97.491 62-131.5 30.047-23.9991 62.714-43.9991 98-60 4.547-1.7111 9.214-2.3778 14-2 .626.7504 1.126 1.5838 1.5 2.5.333 16.3333.667 32.6667 1 49 3.368 22.888 5.535 45.888 6.5 69z" fill="#fefefe"></path><path d="m530.5 71.5c-.518 1.0774-.852 2.2441-1 3.5 4.461 18.9129 6.128 38.08 5 57.5-32.001-9.096-47.167 2.904-45.5 36-20.871-9.24-37.538-4.24-50 15-4.947 12.519-4.447 24.852 1.5 37-6.968.997-13.968 1.33-21 1-.002-5.019-.335-10.019-1-15 2.181-23.698 10.014-45.364 23.5-65 24.072-30.243 53.572-53.5761 88.5-70z" fill="#95ddc5"></path><path d="m576.5 149.5c1.155 6.821 1.321 13.821.5 21-.156 2.691-.989 5.024-2.5 7 1.625-9.252 2.292-18.585 2-28z" fill="#733030"></path><path d="m932.5 290.5c-14.328 56.532-45.328 101.365-93 134.5-12.032 7.178-25.032 11.011-39 11.5-2.26-7.778-4.926-15.444-8-23 24.358-8.362 38.025-25.362 41-51 .183-5.943-1.484-11.276-5-16 23.151-5.609 32.818-20.276 29-44 9.225-2.479 18.558-4.646 28-6.5 15.752-1.592 31.419-3.425 47-5.5z" fill="#95ddc5"></path><path d="m441.5 388.5c1.62 11.924 2.287 23.924 2 36v4c-1.723 1.753-3.223 3.753-4.5 6-1.812 1.477-3.645 2.81-5.5 4-1.333.667-2.667 1.333-4 2-5.154.206-10.154-.461-15-2-1.667-2.333-3.667-4.333-6-6-.492-2.319-1.492-4.319-3-6 0-.333 0-.667 0-1-.135-5.453.532-10.786 2-16 5.496-15.409 5.329-30.742-.5-46-4.063-7.623-10.23-12.79-18.5-15.5-11.792-4.225-23.959-6.392-36.5-6.5-9.112 1.52-18.279 2.02-27.5 1.5-2.667-2.333-2.667-4.667 0-7 17.675-7.224 36.009-10.224 55-9 35.083 5.916 55.75 26.416 62 61.5z" fill="#550409"></path><path d="m202.5 377.5c1.138 2.804 1.305 5.804.5 9-.748 2.251-2.248 3.584-4.5 4 3.502-3.573 4.836-7.906 4-13z" fill="#b99698"></path><path d="m760.5 397.5c9.984 23.46 17.484 47.794 22.5 73 1.952 27 3.952 54 6 81 1.883 19.18 4.883 38.18 9 57 2.012 9.037 5.012 17.704 9 26 6.333 13.333 12.667 26.667 19 40 1.998 5.159 3.165 10.492 3.5 16 .613 5.771-.054 11.104-2 16-24.099-12.699-49.432-22.033-76-28-1.122-.656-2.455-.989-4-1-2.383-.139-4.383.528-6 2-1.333 1.433-2.833 2.767-4.5 4-1.925 3.007-2.759 6.34-2.5 10 4.063 25.86 6.23 51.86 6.5 78-.824 10.304-3.658 19.971-8.5 29-34.311-34.833-75.311-58.333-123-70.5-45.311-7.579-90.311-16.579-135-27-40.893-11.281-79.227-28.281-115-51-5.493-13.825-14.827-24.159-28-31-8.383-3.902-16.883-7.402-25.5-10.5.312-13.646.478-27.313.5-41 15.105 11.26 30.105 22.76 45 34.5 36.381 26.359 76.048 46.692 119 61 40.733 11.456 82.066 20.123 124 26 27.479 4.869 54.146 12.536 80 23 10.868 4.682 21.035 10.515 30.5 17.5.852-36.761-2.648-73.095-10.5-109 28.828.959 55.828 8.626 81 23 .333-.5.667-1 1-1.5-10.684-33.699-14.518-68.199-11.5-103.5 1.192-18.666 2.359-37.333 3.5-56-1.016-29.163-3.683-58.163-8-87z" fill="#95dcc4"></path><path d="m441.5 388.5c1.248 3.442 2.081 7.108 2.5 11 .823 8.51.657 16.844-.5 25 .287-12.076-.38-24.076-2-36z" fill="#743132"></path><path d="m407.5 409.5c-1.468 5.214-2.135 10.547-2 16-1.672-5.604-1.005-10.937 2-16z" fill="#a17274"></path><path d="m405.5 426.5c1.508 1.681 2.508 3.681 3 6-2.469-1.107-3.469-3.107-3-6z" fill="#be9d9e"></path><path d="m443.5 428.5c-1.129 5.627-4.462 8.96-10 10 1.855-1.19 3.688-2.523 5.5-4 1.277-2.247 2.777-4.247 4.5-6z" fill="#ac8385"></path><path d="m408.5 432.5c2.333 1.667 4.333 3.667 6 6-3-1-5-3-6-6z" fill="#af888a"></path><path d="m414.5 438.5c4.846 1.539 9.846 2.206 15 2-3.476 1.143-7.142 1.31-11 .5-1.566-.608-2.9-1.442-4-2.5z" fill="#ab8284"></path><path d="m115.5 443.5c7.674-.166 15.341 0 23 .5 25.758 4.715 48.424 15.548 68 32.5-4.245 5.48-7.745 11.48-10.5 18-10.948-13.285-23.448-24.785-37.5-34.5-13.739-7.407-28.072-12.907-43-16.5z" fill="#95dac3"></path><path d="m679.5 514.5c.554 6.653.888 13.32 1 20-1.432 2.147-3.265 2.48-5.5 1-12.262-47.88-41.429-63.047-87.5-45.5-7.557 4.224-14.557 9.224-21 15-3.092 1.546-6.092 3.046-9 4.5-8.45.934-15.45-1.732-21-8-1.008-2.044-2.008-4.044-3-6-.381-5.302.619-10.302 3-15 2-1.333 3.667-3 5-5 12.721-7.526 26.388-13.026 41-16.5 31.42-5.197 58.586 2.97 81.5 24.5 8.354 8.709 13.521 19.042 15.5 31z" fill="#550409"></path><path d="m541.5 475.5c-1.333 2-3 3.667-5 5 .667-2.667 2.333-4.333 5-5z" fill="#a67a7c"></path><path d="m421.5 549.5c0-2.667 0-5.333 0-8-1.291-.237-2.291.096-3 1-12.386 3.671-25.053 4.838-38 3.5-14.308-3.312-24.808-11.479-31.5-24.5-4.275-12.881-2.775-25.048 4.5-36.5 2.798-.561 4.631.606 5.5 3.5 1.494 11.818 6.327 21.985 14.5 30.5 6.872 4.891 14.538 6.724 23 5.5 12.445-.264 24.778-1.597 37-4 1 .333 2 .667 3 1 2.299 12.128 5.132 24.128 8.5 36 7.528 14.021 19.361 20.687 35.5 20 9.05-.59 18.05-1.59 27-3 5.621-1.411 7.788.589 6.5 6-21.442 19.49-45.275 22.99-71.5 10.5-13.503-10.505-20.503-24.338-21-41.5z" fill="#56050a"></path><path d="m536.5 480.5c-2.381 4.698-3.381 9.698-3 15-1.141-3.14-1.308-6.473-.5-10 .697-2.084 1.864-3.751 3.5-5z" fill="#bb9a9b"></path><path d="m235.5 492.5c17.34-2.754 29.173 3.912 35.5 20 4.499 14.333 7.166 28.999 8 44 .667 18.333.667 36.667 0 55-34.119 7.3-58.619 26.633-73.5 58-37.929-35.775-68.429-77.108-91.5-124-6.578-13.79-5.911-27.123 2-40 13.456-13.103 28.289-14.603 44.5-4.5 4.189 4.221 8.022 8.721 11.5 13.5 12.589 24.846 24.923 49.846 37 75 1.989 4.318 4.989 7.652 9 10 1.653-.32 2.653-1.32 3-3 .167-4.333.333-8.667.5-13-1.981-22.654-3.481-45.321-4.5-68 1.314-11.793 7.481-19.459 18.5-23z" fill="#fdfdfd"></path><path d="m533.5 495.5c.992 1.956 1.992 3.956 3 6-2.475-1.187-3.475-3.187-3-6z" fill="#c1a3a4"></path><path d="m536.5 501.5c5.55 6.268 12.55 8.934 21 8-9.243 3.211-16.243.545-21-8z" fill="#a77b7d"></path><path d="m679.5 514.5c1.971 6.609 2.304 13.276 1 20-.112-6.68-.446-13.347-1-20z" fill="#844748"></path><path d="m418.5 542.5c.709-.904 1.709-1.237 3-1v8c-.417-2.659-1.417-4.992-3-7z" fill="#b69395"></path><path d="m123.5 618.5c5.277-.569 10.277.265 15 2.5 8.377 11.922 16.877 23.755 25.5 35.5 8 7.333 16 14.667 24 22 7.178 13.467 3.344 21.967-11.5 25.5-27.768 1.366-48.934-9.801-63.5-33.5-6.932-10.731-9.265-22.398-7-35 3.135-8.638 8.968-14.305 17.5-17z" fill="#fdfdfd"></path><path d="m328.5 667.5c.141 20.688-10.026 32.021-30.5 34-5.917-.625-11.75-1.625-17.5-3 .16-1.699-.006-3.366-.5-5-.561-.522-1.228-.855-2-1-12.375 11.057-26.875 15.557-43.5 13.5-4.928-1.927-8.094-5.427-9.5-10.5-1.501-8.662.166-16.662 5-24 18.804-27.156 43.971-35.989 75.5-26.5 10.182 5.016 17.849 12.516 23 22.5z" fill="#fdfdfd"></path><path d="m328.5 667.5c4.681 8.3 6.181 17.3 4.5 27-8.202 40.535-32.702 64.701-73.5 72.5-26.596 7.141-51.929 4.141-76-9-3.192-2.692-6.525-5.192-10-7.5 1.655-8.858.988-17.525-2-26 15.407.05 27.241-6.283 35.5-19 9.035 14.931 22.202 20.764 39.5 17.5 15.879-2.085 27.213-10.252 34-24.5 5.75 1.375 11.583 2.375 17.5 3 20.474-1.979 30.641-13.312 30.5-34z" fill="#95dcc4"></path><path d="m144.5 747.5c-4.963.754-9.963 1.087-15 1-27.136-4.309-44.3031-19.642-51.5-46-1.344-12.953 2.656-23.953 12-33 13.271 27.276 34.438 45.11 63.5 53.5 2.982.498 5.982.665 9 .5.085 8.529-2.915 15.695-9 21.5-2.875 1.302-5.875 2.135-9 2.5z" fill="#fdfcfc"></path><path d="m751.5 678.5c-3.36.116-6.693.449-10 1 1.617-1.472 3.617-2.139 6-2 1.545.011 2.878.344 4 1z" fill="#74685f"></path><path d="m829.5 690.5c.989 5.475 1.322 11.142 1 17-1.291.237-2.291-.096-3-1 1.946-4.896 2.613-10.229 2-16z" fill="#6d4e46"></path><path d="m144.5 747.5c-2.686 1.491-5.686 2.157-9 2-2.196-.005-4.196-.338-6-1 5.037.087 10.037-.246 15-1z" fill="#874b4c"></path></svg></svg><style>@media (prefers-color-scheme: light) { :root { filter: none; } }
2
+ @media (prefers-color-scheme: dark) { :root { filter: none; } }
3
+ </style></svg>
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "CF::MCP - Cute Framework MCP Server",
3
+ "short_name": "CF::MCP",
4
+ "icons": [
5
+ {
6
+ "src": "/web-app-manifest-192x192.png",
7
+ "sizes": "192x192",
8
+ "type": "image/png",
9
+ "purpose": "maskable"
10
+ },
11
+ {
12
+ "src": "/web-app-manifest-512x512.png",
13
+ "sizes": "512x512",
14
+ "type": "image/png",
15
+ "purpose": "maskable"
16
+ }
17
+ ],
18
+ "theme_color": "#0d1117",
19
+ "background_color": "#0d1117",
20
+ "display": "standalone"
21
+ }
data/lib/cf/mcp/server.rb CHANGED
@@ -73,8 +73,8 @@ module CF
73
73
  version: CF::MCP::VERSION,
74
74
  website_url: WEBSITE_URL,
75
75
  icons: [
76
- ::MCP::Icon.new(src: "#{WEBSITE_URL}/logo.svg", mime_type: "image/svg+xml", sizes: ["any"]),
77
- ::MCP::Icon.new(src: "#{WEBSITE_URL}/logo.png", mime_type: "image/png", sizes: ["262x218"])
76
+ ::MCP::Icon.new(src: "#{WEBSITE_URL}/favicon.svg", mime_type: "image/svg+xml", sizes: ["any"]),
77
+ ::MCP::Icon.new(src: "#{WEBSITE_URL}/favicon-96x96.png", mime_type: "image/png", sizes: ["96x96"])
78
78
  ],
79
79
  tools: TOOLS,
80
80
  resources: build_topic_resources(index)
@@ -120,14 +120,19 @@ module CF
120
120
  [404, {"content-type" => "application/json"}, ['{"error":"Not found"}']]
121
121
  when %r{^/http(/|$)}
122
122
  http_transport.handle_request(request)
123
- when "/logo.svg", "/logo.png", "/favicon.png", "/favicon.ico"
123
+ when %r{^/(favicon|apple-touch-icon|web-app-manifest|site\.webmanifest).*$}
124
124
  # Serve static assets from public directory
125
125
  filename = path.delete_prefix("/")
126
- filename = "favicon.png" if filename == "favicon.ico" # Serve PNG for .ico requests
127
- logo_path = File.join(public_dir, filename)
128
- if File.exist?(logo_path)
129
- content_type = filename.end_with?(".svg") ? "image/svg+xml" : "image/png"
130
- [200, {"content-type" => content_type, "cache-control" => "public, max-age=86400"}, [File.read(logo_path, mode: "rb")]]
126
+ asset_path = File.join(public_dir, filename)
127
+ if File.exist?(asset_path)
128
+ content_type = case filename
129
+ when /\.svg$/ then "image/svg+xml"
130
+ when /\.png$/ then "image/png"
131
+ when /\.ico$/ then "image/x-icon"
132
+ when /\.webmanifest$/ then "application/manifest+json"
133
+ else "application/octet-stream"
134
+ end
135
+ [200, {"content-type" => content_type, "cache-control" => "public, max-age=86400"}, [File.read(asset_path, mode: "rb")]]
131
136
  else
132
137
  [404, {"content-type" => "text/plain"}, ["Not found"]]
133
138
  end
@@ -3,7 +3,11 @@
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <link rel="icon" type="image/png" href="/favicon.png">
6
+ <link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96">
7
+ <link rel="icon" type="image/svg+xml" href="/favicon.svg">
8
+ <link rel="shortcut icon" href="/favicon.ico">
9
+ <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
10
+ <link rel="manifest" href="/site.webmanifest">
7
11
  <title>CF::MCP - Cute Framework MCP Server</title>
8
12
  <style>
9
13
  <%= css_content %>
@@ -2,6 +2,6 @@
2
2
 
3
3
  module CF
4
4
  module MCP
5
- VERSION = "0.15.3"
5
+ VERSION = "0.15.5"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cf-mcp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.3
4
+ version: 0.15.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Usewicz
@@ -106,9 +106,13 @@ files:
106
106
  - lib/cf/mcp/models/struct_doc.rb
107
107
  - lib/cf/mcp/models/topic_doc.rb
108
108
  - lib/cf/mcp/parser.rb
109
- - lib/cf/mcp/public/favicon.png
110
- - lib/cf/mcp/public/logo.png
111
- - lib/cf/mcp/public/logo.svg
109
+ - lib/cf/mcp/public/apple-touch-icon.png
110
+ - lib/cf/mcp/public/favicon-96x96.png
111
+ - lib/cf/mcp/public/favicon.ico
112
+ - lib/cf/mcp/public/favicon.svg
113
+ - lib/cf/mcp/public/site.webmanifest
114
+ - lib/cf/mcp/public/web-app-manifest-192x192.png
115
+ - lib/cf/mcp/public/web-app-manifest-512x512.png
112
116
  - lib/cf/mcp/server.rb
113
117
  - lib/cf/mcp/templates/index.erb
114
118
  - lib/cf/mcp/templates/script.js
Binary file
Binary file
@@ -1 +0,0 @@
1
- <svg clip-rule="evenodd" fill-rule="evenodd" height="875" image-rendering="optimizeQuality" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" width="1051" xmlns="http://www.w3.org/2000/svg"><path d="m561.5 8.5c13.346-.46669 22.179 5.5333 26.5 18 1.465 16.9682 2.798 33.9682 4 51 5.585 29.511 10.085 59.178 13.5 89-1.198 21.761-7.531 41.927-19 60.5 24.485 8.408 48.152 18.742 71 31 20.782 13.772 40.115 29.439 58 47 .832.688 1.498.521 2-.5 5.215-11.386 12.548-21.219 22-29.5 33.362-24.954 71.028-37.454 113-37.5 27.973.455 55.64 3.622 83 9.5 19.869 3.486 39.369 3.319 58.5-.5 12.21 1.879 18.37 9.046 18.5 21.5-1.48 12.428-4.98 24.261-10.5 35.5-15.129 33.608-32.796 65.608-53 96-17.5 25.5-39 47-64.5 64.5-22.882 15.019-47.882 20.852-75 17.5 1.551 37.021 6.051 73.688 13.5 110 2.863 11.922 6.53 23.589 11 35 10.634 19.569 18.301 40.236 23 62 1.613 13.891 1.446 27.725-.5 41.5-.163 12.818-6.83 18.818-20 18-10.462-5.398-20.795-11.065-31-17-13.672-7.338-27.672-13.838-42-19.5 3.081 16.907 5.581 33.907 7.5 51 2.646 23.746-2.687 45.413-16 65-11.713 11.143-24.546 12.643-38.5 4.5-13.037-12.039-26.371-23.706-40-35-23.306-16.666-48.972-28.333-77-35-37-6.333-74-12.667-111-19-43.541-9.276-84.875-24.443-124-45.5-17.052 66.862-60.219 100.862-129.5 102-28.91-.804-55.077-9.47-78.5-26-6.823 3.872-14.156 5.539-22 5-31.988-1.733-56.8211-15.733-74.5-42-12.1934-21.036-13.5267-42.703-4-65 6.4995-11.499 15.8328-19.832 28-25-.8787-11.589 1.1213-22.589 6-33 7.376-9.109 16.876-14.776 28.5-17-10.89-14.746-20.3903-30.413-28.5-47-10.9334-29.755-4.1-54.255 20.5-73.5-10.9942-.914-20.1608-5.414-27.5-13.5-3.8364-8.038-4.503-16.371-2-25 10.952-23.618 28.452-40.452 52.5-50.5 11.147-4.271 22.481-7.938 34-11-19.237-13.449-40.237-23.449-63-30-8.2562-6.765-10.0896-14.932-5.5-24.5 13.933-13.598 29.767-24.432 47.5-32.5 9.402-3.434 19.068-5.767 29-7 19.658-1.098 39.325-2.098 59-3 10.554-1.185 20.554-4.185 30-9 24.752-14.209 50.419-26.543 77-37 6.667-2 13.333-4 20-6 .699-8.952.366-17.952-1-27 .102-20.242 5.268-39.075 15.5-56.5 20.784-36.451 49.284-65.2839 85.5-86.5 25.954-16.1456 52.954-30.4789 81-43 6.328-2.3271 12.662-4.16043 19-5.5z" fill="#540206" opacity=".98"/><path d="m576.5 149.5c.292 9.415-.375 18.748-2 28-1.435 8.48-3.601 16.813-6.5 25-5.82 12.81-10.82 25.81-15 39 18.817 7.162 37.65 14.329 56.5 21.5 35.231 15.238 66.065 36.738 92.5 64.5 7.284 10.22 15.284 19.886 24 29 5.221-14.328 11.221-28.328 18-42 13.108-19.757 30.941-33.591 53.5-41.5 31.867-10.732 64.534-14.066 98-10 14.985 2.131 29.985 4.131 45 6 16.723.388 33.39.555 50 .5-3.343 9.688-7.51 19.021-12.5 28-17.836 33.692-38.169 65.692-61 96-9.803 10.804-19.97 21.304-30.5 31.5-15.525 13.762-33.525 22.762-54 27-9.333.667-18.667.667-28 0-1.408-5.131-2.741-10.297-4-15.5 13.968-.489 26.968-4.322 39-11.5 47.672-33.135 78.672-77.968 93-134.5.203-1.89-.463-3.39-2-4.5-29.168-2.866-58.168-1.866-87 3-1.959.931-3.959 1.764-6 2.5-.333.667-.667 1.333-1 2 2.47 7.844 3.303 15.844 2.5 24-3.371 5.277-8.204 8.443-14.5 9.5-11.367.178-22.701.344-34 .5 7.491 8.977 13.991 18.643 19.5 29 2.824 6.218 3.157 12.551 1 19-6.225 6.365-13.725 10.531-22.5 12.5-9.883.787-19.55 2.62-29 5.5.746 1.236 1.079 2.57 1 4 4.317 28.837 6.984 57.837 8 87-1.141 18.667-2.308 37.334-3.5 56-3.018 35.301.816 69.801 11.5 103.5-.333.5-.667 1-1 1.5-25.172-14.374-52.172-22.041-81-23 7.852 35.905 11.352 72.239 10.5 109-9.465-6.985-19.632-12.818-30.5-17.5-25.854-10.464-52.521-18.131-80-23-41.934-5.877-83.267-14.544-124-26-42.952-14.308-82.619-34.641-119-61-14.895-11.74-29.895-23.24-45-34.5.492-18.122-.674-36.122-3.5-54-8.37-43.733-34.204-60.9-77.5-51.5-7.047 3.183-13.38 7.35-19 12.5-19.576-16.952-42.242-27.785-68-32.5-7.659-.5-15.326-.666-23-.5-1.478.262-2.811-.071-4-1 5.711-10.879 13.711-19.713 24-26.5 19.989-10.942 40.989-19.442 63-25.5 2.252-.416 3.752-1.749 4.5-4 .805-3.196.638-6.196-.5-9-18.794-21.295-41.127-37.795-67-49.5 12.623-10.975 27.289-17.642 44-20 15.998-1.333 31.998-2.667 48-4 21.811-1.027 42.477-6.36 62-16 18.109-10.388 36.776-19.721 56-28 22.136-8.95 45.136-14.283 69-16 22.028-1.716 44.028-3.716 66-6-7.07-7.349-14.236-14.516-21.5-21.5-6.406-9.346-7.073-19.013-2-29 4.901-5.117 10.901-7.784 18-8 10.269 1.986 20.436 4.153 30.5 6.5-1.987-9.034-2.82-18.201-2.5-27.5 2.32-11.09 9.153-15.59 20.5-13.5 8.246 3.243 15.746 7.743 22.5 13.5 3.701-29.729-.132-58.396-11.5-86-1.189-.9287-2.522-1.262-4-1-34.928 16.4239-64.428 39.757-88.5 70-13.486 19.636-21.319 41.302-23.5 65 .665 4.981.998 9.981 1 15-8.667.333-17.333.667-26 1 .081-53.658 20.748-97.491 62-131.5 30.047-23.9991 62.714-43.9991 98-60 4.547-1.7111 9.214-2.3778 14-2 .626.7504 1.126 1.5838 1.5 2.5.333 16.3333.667 32.6667 1 49 3.368 22.888 5.535 45.888 6.5 69z" fill="#fefefe"/><path d="m530.5 71.5c-.518 1.0774-.852 2.2441-1 3.5 4.461 18.9129 6.128 38.08 5 57.5-32.001-9.096-47.167 2.904-45.5 36-20.871-9.24-37.538-4.24-50 15-4.947 12.519-4.447 24.852 1.5 37-6.968.997-13.968 1.33-21 1-.002-5.019-.335-10.019-1-15 2.181-23.698 10.014-45.364 23.5-65 24.072-30.243 53.572-53.5761 88.5-70z" fill="#95ddc5"/><path d="m576.5 149.5c1.155 6.821 1.321 13.821.5 21-.156 2.691-.989 5.024-2.5 7 1.625-9.252 2.292-18.585 2-28z" fill="#733030"/><path d="m932.5 290.5c-14.328 56.532-45.328 101.365-93 134.5-12.032 7.178-25.032 11.011-39 11.5-2.26-7.778-4.926-15.444-8-23 24.358-8.362 38.025-25.362 41-51 .183-5.943-1.484-11.276-5-16 23.151-5.609 32.818-20.276 29-44 9.225-2.479 18.558-4.646 28-6.5 15.752-1.592 31.419-3.425 47-5.5z" fill="#95ddc5"/><path d="m441.5 388.5c1.62 11.924 2.287 23.924 2 36v4c-1.723 1.753-3.223 3.753-4.5 6-1.812 1.477-3.645 2.81-5.5 4-1.333.667-2.667 1.333-4 2-5.154.206-10.154-.461-15-2-1.667-2.333-3.667-4.333-6-6-.492-2.319-1.492-4.319-3-6 0-.333 0-.667 0-1-.135-5.453.532-10.786 2-16 5.496-15.409 5.329-30.742-.5-46-4.063-7.623-10.23-12.79-18.5-15.5-11.792-4.225-23.959-6.392-36.5-6.5-9.112 1.52-18.279 2.02-27.5 1.5-2.667-2.333-2.667-4.667 0-7 17.675-7.224 36.009-10.224 55-9 35.083 5.916 55.75 26.416 62 61.5z" fill="#550409"/><path d="m202.5 377.5c1.138 2.804 1.305 5.804.5 9-.748 2.251-2.248 3.584-4.5 4 3.502-3.573 4.836-7.906 4-13z" fill="#b99698"/><path d="m760.5 397.5c9.984 23.46 17.484 47.794 22.5 73 1.952 27 3.952 54 6 81 1.883 19.18 4.883 38.18 9 57 2.012 9.037 5.012 17.704 9 26 6.333 13.333 12.667 26.667 19 40 1.998 5.159 3.165 10.492 3.5 16 .613 5.771-.054 11.104-2 16-24.099-12.699-49.432-22.033-76-28-1.122-.656-2.455-.989-4-1-2.383-.139-4.383.528-6 2-1.333 1.433-2.833 2.767-4.5 4-1.925 3.007-2.759 6.34-2.5 10 4.063 25.86 6.23 51.86 6.5 78-.824 10.304-3.658 19.971-8.5 29-34.311-34.833-75.311-58.333-123-70.5-45.311-7.579-90.311-16.579-135-27-40.893-11.281-79.227-28.281-115-51-5.493-13.825-14.827-24.159-28-31-8.383-3.902-16.883-7.402-25.5-10.5.312-13.646.478-27.313.5-41 15.105 11.26 30.105 22.76 45 34.5 36.381 26.359 76.048 46.692 119 61 40.733 11.456 82.066 20.123 124 26 27.479 4.869 54.146 12.536 80 23 10.868 4.682 21.035 10.515 30.5 17.5.852-36.761-2.648-73.095-10.5-109 28.828.959 55.828 8.626 81 23 .333-.5.667-1 1-1.5-10.684-33.699-14.518-68.199-11.5-103.5 1.192-18.666 2.359-37.333 3.5-56-1.016-29.163-3.683-58.163-8-87z" fill="#95dcc4"/><path d="m441.5 388.5c1.248 3.442 2.081 7.108 2.5 11 .823 8.51.657 16.844-.5 25 .287-12.076-.38-24.076-2-36z" fill="#743132"/><path d="m407.5 409.5c-1.468 5.214-2.135 10.547-2 16-1.672-5.604-1.005-10.937 2-16z" fill="#a17274"/><path d="m405.5 426.5c1.508 1.681 2.508 3.681 3 6-2.469-1.107-3.469-3.107-3-6z" fill="#be9d9e"/><path d="m443.5 428.5c-1.129 5.627-4.462 8.96-10 10 1.855-1.19 3.688-2.523 5.5-4 1.277-2.247 2.777-4.247 4.5-6z" fill="#ac8385"/><path d="m408.5 432.5c2.333 1.667 4.333 3.667 6 6-3-1-5-3-6-6z" fill="#af888a"/><path d="m414.5 438.5c4.846 1.539 9.846 2.206 15 2-3.476 1.143-7.142 1.31-11 .5-1.566-.608-2.9-1.442-4-2.5z" fill="#ab8284"/><path d="m115.5 443.5c7.674-.166 15.341 0 23 .5 25.758 4.715 48.424 15.548 68 32.5-4.245 5.48-7.745 11.48-10.5 18-10.948-13.285-23.448-24.785-37.5-34.5-13.739-7.407-28.072-12.907-43-16.5z" fill="#95dac3"/><path d="m679.5 514.5c.554 6.653.888 13.32 1 20-1.432 2.147-3.265 2.48-5.5 1-12.262-47.88-41.429-63.047-87.5-45.5-7.557 4.224-14.557 9.224-21 15-3.092 1.546-6.092 3.046-9 4.5-8.45.934-15.45-1.732-21-8-1.008-2.044-2.008-4.044-3-6-.381-5.302.619-10.302 3-15 2-1.333 3.667-3 5-5 12.721-7.526 26.388-13.026 41-16.5 31.42-5.197 58.586 2.97 81.5 24.5 8.354 8.709 13.521 19.042 15.5 31z" fill="#550409"/><path d="m541.5 475.5c-1.333 2-3 3.667-5 5 .667-2.667 2.333-4.333 5-5z" fill="#a67a7c"/><path d="m421.5 549.5c0-2.667 0-5.333 0-8-1.291-.237-2.291.096-3 1-12.386 3.671-25.053 4.838-38 3.5-14.308-3.312-24.808-11.479-31.5-24.5-4.275-12.881-2.775-25.048 4.5-36.5 2.798-.561 4.631.606 5.5 3.5 1.494 11.818 6.327 21.985 14.5 30.5 6.872 4.891 14.538 6.724 23 5.5 12.445-.264 24.778-1.597 37-4 1 .333 2 .667 3 1 2.299 12.128 5.132 24.128 8.5 36 7.528 14.021 19.361 20.687 35.5 20 9.05-.59 18.05-1.59 27-3 5.621-1.411 7.788.589 6.5 6-21.442 19.49-45.275 22.99-71.5 10.5-13.503-10.505-20.503-24.338-21-41.5z" fill="#56050a"/><path d="m536.5 480.5c-2.381 4.698-3.381 9.698-3 15-1.141-3.14-1.308-6.473-.5-10 .697-2.084 1.864-3.751 3.5-5z" fill="#bb9a9b"/><path d="m235.5 492.5c17.34-2.754 29.173 3.912 35.5 20 4.499 14.333 7.166 28.999 8 44 .667 18.333.667 36.667 0 55-34.119 7.3-58.619 26.633-73.5 58-37.929-35.775-68.429-77.108-91.5-124-6.578-13.79-5.911-27.123 2-40 13.456-13.103 28.289-14.603 44.5-4.5 4.189 4.221 8.022 8.721 11.5 13.5 12.589 24.846 24.923 49.846 37 75 1.989 4.318 4.989 7.652 9 10 1.653-.32 2.653-1.32 3-3 .167-4.333.333-8.667.5-13-1.981-22.654-3.481-45.321-4.5-68 1.314-11.793 7.481-19.459 18.5-23z" fill="#fdfdfd"/><path d="m533.5 495.5c.992 1.956 1.992 3.956 3 6-2.475-1.187-3.475-3.187-3-6z" fill="#c1a3a4"/><path d="m536.5 501.5c5.55 6.268 12.55 8.934 21 8-9.243 3.211-16.243.545-21-8z" fill="#a77b7d"/><path d="m679.5 514.5c1.971 6.609 2.304 13.276 1 20-.112-6.68-.446-13.347-1-20z" fill="#844748"/><path d="m418.5 542.5c.709-.904 1.709-1.237 3-1v8c-.417-2.659-1.417-4.992-3-7z" fill="#b69395"/><path d="m123.5 618.5c5.277-.569 10.277.265 15 2.5 8.377 11.922 16.877 23.755 25.5 35.5 8 7.333 16 14.667 24 22 7.178 13.467 3.344 21.967-11.5 25.5-27.768 1.366-48.934-9.801-63.5-33.5-6.932-10.731-9.265-22.398-7-35 3.135-8.638 8.968-14.305 17.5-17z" fill="#fdfdfd"/><path d="m328.5 667.5c.141 20.688-10.026 32.021-30.5 34-5.917-.625-11.75-1.625-17.5-3 .16-1.699-.006-3.366-.5-5-.561-.522-1.228-.855-2-1-12.375 11.057-26.875 15.557-43.5 13.5-4.928-1.927-8.094-5.427-9.5-10.5-1.501-8.662.166-16.662 5-24 18.804-27.156 43.971-35.989 75.5-26.5 10.182 5.016 17.849 12.516 23 22.5z" fill="#fdfdfd"/><path d="m328.5 667.5c4.681 8.3 6.181 17.3 4.5 27-8.202 40.535-32.702 64.701-73.5 72.5-26.596 7.141-51.929 4.141-76-9-3.192-2.692-6.525-5.192-10-7.5 1.655-8.858.988-17.525-2-26 15.407.05 27.241-6.283 35.5-19 9.035 14.931 22.202 20.764 39.5 17.5 15.879-2.085 27.213-10.252 34-24.5 5.75 1.375 11.583 2.375 17.5 3 20.474-1.979 30.641-13.312 30.5-34z" fill="#95dcc4"/><path d="m144.5 747.5c-4.963.754-9.963 1.087-15 1-27.136-4.309-44.3031-19.642-51.5-46-1.344-12.953 2.656-23.953 12-33 13.271 27.276 34.438 45.11 63.5 53.5 2.982.498 5.982.665 9 .5.085 8.529-2.915 15.695-9 21.5-2.875 1.302-5.875 2.135-9 2.5z" fill="#fdfcfc"/><path d="m751.5 678.5c-3.36.116-6.693.449-10 1 1.617-1.472 3.617-2.139 6-2 1.545.011 2.878.344 4 1z" fill="#74685f"/><path d="m829.5 690.5c.989 5.475 1.322 11.142 1 17-1.291.237-2.291-.096-3-1 1.946-4.896 2.613-10.229 2-16z" fill="#6d4e46"/><path d="m144.5 747.5c-2.686 1.491-5.686 2.157-9 2-2.196-.005-4.196-.338-6-1 5.037.087 10.037-.246 15-1z" fill="#874b4c"/></svg>