Browse Source

Fix mcp oauth

Alvin Unreal 2 months ago
parent
commit
cf8838784f
5 changed files with 5 additions and 1 deletions
  1. 1 1
      package.json
  2. 1 0
      src/mcp/context7.ts
  3. 1 0
      src/mcp/grep-app.ts
  4. 1 0
      src/mcp/types.ts
  5. 1 0
      src/mcp/websearch.ts

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "oh-my-opencode-slim",
-  "version": "0.3.1",
+  "version": "0.3.2",
   "description": "Lightweight agent orchestration plugin for OpenCode - a slimmed-down fork of oh-my-opencode",
   "main": "dist/index.js",
   "types": "dist/index.d.ts",

+ 1 - 0
src/mcp/context7.ts

@@ -7,4 +7,5 @@ import type { RemoteMcpConfig } from "./types";
 export const context7: RemoteMcpConfig = {
   type: "remote",
   url: "https://mcp.context7.com/mcp",
+  oauth: false,
 };

+ 1 - 0
src/mcp/grep-app.ts

@@ -7,4 +7,5 @@ import type { RemoteMcpConfig } from "./types";
 export const grep_app: RemoteMcpConfig = {
   type: "remote",
   url: "https://mcp.grep.app",
+  oauth: false,
 };

+ 1 - 0
src/mcp/types.ts

@@ -4,4 +4,5 @@ export type RemoteMcpConfig = {
   type: "remote";
   url: string;
   headers?: Record<string, string>;
+  oauth?: false;
 };

+ 1 - 0
src/mcp/websearch.ts

@@ -10,4 +10,5 @@ export const websearch: RemoteMcpConfig = {
   headers: process.env.EXA_API_KEY
     ? { "x-api-key": process.env.EXA_API_KEY }
     : undefined,
+  oauth: false,
 };