proctor-mcp-server 0.1.1 → 0.1.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proctor-mcp-server",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Local implementation of Proctor MCP server",
5
5
  "main": "build/index.js",
6
6
  "type": "module",
@@ -8,6 +8,8 @@ export async function* runExam(apiKey, baseUrl, params) {
8
8
  runtime_id: params.runtime_id,
9
9
  exam_id: params.exam_id,
10
10
  mcp_config: params.mcp_json,
11
+ // Always disable OAuth credential persistence - the MCP server manages its own credentials
12
+ no_result_persistence: true,
11
13
  };
12
14
  if (params.server_json) {
13
15
  body.server_json = params.server_json;
package/shared/server.js CHANGED
@@ -32,7 +32,7 @@ export class ProctorClient {
32
32
  export function createMCPServer() {
33
33
  const server = new Server({
34
34
  name: 'proctor-mcp-server',
35
- version: '0.1.1',
35
+ version: '0.1.2',
36
36
  }, {
37
37
  capabilities: {
38
38
  tools: {},
package/shared/types.d.ts CHANGED
@@ -71,6 +71,13 @@ export interface RunExamParams {
71
71
  server_json?: string;
72
72
  custom_runtime_image?: string;
73
73
  max_retries?: number;
74
+ /**
75
+ * When true, OAuth credentials obtained via web bridge are not persisted in the database.
76
+ * Instead, the user receives a one-time copy-to-clipboard page with their credentials.
77
+ * This is useful for the MCP server since it manages its own credential storage.
78
+ * @internal Hardcoded to true in the API client - not exposed as a tool parameter
79
+ */
80
+ no_result_persistence?: boolean;
74
81
  }
75
82
  /**
76
83
  * Fly.io machine information