@thupham/volley-mcp 1.0.2 → 1.0.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.js CHANGED
@@ -15,7 +15,7 @@ import { registerSaveTool } from "./tools/save.js";
15
15
  import { registerPolicyTool } from "./tools/policy.js";
16
16
  import { registerImporterTools } from "./tools/importers.js";
17
17
  async function main() {
18
- const server = new McpServer({ name: "volley", version: "1.0.2" });
18
+ const server = new McpServer({ name: "volley", version: "1.0.3" });
19
19
  const session = new Session();
20
20
  registerRequestTools(server, session);
21
21
  registerStreamTools(server, session);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thupham/volley-mcp",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "MCP server for AI-agent-driven API testing (REST/GraphQL/WS/SSE/gRPC)",
5
5
  "type": "module",
6
6
  "bin": {
@@ -14,7 +14,7 @@
14
14
  "@modelcontextprotocol/sdk": "^1.12.0",
15
15
  "yaml": "^2.6.1",
16
16
  "zod": "^3.23.8",
17
- "@thupham/volley-core": "1.0.2"
17
+ "@thupham/volley-core": "1.0.3"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/node": "^22.10.0",
@@ -27,6 +27,11 @@
27
27
  "node": ">=18"
28
28
  },
29
29
  "license": "MIT",
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "https://github.com/thuupx/volley.git",
33
+ "directory": "packages/mcp-server"
34
+ },
30
35
  "publishConfig": {
31
36
  "access": "public"
32
37
  },
@@ -1,6 +0,0 @@
1
- import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
2
- /**
3
- * Phase 0 smoke-test tool. Proves the full round trip:
4
- * MCP client -> TS server -> napi-rs -> Rust core -> back.
5
- */
6
- export declare function registerPingTool(server: McpServer): void;
@@ -1,29 +0,0 @@
1
- import { z } from "zod";
2
- import { ping } from "../native.js";
3
- /**
4
- * Phase 0 smoke-test tool. Proves the full round trip:
5
- * MCP client -> TS server -> napi-rs -> Rust core -> back.
6
- */
7
- export function registerPingTool(server) {
8
- server.registerTool("ping", {
9
- title: "Ping the core",
10
- description: "Round-trip smoke test that calls into the Rust core engine and returns a pong. " +
11
- "Use to verify the MCP server and native addon are wired up correctly.",
12
- inputSchema: {
13
- message: z.string().describe("Text to echo back through the Rust core."),
14
- delayMs: z
15
- .number()
16
- .int()
17
- .min(0)
18
- .max(10000)
19
- .optional()
20
- .describe("Optional async delay in the core, to exercise the async FFI path."),
21
- },
22
- }, async ({ message, delayMs }) => {
23
- const result = await ping({ message, delayMs });
24
- return {
25
- content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
26
- };
27
- });
28
- }
29
- //# sourceMappingURL=ping.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ping.js","sourceRoot":"","sources":["../../src/tools/ping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC;;;GAGG;AACH,MAAM,UAAU,gBAAgB,CAAC,MAAiB;IAChD,MAAM,CAAC,YAAY,CACjB,MAAM,EACN;QACE,KAAK,EAAE,eAAe;QACtB,WAAW,EACT,iFAAiF;YACjF,uEAAuE;QACzE,WAAW,EAAE;YACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC;YACxE,OAAO,EAAE,CAAC;iBACP,MAAM,EAAE;iBACR,GAAG,EAAE;iBACL,GAAG,CAAC,CAAC,CAAC;iBACN,GAAG,CAAC,KAAK,CAAC;iBACV,QAAQ,EAAE;iBACV,QAAQ,CAAC,mEAAmE,CAAC;SACjF;KACF,EACD,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE;QAC7B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC;QAChD,OAAO;YACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC;SACnE,CAAC;IACJ,CAAC,CACF,CAAC;AACJ,CAAC"}