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 +4 -4
- data/README.md +3 -4
- data/lib/rails-pg-extras-mcp.rb +1 -1
- data/lib/rails_pg_extras_mcp/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f644d2d5e6698d7c3e2816aa56a256ac6b150114fa618c00b60d22db2f60bfd
|
4
|
+
data.tar.gz: 96f81ed50933097a54261932c517161dca4fd5f55471e1c8c5d9248c5de48217
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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: "
|
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: "
|
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/
|
45
|
+
"http://localhost:3000/pg_extras_mcp/sse",
|
47
46
|
"--header",
|
48
47
|
"Authorization: secret"
|
49
48
|
]
|
data/lib/rails-pg-extras-mcp.rb
CHANGED
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.
|
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-
|
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
|