@robosystems/mcp 0.5.2 → 0.5.4
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 +17 -19
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/@robosystems/mcp)
|
|
4
4
|
[](https://opensource.org/licenses/MIT)
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The official MCP (Model Context Protocol) stdio bridge for RoboSystems, the open-source knowledge graph for finance; it proxies to the hosted endpoint by default, for AI clients that speak only stdio. Query financial statements, explore graph structures, resolve XBRL elements, and build fact grids.
|
|
7
7
|
|
|
8
8
|
> **The preferred way to connect is the hosted remote MCP endpoint — no install required.** Every RoboSystems graph serves the MCP Streamable HTTP transport directly. OAuth-capable clients (claude.ai, Claude Code, ChatGPT, VS Code, Cursor) add `https://api.robosystems.ai/v1/mcp`, sign in, and pick the graph on the consent screen; any HTTP-capable client can instead add a per-graph URL `https://api.robosystems.ai/v1/graphs/{graph_id}/mcp` with an API key in the `X-API-Key` header. **This npx package is in maintenance mode** and exists only for clients that speak nothing but the stdio transport: it is a transparent proxy that forwards that same transport over stdio. See [Migrating to the remote endpoint](#migrating-to-the-remote-endpoint).
|
|
9
9
|
|
|
@@ -43,7 +43,7 @@ Add to your MCP servers configuration:
|
|
|
43
43
|
|
|
44
44
|
### How it works
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
This package is a transparent pipe between your stdio client and the graph's native MCP endpoint (`POST /v1/graphs/{graph_id}/mcp`, Streamable HTTP). Every JSON-RPC message is forwarded verbatim, so per-session instructions, the live server tool list, and streamed progress notifications behave exactly as they do when connecting the URL directly — the only thing the proxy adds is the API-key header the stdio client can't send itself. The standard configuration above is all it needs.
|
|
47
47
|
|
|
48
48
|
To target a specific endpoint (for example a local stack), point `ROBOSYSTEMS_MCP_URL` at the full URL, e.g. `http://localhost:8000/v1/graphs/kg.../mcp` — no graph ID needed.
|
|
49
49
|
|
|
@@ -76,7 +76,7 @@ claude mcp add --transport http robosystems-sec \
|
|
|
76
76
|
|
|
77
77
|
Local development uses the same shape against a local stack: `http://localhost:8000/v1/graphs/{graph_id}/mcp`.
|
|
78
78
|
|
|
79
|
-
**Claude (claude.ai / Desktop)** — Settings → Connectors → Add custom connector with `https://api.robosystems.ai/v1/mcp` (or a per-graph URL): Claude detects OAuth and you pick the graph at sign-in; no key involved. Credentials never travel in the URL — the older `?token=` connector URL was the bridge to OAuth and has been retired. Claude Desktop can alternatively run this package via `claude_desktop_config.json` (the config file accepts only stdio-shaped `command` entries); in its default [proxy mode](#
|
|
79
|
+
**Claude (claude.ai / Desktop)** — Settings → Connectors → Add custom connector with `https://api.robosystems.ai/v1/mcp` (or a per-graph URL): Claude detects OAuth and you pick the graph at sign-in; no key involved. Credentials never travel in the URL — the older `?token=` connector URL was the bridge to OAuth and has been retired. Claude Desktop can alternatively run this package via `claude_desktop_config.json` (the config file accepts only stdio-shaped `command` entries); in its default [proxy mode](#how-it-works) it delivers the same remote-endpoint behavior over stdio with the key in a header.
|
|
80
80
|
|
|
81
81
|
## Tools
|
|
82
82
|
|
|
@@ -84,25 +84,23 @@ Tools are loaded dynamically from the RoboSystems API based on your graph, so th
|
|
|
84
84
|
|
|
85
85
|
### Financial Data
|
|
86
86
|
|
|
87
|
-
| Tool
|
|
88
|
-
|
|
|
89
|
-
| `
|
|
90
|
-
| `
|
|
91
|
-
| `
|
|
92
|
-
| `build-fact-grid`
|
|
87
|
+
| Tool | Description |
|
|
88
|
+
| ------------------------------ | ------------------------------------------------------------------------------ |
|
|
89
|
+
| `financial-statement-analysis` | A company's financial statements, by ticker or CIK and reporting period |
|
|
90
|
+
| `disclosures` | The map of a report's sections: one row per note or statement |
|
|
91
|
+
| `information-block` | One section read whole: rows, breakdowns, calculation footing, and text blocks |
|
|
92
|
+
| `build-fact-grid` | Construct multidimensional fact grids from graph data for analysis |
|
|
93
93
|
|
|
94
94
|
### Graph Exploration
|
|
95
95
|
|
|
96
|
-
| Tool
|
|
97
|
-
|
|
|
98
|
-
| `
|
|
99
|
-
| `get-graph-schema`
|
|
100
|
-
| `
|
|
101
|
-
| `
|
|
102
|
-
| `
|
|
103
|
-
| `
|
|
104
|
-
| `get-properties` | Discover available properties on node types |
|
|
105
|
-
| `get-example-queries` | Query templates and examples for common patterns |
|
|
96
|
+
| Tool | Description |
|
|
97
|
+
| --------------------- | -------------------------------------------------------------- |
|
|
98
|
+
| `read-graph-cypher` | Run read-only Cypher queries against the knowledge graph |
|
|
99
|
+
| `get-graph-schema` | Introspect node types, relationships, and properties |
|
|
100
|
+
| `get-graph-info` | Graph metadata and statistics |
|
|
101
|
+
| `resolve-element` | Map financial concepts (e.g. "revenue") to XBRL element qnames |
|
|
102
|
+
| `search-documents` | Find which filings or documents discuss something |
|
|
103
|
+
| `get-example-queries` | Query templates and examples for common patterns |
|
|
106
104
|
|
|
107
105
|
## Resources
|
|
108
106
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@robosystems/mcp",
|
|
3
|
-
"version": "0.5.
|
|
4
|
-
"description": "MCP stdio bridge
|
|
3
|
+
"version": "0.5.4",
|
|
4
|
+
"description": "MCP stdio bridge for RoboSystems, the open-source knowledge graph for finance; proxies to the hosted endpoint by default",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"bin": {
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"license": "MIT",
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@eslint/js": "^9.39.2",
|
|
44
|
-
"eslint": "^
|
|
44
|
+
"eslint": "^10.13.0",
|
|
45
45
|
"eslint-config-prettier": "^10.0.0",
|
|
46
46
|
"eslint-plugin-prettier": "^5.0.0",
|
|
47
|
-
"happy-dom": "^
|
|
47
|
+
"happy-dom": "^21.0.4",
|
|
48
48
|
"prettier": "^3.0.0",
|
|
49
49
|
"vitest": "^4.0.3"
|
|
50
50
|
},
|