forked from oomol-lab/open-connector
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefinition.ts
More file actions
44 lines (41 loc) · 1.67 KB
/
Copy pathdefinition.ts
File metadata and controls
44 lines (41 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import type { ProviderDefinition } from "../../core/types.ts";
import { jumpServerActions } from "./actions.ts";
const service = "jumpserver";
/** JumpServer provider backed by the official jumpserver/mcp server. */
export const provider: ProviderDefinition = {
service,
displayName: "JumpServer",
description:
"Inspect assets, nodes, accounts, users, permissions, and sessions through an official JumpServer MCP server.",
categories: ["Developer Tools", "Infrastructure", "Security"],
authTypes: ["custom_credential"],
auth: [
{
type: "custom_credential",
fields: [
{
key: "mcpEndpoint",
label: "MCP Endpoint",
inputType: "text",
required: true,
secret: false,
placeholder: "https://jumpserver-mcp.example.com/sse",
description:
"The Streamable HTTP endpoint, or the legacy SSE endpoint exposed by official jumpserver/mcp deployments. Public HTTPS endpoints are supported by default. Private-network, Tailscale, and NetBird endpoints require OOMOL_CONNECT_ALLOW_PRIVATE_NETWORK. Loopback endpoints remain blocked. See https://github.com/jumpserver/mcp.",
},
{
key: "token",
label: "JumpServer Bearer Token",
inputType: "password",
required: true,
secret: true,
placeholder: "Enter the JumpServer API token",
description:
"A JumpServer API Bearer token forwarded by jumpserver/mcp to the JumpServer API. If the MCP server enables api_key, configure it to accept this same token.",
},
],
},
],
homepageUrl: "https://www.jumpserver.org",
actions: jumpServerActions,
};