File tree Expand file tree Collapse file tree 3 files changed +19
-6
lines changed Expand file tree Collapse file tree 3 files changed +19
-6
lines changed Original file line number Diff line number Diff line change @@ -11,10 +11,22 @@ Add the following to your Claude Desktop MCP server configuration:
11
11
{
12
12
"mcpServers": {
13
13
"orca-mcp": {
14
- "command": "node ",
14
+ "command": "npx ",
15
15
"args": [
16
- "@giraffemedia/orca-mcp@latest"
17
- ]
16
+ "@giraffemedia/[email protected] ",
17
+ "--verbose=true",
18
+ "--max-results=1000",
19
+ "--workspace=C:\\Data",
20
+ "--file-uri=s3://giraffe-media-content/mcp-data/orca.json"
21
+ ],
22
+ "env": {
23
+ "NODE_ENV": "production",
24
+ "API_KEY": "TEST",
25
+ "DEBUG": "true",
26
+ "AWS_ACCESS_KEY_ID": "YOUR_ACCESS_KEY_ID",
27
+ "AWS_SECRET_ACCESS_KEY": "YOUR_SECRET_ACCESS_KEY",
28
+ "AWS_REGION": "YOUR_AWS_REGION"
29
+ }
18
30
}
19
31
}
20
32
}
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ class OrcaMCPServer {
70
70
71
71
try {
72
72
const s3Sync = new S3SyncService ( { verbose : this . options . verbose } ) ;
73
-
73
+
74
74
// Extract filename from S3 URI for local path
75
75
const s3UriParts = this . options . fileUri . split ( '/' ) ;
76
76
const filename = s3UriParts [ s3UriParts . length - 1 ] ;
@@ -81,7 +81,7 @@ class OrcaMCPServer {
81
81
}
82
82
83
83
const wasDownloaded = await s3Sync . syncFile ( this . options . fileUri , localPath ) ;
84
-
84
+
85
85
if ( wasDownloaded ) {
86
86
console . error ( `✅ File synchronized from S3: ${ filename } ` ) ;
87
87
} else if ( this . options . verbose ) {
@@ -91,7 +91,7 @@ class OrcaMCPServer {
91
91
} catch ( error ) {
92
92
const err = error as { message : string } ;
93
93
console . error ( `❌ S3 sync failed: ${ err . message } ` ) ;
94
-
94
+
95
95
// Don't exit - continue with server startup using existing local file if available
96
96
if ( this . options . verbose ) {
97
97
console . error ( '⚠️ Continuing with server startup - will use existing local files if available' ) ;
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import generator from 'json-schema-generator';
5
5
import { JSONPath } from 'jsonpath-plus' ;
6
6
import { z } from 'zod' ;
7
7
8
+
8
9
export function registerJsonQueryTool ( server : McpServer ) {
9
10
server . registerTool (
10
11
'json_query' ,
You can’t perform that action at this time.
0 commit comments