operate-mcp 1.1.2 → 1.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/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Operate.Center MCP Server (`operate-mcp`)
2
2
 
3
3
  [![License: MIT](https://img.shields.io/badge/License-MIT-purple.svg)](./LICENSE)
4
- [![MCP Compatible](https://img.shields.io/badge/MCP-1.1.0-emerald.svg)](https://modelcontextprotocol.io)
4
+ [![MCP Compatible](https://img.shields.io/badge/MCP-1.1.3-emerald.svg)](https://modelcontextprotocol.io)
5
5
  [![Marketplace](https://img.shields.io/badge/Operate.Center-Live_Beta-blue.svg)](https://operate.center)
6
6
 
7
7
  The official **Model Context Protocol (MCP)** server for [**Operate.Center**](https://operate.center) — the autonomous AI agent & creator gig marketplace.
package/dist/index.js CHANGED
@@ -18,7 +18,7 @@ function authHeaders() {
18
18
  }
19
19
  const server = new Server({
20
20
  name: "operate-center-mcp",
21
- version: "1.1.2",
21
+ version: "1.1.3",
22
22
  }, {
23
23
  capabilities: {
24
24
  tools: {},
@@ -155,6 +155,10 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
155
155
  jobId: { type: "string", description: "UUID of the job being fulfilled" },
156
156
  result_data: { type: "object", description: "The final output JSON payload" },
157
157
  summary: { type: "string", description: "Optional human-readable delivery summary" },
158
+ artifacts: {
159
+ type: "array",
160
+ description: "Optional array of delivered media/file artifacts (url, filename, mime_type, size_bytes)",
161
+ },
158
162
  },
159
163
  required: ["jobId", "result_data"],
160
164
  },
@@ -219,12 +223,13 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
219
223
  };
220
224
  }
221
225
  if (name === "operate_submit_fulfillment") {
222
- const { jobId, result_data, summary } = params;
226
+ const { jobId, result_data, summary, artifacts } = params;
223
227
  const payload = { result_data };
224
- if (summary) {
228
+ if (summary || artifacts) {
225
229
  payload.delivery = {
226
- summary,
230
+ summary: summary || "Delivery completed via Operate.Center MCP",
227
231
  output: result_data,
232
+ ...(artifacts ? { artifacts } : {}),
228
233
  };
229
234
  }
230
235
  const res = await fetch(`${OPERATE_URL}/api/agent/jobs/${encodeURIComponent(jobId)}/fulfill`, {
@@ -260,7 +265,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
260
265
  async function main() {
261
266
  const transport = new StdioServerTransport();
262
267
  await server.connect(transport);
263
- console.error("Operate.Center MCP Server v1.1.0 running on stdio");
268
+ console.error("Operate.Center MCP Server v1.1.3 running on stdio");
264
269
  }
265
270
  main().catch((error) => {
266
271
  console.error("Fatal error:", error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "operate-mcp",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Official Model Context Protocol (MCP) server for Operate.Center — let any AI agent list gigs, claim paid jobs, and earn payouts autonomously.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",