@assemblyline-agents/grata 5.0.10 → 6.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.
- package/README.md +3 -12
- package/ai.assemblyline/connections/grata.json +54 -0
- package/ai.assemblyline/index.cjs +9 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +5 -3
- package/plugin.json +11 -0
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ contacts, and related research. It uses a per-user Grata seat through OAuth
|
|
|
10
10
|
## Install
|
|
11
11
|
|
|
12
12
|
```sh
|
|
13
|
-
|
|
13
|
+
assembly-line add grata agent
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
## Configure OAuth
|
|
@@ -61,18 +61,9 @@ host-side connection grant store.
|
|
|
61
61
|
See [Grata's MCP setup guide](https://help.grata.com/en/articles/15279081-connecting-to-the-grata-mcp-server)
|
|
62
62
|
for the current regional endpoints and seat requirements.
|
|
63
63
|
|
|
64
|
-
## Usage
|
|
65
|
-
|
|
66
|
-
```ts
|
|
67
|
-
import { defineGrataConnection } from "@assemblyline-agents/grata";
|
|
68
|
-
|
|
69
|
-
export default defineGrataConnection();
|
|
70
|
-
```
|
|
71
|
-
|
|
72
64
|
The plugin classifies reviewed search and retrieval tools as reads and
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
or a custom access policy. Unclassified upstream tools remain unavailable.
|
|
65
|
+
default. Use `plugins.grata.connections.grata.approval` to gate named actions
|
|
66
|
+
or `disable` to remove them. Unclassified upstream tools remain unavailable.
|
|
76
67
|
|
|
77
68
|
## Part of Assembly Line
|
|
78
69
|
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"kind": "grata",
|
|
3
|
+
"role": "connection",
|
|
4
|
+
"packageName": "@assemblyline-agents/grata",
|
|
5
|
+
"helper": "defineGrataConnection",
|
|
6
|
+
"protocol": "mcp",
|
|
7
|
+
"transport": "http",
|
|
8
|
+
"provider": "grata",
|
|
9
|
+
"description": "Private-company, ownership, funding, transaction, filing, contact, conference, and deal intelligence through Grata's official hosted MCP server.",
|
|
10
|
+
"defaultUrl": "https://mcp.grata.com",
|
|
11
|
+
"urlEnv": "GRATA_MCP_URL",
|
|
12
|
+
"capabilities": [
|
|
13
|
+
"mcp",
|
|
14
|
+
"oauth",
|
|
15
|
+
"pkce",
|
|
16
|
+
"refresh-token",
|
|
17
|
+
"live-tools",
|
|
18
|
+
"streamable-http",
|
|
19
|
+
"private-market-intelligence"
|
|
20
|
+
],
|
|
21
|
+
"scopes": [
|
|
22
|
+
"openid",
|
|
23
|
+
"profile",
|
|
24
|
+
"email",
|
|
25
|
+
"offline_access"
|
|
26
|
+
],
|
|
27
|
+
"subject": "user",
|
|
28
|
+
"readToolPatterns": [
|
|
29
|
+
"regex:(^|[-_])(search|read|list|fetch|get|retrieve|query|lookup|find|describe|details?|discover)([-_]|$)"
|
|
30
|
+
],
|
|
31
|
+
"writeToolPatterns": [
|
|
32
|
+
"regex:(^|[-_])(add|append|archive|assign|book|buy|cancel|checkout|close|complete|create|delete|draft|duplicate|edit|execute|insert|invite|kick|link|merge|modify|move|mutate|open|pay|post|publish|purchase|push|react|reaction|remove|rename|reply|reserve|resolve|reopen|run|schedule|send|set|share|submit|transfer|transition|unassign|unlink|update|upload|write)([-_]|$)",
|
|
33
|
+
"regex:(^|[-_])export([-_]|$)"
|
|
34
|
+
],
|
|
35
|
+
"setup": [
|
|
36
|
+
{
|
|
37
|
+
"kind": "connection",
|
|
38
|
+
"name": "grata-mcp-oauth",
|
|
39
|
+
"required": true,
|
|
40
|
+
"message": "Register an OAuth client using client_secret_post with the selected Grata MCP region's /register endpoint for the Assembly Line connection callback, set GRATA_MCP_CLIENT_ID and GRATA_MCP_CLIENT_SECRET, then let each user authorize their Grata seat. Set GRATA_MCP_URL=https://eu-mcp.grata.com/ for European users."
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"requiredConfig": [
|
|
44
|
+
"GRATA_MCP_CLIENT_ID"
|
|
45
|
+
],
|
|
46
|
+
"optionalConfig": [
|
|
47
|
+
"GRATA_MCP_URL",
|
|
48
|
+
"GRATA_MCP_REDIRECT_URI"
|
|
49
|
+
],
|
|
50
|
+
"requiredCredentials": [
|
|
51
|
+
"GRATA_MCP_CLIENT_SECRET"
|
|
52
|
+
],
|
|
53
|
+
"optionalCredentials": []
|
|
54
|
+
}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAChC,MAAM,2BAA2B,CAAC;AAInC,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,0BAA0B,EAAE,MAAM,CAAC;IACtF,IAAI,CAAC,EAAE,wBAAwB,GAAG,KAAK,CAAC;IACxC,yFAAyF;IACzF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uDAAuD;IACvD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6EAA6E;IAC7E,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,qBAAqB,CAAC,OAAO,GAAE,sBAA2B,0IAazE;AAED,eAAO,MAAM,kBAAkB,kDAA0C,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import connectionContract_grata from "../ai.assemblyline/connections/grata.json" with { type: "json" };
|
|
2
|
+
import { defineMcpPluginConnection, defineOAuthAuthorization, definePlugin } from "@assemblyline-agents/core";
|
|
3
|
+
const PLUGIN = connectionContract_grata;
|
|
3
4
|
export function defineGrataConnection(options = {}) {
|
|
4
5
|
const { auth, clientId, clientSecret, redirectUri, ...connection } = options;
|
|
5
6
|
return defineMcpPluginConnection(PLUGIN, {
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,wBAAwB,MAAM,2CAA2C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACvG,OAAO,EACL,yBAAyB,EACzB,wBAAwB,EACxB,YAAY,EAGb,MAAM,2BAA2B,CAAC;AAEnC,MAAM,MAAM,GAAG,wBAA+D,CAAC;AAY/E,MAAM,UAAU,qBAAqB,CAAC,UAAkC,EAAE;IACxE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,WAAW,EAAE,GAAG,UAAU,EAAE,GAAG,OAAO,CAAC;IAC7E,OAAO,yBAAyB,CAAC,MAAM,EAAE;QACvC,GAAG,UAAU;QACb,IAAI,EAAE,IAAI,KAAK,KAAK;YAClB,CAAC,CAAC,KAAK;YACP,CAAC,CAAC,IAAI,IAAI,UAAU,CAAC;gBACjB,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;gBACjC,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;gBACzC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;gBACvC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;aACtD,CAAC;KACP,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAG,YAAY,CAA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AC,CAAC,CAAC,EAAE,CAAC;YACvC,mBAAmB,EAAE,EAAE,QAAQ,EAAE;YACjC,WAAW,EAAE,EAAE,QAAQ,EAAE;YACzB,IAAI,EAAE,IAAI;SACX,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@assemblyline-agents/grata",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -9,11 +9,13 @@
|
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@assemblyline-agents/core": "
|
|
12
|
+
"@assemblyline-agents/core": "6.0.0"
|
|
13
13
|
},
|
|
14
14
|
"description": "Official Assembly Line Grata hosted MCP connection plugin.",
|
|
15
15
|
"files": [
|
|
16
|
-
"dist"
|
|
16
|
+
"dist",
|
|
17
|
+
"plugin.json",
|
|
18
|
+
"ai.assemblyline"
|
|
17
19
|
],
|
|
18
20
|
"engines": {
|
|
19
21
|
"node": ">=22.19.0"
|
package/plugin.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
|
+
"name": "grata",
|
|
4
|
+
"version": "6.0.0",
|
|
5
|
+
"description": "Official Assembly Line Grata hosted MCP connection plugin.",
|
|
6
|
+
"extensions": {
|
|
7
|
+
"ai.assemblyline": {
|
|
8
|
+
"entry": "./ai.assemblyline/index.cjs"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|