rails-pg-extras-mcp 0.1.4 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d49b854cf56a160369f69fbc1d237e6ffc5ece9a82216c8689346927bc5f93f
4
- data.tar.gz: 935a608f0ff2f97d597e07dcd7301ddb44bef0251ebe08e23edf4626729cc3a4
3
+ metadata.gz: 7f644d2d5e6698d7c3e2816aa56a256ac6b150114fa618c00b60d22db2f60bfd
4
+ data.tar.gz: 96f81ed50933097a54261932c517161dca4fd5f55471e1c8c5d9248c5de48217
5
5
  SHA512:
6
- metadata.gz: 17963ea878ccb01318f4437dce9730fa6133f2bce70e6abee35366fc29bb67982c69c4c1523ecc4fc9018bf5253d4c3a03166160cba8af1b84cc851ed8245232
7
- data.tar.gz: 016f5702235ba3b59502213327d0d44937958ba1a984b92d82f696c95ae431c752e9715a2fb41285add7c8631fe684d57341c6bdf6e5edf0119a5c9779bd738a
6
+ metadata.gz: 74c540154d4a2566c84aeb1af65e1ec02b7f3b398c6564c202eb0b1db7ca2d502925415c1784430aaf099b5983d940a4b43e4e6f50ac1980409741e6062e2221
7
+ data.tar.gz: 648c78c14b9d85a3c9ae6ed10187125c29bf569ff43efdb2a742cce53fa88053faa21e94b37db1211383ef08426f3f11d73da0a9a31d4a1c5443967f41db09ae
data/README.md CHANGED
@@ -7,7 +7,6 @@ MCP ([Model Context Protocol](https://modelcontextprotocol.io/introduction)) int
7
7
  ## Installation
8
8
 
9
9
  ```bash
10
- bundle add rails-pg-extras
11
10
  bundle add rails-pg-extras-mcp
12
11
  ```
13
12
 
@@ -16,14 +15,14 @@ The library supports MCP protocol via HTTP SSE interface.
16
15
  `config/routes.rb`
17
16
 
18
17
  ```ruby
19
- mount RailsPgExtrasMcp::App.build, at: "pg-extras-mcp"
18
+ mount RailsPgExtrasMcp::App.build, at: "pg_extras_mcp"
20
19
  ```
21
20
 
22
21
  with optional authorization:
23
22
 
24
23
  ```ruby
25
24
  opts = { auth_token: "secret" }
26
- mount RailsPgExtrasMcp::App.build(opts), at: "pg-extras-mcp"
25
+ mount RailsPgExtrasMcp::App.build(opts), at: "pg_extras_mcp"
27
26
  ```
28
27
 
29
28
  Refer to the [fast-mcp docs](https://github.com/yjacquin/fast-mcp) for a complete list of supported options (the `opts` hash is passed directly as-is). For real-world deployments, you'll likely need to configure the `:allowed_origins` setting.
@@ -43,7 +42,7 @@ and in your LLM of choice:
43
42
  "command": "npx",
44
43
  "args": [
45
44
  "mcp-remote",
46
- "http://localhost:3000/pg-extras-mcp/sse",
45
+ "http://localhost:3000/pg_extras_mcp/sse",
47
46
  "--header",
48
47
  "Authorization: secret"
49
48
  ]
@@ -148,7 +148,7 @@ module RailsPgExtrasMcp
148
148
  default_opts = {
149
149
  name: "rails-pg-extras-mcp",
150
150
  version: RailsPgExtrasMcp::VERSION,
151
- path_prefix: "/pg-extras-mcp",
151
+ path_prefix: "/pg_extras_mcp",
152
152
  logger: Logger.new($stdout),
153
153
  }
154
154
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsPgExtrasMcp
4
- VERSION = "0.1.4"
4
+ VERSION = "0.2.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-pg-extras-mcp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - pawurb
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-06-24 00:00:00.000000000 Z
11
+ date: 2025-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails-pg-extras