@ramaris/mcp-server 0.1.2 → 0.1.3
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/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -10
- package/dist/index.js.map +1 -1
- package/package.json +10 -1
package/dist/index.d.ts
CHANGED
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":";AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,OAAO,EAAE,YAAY,EAAE,CAAC;AAExB,wBAAgB,mBAAmB,gEAGlC"}
|
package/dist/index.js
CHANGED
|
@@ -2,16 +2,19 @@
|
|
|
2
2
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
3
3
|
import { RamarisClient } from '@ramaris/sdk';
|
|
4
4
|
import { createServer } from './server.js';
|
|
5
|
+
export { createServer };
|
|
6
|
+
export function createSandboxServer() {
|
|
7
|
+
const client = new RamarisClient({ apiKey: 'rms_sandbox' });
|
|
8
|
+
return createServer(client);
|
|
9
|
+
}
|
|
5
10
|
const apiKey = process.env['RAMARIS_API_KEY'];
|
|
6
|
-
if (
|
|
7
|
-
|
|
8
|
-
|
|
11
|
+
if (apiKey) {
|
|
12
|
+
const client = new RamarisClient({
|
|
13
|
+
apiKey,
|
|
14
|
+
baseUrl: process.env['RAMARIS_API_URL'] ?? undefined,
|
|
15
|
+
});
|
|
16
|
+
const server = createServer(client);
|
|
17
|
+
const transport = new StdioServerTransport();
|
|
18
|
+
server.connect(transport);
|
|
9
19
|
}
|
|
10
|
-
const client = new RamarisClient({
|
|
11
|
-
apiKey,
|
|
12
|
-
baseUrl: process.env['RAMARIS_API_URL'] ?? undefined,
|
|
13
|
-
});
|
|
14
|
-
const server = createServer(client);
|
|
15
|
-
const transport = new StdioServerTransport();
|
|
16
|
-
await server.connect(transport);
|
|
17
20
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,OAAO,EAAE,YAAY,EAAE,CAAC;AAExB,MAAM,UAAU,mBAAmB;IACjC,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,EAAE,MAAM,EAAE,aAAa,EAAE,CAAC,CAAC;IAC5D,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC;AAC9B,CAAC;AAED,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;AAC9C,IAAI,MAAM,EAAE,CAAC;IACX,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC;QAC/B,MAAM;QACN,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,SAAS;KACrD,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC;IACpC,MAAM,SAAS,GAAG,IAAI,oBAAoB,EAAE,CAAC;IAC7C,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;AAC5B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ramaris/mcp-server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"mcpName": "io.github.ramaris-app/mcp-server",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.ts"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
6
14
|
"bin": {
|
|
7
15
|
"ramaris-mcp": "./dist/index.js"
|
|
8
16
|
},
|
|
@@ -18,6 +26,7 @@
|
|
|
18
26
|
"zod": "^3.25.0"
|
|
19
27
|
},
|
|
20
28
|
"devDependencies": {
|
|
29
|
+
"@types/node": "^24.10.1",
|
|
21
30
|
"typescript": "^5.9.3",
|
|
22
31
|
"vitest": "^4.0.16"
|
|
23
32
|
},
|