@steuerboard/mcp 0.0.1
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 +225 -0
- package/bin/mcp-server.js +46360 -0
- package/bin/mcp-server.js.map +351 -0
- package/esm/src/cloudflare-worker/cloudflare-worker.d.ts +17 -0
- package/esm/src/cloudflare-worker/cloudflare-worker.d.ts.map +1 -0
- package/esm/src/cloudflare-worker/cloudflare-worker.js +69 -0
- package/esm/src/cloudflare-worker/cloudflare-worker.js.map +1 -0
- package/esm/src/cloudflare-worker/landing-page.d.ts +2 -0
- package/esm/src/cloudflare-worker/landing-page.d.ts.map +1 -0
- package/esm/src/cloudflare-worker/landing-page.js +329 -0
- package/esm/src/cloudflare-worker/landing-page.js.map +1 -0
- package/esm/src/core.d.ts +10 -0
- package/esm/src/core.d.ts.map +1 -0
- package/esm/src/core.js +13 -0
- package/esm/src/core.js.map +1 -0
- package/esm/src/funcs/adminClientsGetClient.d.ts +16 -0
- package/esm/src/funcs/adminClientsGetClient.d.ts.map +1 -0
- package/esm/src/funcs/adminClientsGetClient.js +95 -0
- package/esm/src/funcs/adminClientsGetClient.js.map +1 -0
- package/esm/src/funcs/adminClientsListClients.d.ts +16 -0
- package/esm/src/funcs/adminClientsListClients.d.ts.map +1 -0
- package/esm/src/funcs/adminClientsListClients.js +92 -0
- package/esm/src/funcs/adminClientsListClients.js.map +1 -0
- package/esm/src/funcs/authGetV1Me.d.ts +13 -0
- package/esm/src/funcs/authGetV1Me.d.ts.map +1 -0
- package/esm/src/funcs/authGetV1Me.js +71 -0
- package/esm/src/funcs/authGetV1Me.js.map +1 -0
- package/esm/src/funcs/filesCreateFile.d.ts +16 -0
- package/esm/src/funcs/filesCreateFile.d.ts.map +1 -0
- package/esm/src/funcs/filesCreateFile.js +126 -0
- package/esm/src/funcs/filesCreateFile.js.map +1 -0
- package/esm/src/funcs/filesDeleteFile.d.ts +16 -0
- package/esm/src/funcs/filesDeleteFile.d.ts.map +1 -0
- package/esm/src/funcs/filesDeleteFile.js +99 -0
- package/esm/src/funcs/filesDeleteFile.js.map +1 -0
- package/esm/src/funcs/filesGetFile.d.ts +16 -0
- package/esm/src/funcs/filesGetFile.d.ts.map +1 -0
- package/esm/src/funcs/filesGetFile.js +99 -0
- package/esm/src/funcs/filesGetFile.js.map +1 -0
- package/esm/src/funcs/filesListFiles.d.ts +16 -0
- package/esm/src/funcs/filesListFiles.d.ts.map +1 -0
- package/esm/src/funcs/filesListFiles.js +91 -0
- package/esm/src/funcs/filesListFiles.js.map +1 -0
- package/esm/src/funcs/filesUpdateFile.d.ts +16 -0
- package/esm/src/funcs/filesUpdateFile.d.ts.map +1 -0
- package/esm/src/funcs/filesUpdateFile.js +100 -0
- package/esm/src/funcs/filesUpdateFile.js.map +1 -0
- package/esm/src/funcs/healthCheckGetV1.d.ts +13 -0
- package/esm/src/funcs/healthCheckGetV1.d.ts.map +1 -0
- package/esm/src/funcs/healthCheckGetV1.js +67 -0
- package/esm/src/funcs/healthCheckGetV1.js.map +1 -0
- package/esm/src/funcs/healthCheckGetV1Ping.d.ts +13 -0
- package/esm/src/funcs/healthCheckGetV1Ping.d.ts.map +1 -0
- package/esm/src/funcs/healthCheckGetV1Ping.js +71 -0
- package/esm/src/funcs/healthCheckGetV1Ping.js.map +1 -0
- package/esm/src/funcs/tasksCreateTask.d.ts +16 -0
- package/esm/src/funcs/tasksCreateTask.d.ts.map +1 -0
- package/esm/src/funcs/tasksCreateTask.js +88 -0
- package/esm/src/funcs/tasksCreateTask.js.map +1 -0
- package/esm/src/funcs/tasksDeleteTask.d.ts +16 -0
- package/esm/src/funcs/tasksDeleteTask.d.ts.map +1 -0
- package/esm/src/funcs/tasksDeleteTask.js +93 -0
- package/esm/src/funcs/tasksDeleteTask.js.map +1 -0
- package/esm/src/funcs/tasksGetTask.d.ts +16 -0
- package/esm/src/funcs/tasksGetTask.d.ts.map +1 -0
- package/esm/src/funcs/tasksGetTask.js +93 -0
- package/esm/src/funcs/tasksGetTask.js.map +1 -0
- package/esm/src/funcs/tasksListTasks.d.ts +16 -0
- package/esm/src/funcs/tasksListTasks.d.ts.map +1 -0
- package/esm/src/funcs/tasksListTasks.js +86 -0
- package/esm/src/funcs/tasksListTasks.js.map +1 -0
- package/esm/src/funcs/tasksUpdateTask.d.ts +16 -0
- package/esm/src/funcs/tasksUpdateTask.d.ts.map +1 -0
- package/esm/src/funcs/tasksUpdateTask.js +90 -0
- package/esm/src/funcs/tasksUpdateTask.js.map +1 -0
- package/esm/src/funcs/workspacesGetWorkspace.d.ts +16 -0
- package/esm/src/funcs/workspacesGetWorkspace.d.ts.map +1 -0
- package/esm/src/funcs/workspacesGetWorkspace.js +99 -0
- package/esm/src/funcs/workspacesGetWorkspace.js.map +1 -0
- package/esm/src/funcs/workspacesListWorkspaces.d.ts +16 -0
- package/esm/src/funcs/workspacesListWorkspaces.d.ts.map +1 -0
- package/esm/src/funcs/workspacesListWorkspaces.js +90 -0
- package/esm/src/funcs/workspacesListWorkspaces.js.map +1 -0
- package/esm/src/hooks/hooks.d.ts +25 -0
- package/esm/src/hooks/hooks.d.ts.map +1 -0
- package/esm/src/hooks/hooks.js +82 -0
- package/esm/src/hooks/hooks.js.map +1 -0
- package/esm/src/hooks/registration.d.ts +3 -0
- package/esm/src/hooks/registration.d.ts.map +1 -0
- package/esm/src/hooks/registration.js +12 -0
- package/esm/src/hooks/registration.js.map +1 -0
- package/esm/src/hooks/types.d.ts +76 -0
- package/esm/src/hooks/types.d.ts.map +1 -0
- package/esm/src/hooks/types.js +5 -0
- package/esm/src/hooks/types.js.map +1 -0
- package/esm/src/lib/base64.d.ts +10 -0
- package/esm/src/lib/base64.d.ts.map +1 -0
- package/esm/src/lib/base64.js +29 -0
- package/esm/src/lib/base64.js.map +1 -0
- package/esm/src/lib/config.d.ts +42 -0
- package/esm/src/lib/config.d.ts.map +1 -0
- package/esm/src/lib/config.js +31 -0
- package/esm/src/lib/config.js.map +1 -0
- package/esm/src/lib/dlv.d.ts +14 -0
- package/esm/src/lib/dlv.d.ts.map +1 -0
- package/esm/src/lib/dlv.js +46 -0
- package/esm/src/lib/dlv.js.map +1 -0
- package/esm/src/lib/encodings.d.ts +52 -0
- package/esm/src/lib/encodings.d.ts.map +1 -0
- package/esm/src/lib/encodings.js +354 -0
- package/esm/src/lib/encodings.js.map +1 -0
- package/esm/src/lib/env.d.ts +15 -0
- package/esm/src/lib/env.d.ts.map +1 -0
- package/esm/src/lib/env.js +27 -0
- package/esm/src/lib/env.js.map +1 -0
- package/esm/src/lib/files.d.ts +13 -0
- package/esm/src/lib/files.d.ts.map +1 -0
- package/esm/src/lib/files.js +73 -0
- package/esm/src/lib/files.js.map +1 -0
- package/esm/src/lib/http.d.ts +67 -0
- package/esm/src/lib/http.d.ts.map +1 -0
- package/esm/src/lib/http.js +209 -0
- package/esm/src/lib/http.js.map +1 -0
- package/esm/src/lib/is-plain-object.d.ts +2 -0
- package/esm/src/lib/is-plain-object.d.ts.map +1 -0
- package/esm/src/lib/is-plain-object.js +38 -0
- package/esm/src/lib/is-plain-object.js.map +1 -0
- package/esm/src/lib/logger.d.ts +6 -0
- package/esm/src/lib/logger.d.ts.map +1 -0
- package/esm/src/lib/logger.js +5 -0
- package/esm/src/lib/logger.js.map +1 -0
- package/esm/src/lib/matchers.d.ts +66 -0
- package/esm/src/lib/matchers.d.ts.map +1 -0
- package/esm/src/lib/matchers.js +209 -0
- package/esm/src/lib/matchers.js.map +1 -0
- package/esm/src/lib/primitives.d.ts +11 -0
- package/esm/src/lib/primitives.d.ts.map +1 -0
- package/esm/src/lib/primitives.js +81 -0
- package/esm/src/lib/primitives.js.map +1 -0
- package/esm/src/lib/result.d.ts +31 -0
- package/esm/src/lib/result.d.ts.map +1 -0
- package/esm/src/lib/result.js +31 -0
- package/esm/src/lib/result.js.map +1 -0
- package/esm/src/lib/retries.d.ts +38 -0
- package/esm/src/lib/retries.d.ts.map +1 -0
- package/esm/src/lib/retries.js +150 -0
- package/esm/src/lib/retries.js.map +1 -0
- package/esm/src/lib/schemas.d.ts +19 -0
- package/esm/src/lib/schemas.d.ts.map +1 -0
- package/esm/src/lib/schemas.js +57 -0
- package/esm/src/lib/schemas.js.map +1 -0
- package/esm/src/lib/sdks.d.ts +63 -0
- package/esm/src/lib/sdks.d.ts.map +1 -0
- package/esm/src/lib/sdks.js +258 -0
- package/esm/src/lib/sdks.js.map +1 -0
- package/esm/src/lib/security.d.ts +83 -0
- package/esm/src/lib/security.d.ts.map +1 -0
- package/esm/src/lib/security.js +138 -0
- package/esm/src/lib/security.js.map +1 -0
- package/esm/src/lib/url.d.ts +5 -0
- package/esm/src/lib/url.d.ts.map +1 -0
- package/esm/src/lib/url.js +22 -0
- package/esm/src/lib/url.js.map +1 -0
- package/esm/src/mcp-server/cli/start/command.d.ts +2 -0
- package/esm/src/mcp-server/cli/start/command.d.ts.map +1 -0
- package/esm/src/mcp-server/cli/start/command.js +90 -0
- package/esm/src/mcp-server/cli/start/command.js.map +1 -0
- package/esm/src/mcp-server/cli/start/impl.d.ts +16 -0
- package/esm/src/mcp-server/cli/start/impl.d.ts.map +1 -0
- package/esm/src/mcp-server/cli/start/impl.js +96 -0
- package/esm/src/mcp-server/cli/start/impl.js.map +1 -0
- package/esm/src/mcp-server/cli.d.ts +6 -0
- package/esm/src/mcp-server/cli.d.ts.map +1 -0
- package/esm/src/mcp-server/cli.js +7 -0
- package/esm/src/mcp-server/cli.js.map +1 -0
- package/esm/src/mcp-server/console-logger.d.ts +9 -0
- package/esm/src/mcp-server/console-logger.d.ts.map +1 -0
- package/esm/src/mcp-server/console-logger.js +56 -0
- package/esm/src/mcp-server/console-logger.js.map +1 -0
- package/esm/src/mcp-server/extensions.d.ts +11 -0
- package/esm/src/mcp-server/extensions.d.ts.map +1 -0
- package/esm/src/mcp-server/extensions.js +5 -0
- package/esm/src/mcp-server/extensions.js.map +1 -0
- package/esm/src/mcp-server/mcp-server.d.ts +2 -0
- package/esm/src/mcp-server/mcp-server.d.ts.map +1 -0
- package/esm/src/mcp-server/mcp-server.js +23 -0
- package/esm/src/mcp-server/mcp-server.js.map +1 -0
- package/esm/src/mcp-server/prompts.d.ts +26 -0
- package/esm/src/mcp-server/prompts.d.ts.map +1 -0
- package/esm/src/mcp-server/prompts.js +47 -0
- package/esm/src/mcp-server/prompts.js.map +1 -0
- package/esm/src/mcp-server/resources.d.ts +32 -0
- package/esm/src/mcp-server/resources.d.ts.map +1 -0
- package/esm/src/mcp-server/resources.js +82 -0
- package/esm/src/mcp-server/resources.js.map +1 -0
- package/esm/src/mcp-server/scopes.d.ts +3 -0
- package/esm/src/mcp-server/scopes.d.ts.map +1 -0
- package/esm/src/mcp-server/scopes.js +5 -0
- package/esm/src/mcp-server/scopes.js.map +1 -0
- package/esm/src/mcp-server/server.d.ts +15 -0
- package/esm/src/mcp-server/server.d.ts.map +1 -0
- package/esm/src/mcp-server/server.js +70 -0
- package/esm/src/mcp-server/server.js.map +1 -0
- package/esm/src/mcp-server/shared.d.ts +8 -0
- package/esm/src/mcp-server/shared.d.ts.map +1 -0
- package/esm/src/mcp-server/shared.js +61 -0
- package/esm/src/mcp-server/shared.js.map +1 -0
- package/esm/src/mcp-server/tools/adminClientsGetClient.d.ts +7 -0
- package/esm/src/mcp-server/tools/adminClientsGetClient.d.ts.map +1 -0
- package/esm/src/mcp-server/tools/adminClientsGetClient.js +28 -0
- package/esm/src/mcp-server/tools/adminClientsGetClient.js.map +1 -0
- package/esm/src/mcp-server/tools/adminClientsListClients.d.ts +7 -0
- package/esm/src/mcp-server/tools/adminClientsListClients.d.ts.map +1 -0
- package/esm/src/mcp-server/tools/adminClientsListClients.js +29 -0
- package/esm/src/mcp-server/tools/adminClientsListClients.js.map +1 -0
- package/esm/src/mcp-server/tools/authGetV1Me.d.ts +3 -0
- package/esm/src/mcp-server/tools/authGetV1Me.d.ts.map +1 -0
- package/esm/src/mcp-server/tools/authGetV1Me.js +21 -0
- package/esm/src/mcp-server/tools/authGetV1Me.js.map +1 -0
- package/esm/src/mcp-server/tools/filesCreateFile.d.ts +7 -0
- package/esm/src/mcp-server/tools/filesCreateFile.d.ts.map +1 -0
- package/esm/src/mcp-server/tools/filesCreateFile.js +28 -0
- package/esm/src/mcp-server/tools/filesCreateFile.js.map +1 -0
- package/esm/src/mcp-server/tools/filesDeleteFile.d.ts +7 -0
- package/esm/src/mcp-server/tools/filesDeleteFile.d.ts.map +1 -0
- package/esm/src/mcp-server/tools/filesDeleteFile.js +28 -0
- package/esm/src/mcp-server/tools/filesDeleteFile.js.map +1 -0
- package/esm/src/mcp-server/tools/filesGetFile.d.ts +7 -0
- package/esm/src/mcp-server/tools/filesGetFile.d.ts.map +1 -0
- package/esm/src/mcp-server/tools/filesGetFile.js +28 -0
- package/esm/src/mcp-server/tools/filesGetFile.js.map +1 -0
- package/esm/src/mcp-server/tools/filesListFiles.d.ts +7 -0
- package/esm/src/mcp-server/tools/filesListFiles.d.ts.map +1 -0
- package/esm/src/mcp-server/tools/filesListFiles.js +28 -0
- package/esm/src/mcp-server/tools/filesListFiles.js.map +1 -0
- package/esm/src/mcp-server/tools/filesUpdateFile.d.ts +7 -0
- package/esm/src/mcp-server/tools/filesUpdateFile.d.ts.map +1 -0
- package/esm/src/mcp-server/tools/filesUpdateFile.js +28 -0
- package/esm/src/mcp-server/tools/filesUpdateFile.js.map +1 -0
- package/esm/src/mcp-server/tools/healthCheckGetV1.d.ts +3 -0
- package/esm/src/mcp-server/tools/healthCheckGetV1.d.ts.map +1 -0
- package/esm/src/mcp-server/tools/healthCheckGetV1.js +21 -0
- package/esm/src/mcp-server/tools/healthCheckGetV1.js.map +1 -0
- package/esm/src/mcp-server/tools/healthCheckGetV1Ping.d.ts +3 -0
- package/esm/src/mcp-server/tools/healthCheckGetV1Ping.d.ts.map +1 -0
- package/esm/src/mcp-server/tools/healthCheckGetV1Ping.js +21 -0
- package/esm/src/mcp-server/tools/healthCheckGetV1Ping.js.map +1 -0
- package/esm/src/mcp-server/tools/tasksCreateTask.d.ts +7 -0
- package/esm/src/mcp-server/tools/tasksCreateTask.d.ts.map +1 -0
- package/esm/src/mcp-server/tools/tasksCreateTask.js +28 -0
- package/esm/src/mcp-server/tools/tasksCreateTask.js.map +1 -0
- package/esm/src/mcp-server/tools/tasksDeleteTask.d.ts +7 -0
- package/esm/src/mcp-server/tools/tasksDeleteTask.d.ts.map +1 -0
- package/esm/src/mcp-server/tools/tasksDeleteTask.js +28 -0
- package/esm/src/mcp-server/tools/tasksDeleteTask.js.map +1 -0
- package/esm/src/mcp-server/tools/tasksGetTask.d.ts +7 -0
- package/esm/src/mcp-server/tools/tasksGetTask.d.ts.map +1 -0
- package/esm/src/mcp-server/tools/tasksGetTask.js +28 -0
- package/esm/src/mcp-server/tools/tasksGetTask.js.map +1 -0
- package/esm/src/mcp-server/tools/tasksListTasks.d.ts +7 -0
- package/esm/src/mcp-server/tools/tasksListTasks.d.ts.map +1 -0
- package/esm/src/mcp-server/tools/tasksListTasks.js +28 -0
- package/esm/src/mcp-server/tools/tasksListTasks.js.map +1 -0
- package/esm/src/mcp-server/tools/tasksUpdateTask.d.ts +7 -0
- package/esm/src/mcp-server/tools/tasksUpdateTask.d.ts.map +1 -0
- package/esm/src/mcp-server/tools/tasksUpdateTask.js +28 -0
- package/esm/src/mcp-server/tools/tasksUpdateTask.js.map +1 -0
- package/esm/src/mcp-server/tools/workspacesGetWorkspace.d.ts +7 -0
- package/esm/src/mcp-server/tools/workspacesGetWorkspace.d.ts.map +1 -0
- package/esm/src/mcp-server/tools/workspacesGetWorkspace.js +28 -0
- package/esm/src/mcp-server/tools/workspacesGetWorkspace.js.map +1 -0
- package/esm/src/mcp-server/tools/workspacesListWorkspaces.d.ts +7 -0
- package/esm/src/mcp-server/tools/workspacesListWorkspaces.d.ts.map +1 -0
- package/esm/src/mcp-server/tools/workspacesListWorkspaces.js +28 -0
- package/esm/src/mcp-server/tools/workspacesListWorkspaces.js.map +1 -0
- package/esm/src/mcp-server/tools.d.ts +25 -0
- package/esm/src/mcp-server/tools.d.ts.map +1 -0
- package/esm/src/mcp-server/tools.js +79 -0
- package/esm/src/mcp-server/tools.js.map +1 -0
- package/esm/src/models/client.d.ts +20 -0
- package/esm/src/models/client.d.ts.map +1 -0
- package/esm/src/models/client.js +26 -0
- package/esm/src/models/client.js.map +1 -0
- package/esm/src/models/createfileop.d.ts +54 -0
- package/esm/src/models/createfileop.d.ts.map +1 -0
- package/esm/src/models/createfileop.js +46 -0
- package/esm/src/models/createfileop.js.map +1 -0
- package/esm/src/models/createtaskop.d.ts +38 -0
- package/esm/src/models/createtaskop.d.ts.map +1 -0
- package/esm/src/models/createtaskop.js +38 -0
- package/esm/src/models/createtaskop.js.map +1 -0
- package/esm/src/models/deletefileop.d.ts +53 -0
- package/esm/src/models/deletefileop.d.ts.map +1 -0
- package/esm/src/models/deletefileop.js +45 -0
- package/esm/src/models/deletefileop.js.map +1 -0
- package/esm/src/models/deleteresponse.d.ts +8 -0
- package/esm/src/models/deleteresponse.d.ts.map +1 -0
- package/esm/src/models/deleteresponse.js +10 -0
- package/esm/src/models/deleteresponse.js.map +1 -0
- package/esm/src/models/deletetaskop.d.ts +44 -0
- package/esm/src/models/deletetaskop.d.ts.map +1 -0
- package/esm/src/models/deletetaskop.js +40 -0
- package/esm/src/models/deletetaskop.js.map +1 -0
- package/esm/src/models/errors/apierror.d.ts +13 -0
- package/esm/src/models/errors/apierror.d.ts.map +1 -0
- package/esm/src/models/errors/apierror.js +12 -0
- package/esm/src/models/errors/apierror.js.map +1 -0
- package/esm/src/models/errors/httpclienterrors.d.ts +44 -0
- package/esm/src/models/errors/httpclienterrors.d.ts.map +1 -0
- package/esm/src/models/errors/httpclienterrors.js +56 -0
- package/esm/src/models/errors/httpclienterrors.js.map +1 -0
- package/esm/src/models/errors/sdkvalidationerror.d.ts +20 -0
- package/esm/src/models/errors/sdkvalidationerror.d.ts.map +1 -0
- package/esm/src/models/errors/sdkvalidationerror.js +85 -0
- package/esm/src/models/errors/sdkvalidationerror.js.map +1 -0
- package/esm/src/models/file.d.ts +17 -0
- package/esm/src/models/file.d.ts.map +1 -0
- package/esm/src/models/file.js +20 -0
- package/esm/src/models/file.js.map +1 -0
- package/esm/src/models/filecreate.d.ts +16 -0
- package/esm/src/models/filecreate.d.ts.map +1 -0
- package/esm/src/models/filecreate.js +17 -0
- package/esm/src/models/filecreate.js.map +1 -0
- package/esm/src/models/fileupdate.d.ts +8 -0
- package/esm/src/models/fileupdate.d.ts.map +1 -0
- package/esm/src/models/fileupdate.js +10 -0
- package/esm/src/models/fileupdate.js.map +1 -0
- package/esm/src/models/getclientop.d.ts +52 -0
- package/esm/src/models/getclientop.d.ts.map +1 -0
- package/esm/src/models/getclientop.js +44 -0
- package/esm/src/models/getclientop.js.map +1 -0
- package/esm/src/models/getfileop.d.ts +53 -0
- package/esm/src/models/getfileop.d.ts.map +1 -0
- package/esm/src/models/getfileop.js +45 -0
- package/esm/src/models/getfileop.js.map +1 -0
- package/esm/src/models/gettaskop.d.ts +44 -0
- package/esm/src/models/gettaskop.d.ts.map +1 -0
- package/esm/src/models/gettaskop.js +40 -0
- package/esm/src/models/gettaskop.js.map +1 -0
- package/esm/src/models/getv1meop.d.ts +21 -0
- package/esm/src/models/getv1meop.d.ts.map +1 -0
- package/esm/src/models/getv1meop.js +19 -0
- package/esm/src/models/getv1meop.js.map +1 -0
- package/esm/src/models/getv1op.d.ts +16 -0
- package/esm/src/models/getv1op.d.ts.map +1 -0
- package/esm/src/models/getv1op.js +14 -0
- package/esm/src/models/getv1op.js.map +1 -0
- package/esm/src/models/getv1pingop.d.ts +16 -0
- package/esm/src/models/getv1pingop.d.ts.map +1 -0
- package/esm/src/models/getv1pingop.js +14 -0
- package/esm/src/models/getv1pingop.js.map +1 -0
- package/esm/src/models/getworkspaceop.d.ts +53 -0
- package/esm/src/models/getworkspaceop.d.ts.map +1 -0
- package/esm/src/models/getworkspaceop.js +45 -0
- package/esm/src/models/getworkspaceop.js.map +1 -0
- package/esm/src/models/listclientsop.d.ts +80 -0
- package/esm/src/models/listclientsop.d.ts.map +1 -0
- package/esm/src/models/listclientsop.js +84 -0
- package/esm/src/models/listclientsop.js.map +1 -0
- package/esm/src/models/listfilesop.d.ts +56 -0
- package/esm/src/models/listfilesop.d.ts.map +1 -0
- package/esm/src/models/listfilesop.js +49 -0
- package/esm/src/models/listfilesop.js.map +1 -0
- package/esm/src/models/listtasksop.d.ts +48 -0
- package/esm/src/models/listtasksop.d.ts.map +1 -0
- package/esm/src/models/listtasksop.js +45 -0
- package/esm/src/models/listtasksop.js.map +1 -0
- package/esm/src/models/listworkspacesop.d.ts +55 -0
- package/esm/src/models/listworkspacesop.d.ts.map +1 -0
- package/esm/src/models/listworkspacesop.js +47 -0
- package/esm/src/models/listworkspacesop.js.map +1 -0
- package/esm/src/models/pagination.d.ts +9 -0
- package/esm/src/models/pagination.d.ts.map +1 -0
- package/esm/src/models/pagination.js +11 -0
- package/esm/src/models/pagination.js.map +1 -0
- package/esm/src/models/security.d.ts +6 -0
- package/esm/src/models/security.d.ts.map +1 -0
- package/esm/src/models/security.js +9 -0
- package/esm/src/models/security.js.map +1 -0
- package/esm/src/models/task.d.ts +27 -0
- package/esm/src/models/task.d.ts.map +1 -0
- package/esm/src/models/task.js +38 -0
- package/esm/src/models/task.js.map +1 -0
- package/esm/src/models/taskcreate.d.ts +9 -0
- package/esm/src/models/taskcreate.d.ts.map +1 -0
- package/esm/src/models/taskcreate.js +11 -0
- package/esm/src/models/taskcreate.js.map +1 -0
- package/esm/src/models/taskupdate.d.ts +17 -0
- package/esm/src/models/taskupdate.d.ts.map +1 -0
- package/esm/src/models/taskupdate.js +24 -0
- package/esm/src/models/taskupdate.js.map +1 -0
- package/esm/src/models/updatefileop.d.ts +75 -0
- package/esm/src/models/updatefileop.d.ts.map +1 -0
- package/esm/src/models/updatefileop.js +74 -0
- package/esm/src/models/updatefileop.js.map +1 -0
- package/esm/src/models/updatetaskop.d.ts +66 -0
- package/esm/src/models/updatetaskop.d.ts.map +1 -0
- package/esm/src/models/updatetaskop.js +69 -0
- package/esm/src/models/updatetaskop.js.map +1 -0
- package/esm/src/models/webhooksclientchangesop.d.ts +85 -0
- package/esm/src/models/webhooksclientchangesop.d.ts.map +1 -0
- package/esm/src/models/webhooksclientchangesop.js +100 -0
- package/esm/src/models/webhooksclientchangesop.js.map +1 -0
- package/esm/src/models/webhooksfilechangesop.d.ts +76 -0
- package/esm/src/models/webhooksfilechangesop.d.ts.map +1 -0
- package/esm/src/models/webhooksfilechangesop.js +82 -0
- package/esm/src/models/webhooksfilechangesop.js.map +1 -0
- package/esm/src/models/webhooksfilecommentcreatedop.d.ts +33 -0
- package/esm/src/models/webhooksfilecommentcreatedop.d.ts.map +1 -0
- package/esm/src/models/webhooksfilecommentcreatedop.js +35 -0
- package/esm/src/models/webhooksfilecommentcreatedop.js.map +1 -0
- package/esm/src/models/webhookstaskchangesop.d.ts +82 -0
- package/esm/src/models/webhookstaskchangesop.d.ts.map +1 -0
- package/esm/src/models/webhookstaskchangesop.js +88 -0
- package/esm/src/models/webhookstaskchangesop.js.map +1 -0
- package/esm/src/models/webhookstaskcommentcreatedop.d.ts +33 -0
- package/esm/src/models/webhookstaskcommentcreatedop.d.ts.map +1 -0
- package/esm/src/models/webhookstaskcommentcreatedop.js +35 -0
- package/esm/src/models/webhookstaskcommentcreatedop.js.map +1 -0
- package/esm/src/models/webhooksworkspacechangesop.d.ts +67 -0
- package/esm/src/models/webhooksworkspacechangesop.d.ts.map +1 -0
- package/esm/src/models/webhooksworkspacechangesop.js +73 -0
- package/esm/src/models/webhooksworkspacechangesop.js.map +1 -0
- package/esm/src/models/workspace.d.ts +11 -0
- package/esm/src/models/workspace.d.ts.map +1 -0
- package/esm/src/models/workspace.js +13 -0
- package/esm/src/models/workspace.js.map +1 -0
- package/esm/src/types/async.d.ts +23 -0
- package/esm/src/types/async.d.ts.map +1 -0
- package/esm/src/types/async.js +28 -0
- package/esm/src/types/async.js.map +1 -0
- package/esm/src/types/blobs.d.ts +2 -0
- package/esm/src/types/blobs.d.ts.map +1 -0
- package/esm/src/types/blobs.js +20 -0
- package/esm/src/types/blobs.js.map +1 -0
- package/esm/src/types/enums.d.ts +12 -0
- package/esm/src/types/enums.d.ts.map +1 -0
- package/esm/src/types/enums.js +7 -0
- package/esm/src/types/enums.js.map +1 -0
- package/esm/src/types/fp.d.ts +31 -0
- package/esm/src/types/fp.d.ts.map +1 -0
- package/esm/src/types/fp.js +31 -0
- package/esm/src/types/fp.js.map +1 -0
- package/esm/src/types/rfcdate.d.ts +21 -0
- package/esm/src/types/rfcdate.d.ts.map +1 -0
- package/esm/src/types/rfcdate.js +43 -0
- package/esm/src/types/rfcdate.js.map +1 -0
- package/esm/src/types/streams.d.ts +2 -0
- package/esm/src/types/streams.d.ts.map +1 -0
- package/esm/src/types/streams.js +15 -0
- package/esm/src/types/streams.js.map +1 -0
- package/esm/worker-configuration.d.ts +4 -0
- package/esm/worker-configuration.d.ts.map +1 -0
- package/esm/worker-configuration.js +5 -0
- package/esm/worker-configuration.js.map +1 -0
- package/manifest.json +107 -0
- package/package.json +44 -0
- package/src/cloudflare-worker/cloudflare-worker.ts +95 -0
- package/src/cloudflare-worker/landing-page.ts +336 -0
- package/src/core.ts +13 -0
- package/src/funcs/adminClientsGetClient.ts +178 -0
- package/src/funcs/adminClientsListClients.ts +173 -0
- package/src/funcs/authGetV1Me.ts +139 -0
- package/src/funcs/filesCreateFile.ts +216 -0
- package/src/funcs/filesDeleteFile.ts +182 -0
- package/src/funcs/filesGetFile.ts +182 -0
- package/src/funcs/filesListFiles.ts +172 -0
- package/src/funcs/filesUpdateFile.ts +183 -0
- package/src/funcs/healthCheckGetV1.ts +132 -0
- package/src/funcs/healthCheckGetV1Ping.ts +139 -0
- package/src/funcs/tasksCreateTask.ts +166 -0
- package/src/funcs/tasksDeleteTask.ts +175 -0
- package/src/funcs/tasksGetTask.ts +175 -0
- package/src/funcs/tasksListTasks.ts +166 -0
- package/src/funcs/tasksUpdateTask.ts +172 -0
- package/src/funcs/workspacesGetWorkspace.ts +182 -0
- package/src/funcs/workspacesListWorkspaces.ts +171 -0
- package/src/hooks/hooks.ts +132 -0
- package/src/hooks/registration.ts +14 -0
- package/src/hooks/types.ts +107 -0
- package/src/lib/base64.ts +37 -0
- package/src/lib/config.ts +68 -0
- package/src/lib/dlv.ts +53 -0
- package/src/lib/encodings.ts +483 -0
- package/src/lib/env.ts +41 -0
- package/src/lib/files.ts +82 -0
- package/src/lib/http.ts +323 -0
- package/src/lib/is-plain-object.ts +43 -0
- package/src/lib/logger.ts +9 -0
- package/src/lib/matchers.ts +350 -0
- package/src/lib/primitives.ts +113 -0
- package/src/lib/result.ts +50 -0
- package/src/lib/retries.ts +218 -0
- package/src/lib/schemas.ts +91 -0
- package/src/lib/sdks.ts +409 -0
- package/src/lib/security.ts +260 -0
- package/src/lib/url.ts +33 -0
- package/src/mcp-server/cli/start/command.ts +94 -0
- package/src/mcp-server/cli/start/impl.ts +130 -0
- package/src/mcp-server/cli.ts +13 -0
- package/src/mcp-server/console-logger.ts +76 -0
- package/src/mcp-server/extensions.ts +17 -0
- package/src/mcp-server/mcp-server.ts +26 -0
- package/src/mcp-server/prompts.ts +121 -0
- package/src/mcp-server/resources.ts +176 -0
- package/src/mcp-server/scopes.ts +7 -0
- package/src/mcp-server/server.ts +107 -0
- package/src/mcp-server/shared.ts +78 -0
- package/src/mcp-server/tools/adminClientsGetClient.ts +37 -0
- package/src/mcp-server/tools/adminClientsListClients.ts +39 -0
- package/src/mcp-server/tools/authGetV1Me.ts +28 -0
- package/src/mcp-server/tools/filesCreateFile.ts +37 -0
- package/src/mcp-server/tools/filesDeleteFile.ts +37 -0
- package/src/mcp-server/tools/filesGetFile.ts +37 -0
- package/src/mcp-server/tools/filesListFiles.ts +37 -0
- package/src/mcp-server/tools/filesUpdateFile.ts +37 -0
- package/src/mcp-server/tools/healthCheckGetV1.ts +28 -0
- package/src/mcp-server/tools/healthCheckGetV1Ping.ts +28 -0
- package/src/mcp-server/tools/tasksCreateTask.ts +37 -0
- package/src/mcp-server/tools/tasksDeleteTask.ts +37 -0
- package/src/mcp-server/tools/tasksGetTask.ts +37 -0
- package/src/mcp-server/tools/tasksListTasks.ts +37 -0
- package/src/mcp-server/tools/tasksUpdateTask.ts +37 -0
- package/src/mcp-server/tools/workspacesGetWorkspace.ts +37 -0
- package/src/mcp-server/tools/workspacesListWorkspaces.ts +37 -0
- package/src/mcp-server/tools.ts +135 -0
- package/src/models/client.ts +43 -0
- package/src/models/createfileop.ts +143 -0
- package/src/models/createtaskop.ts +99 -0
- package/src/models/deletefileop.ts +139 -0
- package/src/models/deleteresponse.ts +17 -0
- package/src/models/deletetaskop.ts +117 -0
- package/src/models/errors/apierror.ts +21 -0
- package/src/models/errors/httpclienterrors.ts +62 -0
- package/src/models/errors/sdkvalidationerror.ts +97 -0
- package/src/models/file.ts +36 -0
- package/src/models/filecreate.ts +38 -0
- package/src/models/fileupdate.ts +21 -0
- package/src/models/getclientop.ts +138 -0
- package/src/models/getfileop.ts +139 -0
- package/src/models/gettaskop.ts +117 -0
- package/src/models/getv1meop.ts +48 -0
- package/src/models/getv1op.ts +36 -0
- package/src/models/getv1pingop.ts +36 -0
- package/src/models/getworkspaceop.ts +142 -0
- package/src/models/listclientsop.ts +202 -0
- package/src/models/listfilesop.ts +146 -0
- package/src/models/listtasksop.ts +125 -0
- package/src/models/listworkspacesop.ts +148 -0
- package/src/models/pagination.ts +23 -0
- package/src/models/security.ts +12 -0
- package/src/models/task.ts +60 -0
- package/src/models/taskcreate.ts +23 -0
- package/src/models/taskupdate.ts +42 -0
- package/src/models/updatefileop.ts +221 -0
- package/src/models/updatetaskop.ts +191 -0
- package/src/models/webhooksclientchangesop.ts +235 -0
- package/src/models/webhooksfilechangesop.ts +205 -0
- package/src/models/webhooksfilecommentcreatedop.ts +87 -0
- package/src/models/webhookstaskchangesop.ts +217 -0
- package/src/models/webhookstaskcommentcreatedop.ts +87 -0
- package/src/models/webhooksworkspacechangesop.ts +187 -0
- package/src/models/workspace.ts +24 -0
- package/src/types/async.ts +68 -0
- package/src/types/blobs.ts +23 -0
- package/src/types/enums.ts +16 -0
- package/src/types/fp.ts +50 -0
- package/src/types/rfcdate.ts +54 -0
- package/src/types/streams.ts +21 -0
- package/tsconfig.json +36 -0
- package/worker-configuration.d.ts +7668 -0
- package/worker-configuration.ts +11 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
6
|
+
import { McpAgent } from "agents/mcp";
|
|
7
|
+
import type { Env } from "../../worker-configuration.js";
|
|
8
|
+
import { SteuerboardCore } from "../core.js";
|
|
9
|
+
import { createConsoleLogger } from "../mcp-server/console-logger.js";
|
|
10
|
+
import { createMCPServer } from "../mcp-server/server.js";
|
|
11
|
+
import { landingPage } from "./landing-page.js";
|
|
12
|
+
|
|
13
|
+
interface State {}
|
|
14
|
+
|
|
15
|
+
type Props = Record<string, string>;
|
|
16
|
+
|
|
17
|
+
export class SteuerboardMCP extends McpAgent<Env, State, Props> {
|
|
18
|
+
server!: McpServer;
|
|
19
|
+
|
|
20
|
+
async init() {
|
|
21
|
+
this.server = createMCPServer({
|
|
22
|
+
logger: createConsoleLogger("debug"),
|
|
23
|
+
getSDK: () => this.getSDK(),
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
getSDK() {
|
|
28
|
+
const getHeader = (name: string) => this.props[name] || "";
|
|
29
|
+
|
|
30
|
+
const sdk = new SteuerboardCore({
|
|
31
|
+
debugLogger: {
|
|
32
|
+
log: (...args) => console.log(...args),
|
|
33
|
+
group: (...args) => console.group(...args),
|
|
34
|
+
groupEnd: (...args) => console.groupEnd(...args),
|
|
35
|
+
},
|
|
36
|
+
security: async () => {
|
|
37
|
+
return { bearerAuth: getHeader("authorization") };
|
|
38
|
+
},
|
|
39
|
+
});
|
|
40
|
+
return sdk;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export default {
|
|
45
|
+
async fetch(request: Request, env: Env, ctx: any) {
|
|
46
|
+
const url = new URL(request.url);
|
|
47
|
+
|
|
48
|
+
// Pass auth headers through to the MCP agent
|
|
49
|
+
const headers: Record<string, string> = {};
|
|
50
|
+
for (const [key, value] of request.headers.entries()) {
|
|
51
|
+
headers[key.toLowerCase()] = value;
|
|
52
|
+
}
|
|
53
|
+
ctx.props = headers;
|
|
54
|
+
|
|
55
|
+
if (url.pathname === "/sse" || url.pathname.startsWith("/sse/")) {
|
|
56
|
+
return SteuerboardMCP.serveSSE("/sse", { binding: "STEUERBOARD_MCP" })
|
|
57
|
+
.fetch(
|
|
58
|
+
request,
|
|
59
|
+
env,
|
|
60
|
+
ctx,
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if (url.pathname === "/mcp") {
|
|
65
|
+
return SteuerboardMCP.serve("/mcp", { binding: "STEUERBOARD_MCP" }).fetch(
|
|
66
|
+
request,
|
|
67
|
+
env,
|
|
68
|
+
ctx,
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// Landing page
|
|
73
|
+
if (url.pathname === "/") {
|
|
74
|
+
return landingPage(request);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// Fallback to serving static assets
|
|
78
|
+
const response = await env.ASSETS.fetch(request);
|
|
79
|
+
|
|
80
|
+
// Only modify headers if asset was found successfully
|
|
81
|
+
if (response.ok) {
|
|
82
|
+
// Clone the response to modify headers
|
|
83
|
+
return new Response(response.body, {
|
|
84
|
+
headers: {
|
|
85
|
+
"Content-Type": "application/octet-stream",
|
|
86
|
+
"Content-Disposition": "attachment; filename=\"mcp-server.dxt\"",
|
|
87
|
+
"Cache-Control": "public, max-age=3600",
|
|
88
|
+
},
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// Return the original response (including 404s) as-is
|
|
93
|
+
return response;
|
|
94
|
+
},
|
|
95
|
+
};
|
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export function landingPage(req: Request) {
|
|
6
|
+
const o = new URL(req.url).origin;
|
|
7
|
+
|
|
8
|
+
const mcpConfig = {
|
|
9
|
+
"mcpServers": {
|
|
10
|
+
"Steuerboard": {
|
|
11
|
+
"type": "mcp",
|
|
12
|
+
"url": `${o}/mcp`,
|
|
13
|
+
"headers": {
|
|
14
|
+
"authorization": "$" + "{" + "STEUERBOARD_BEARER_AUTH" + "}",
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
return new Response(
|
|
21
|
+
`<!DOCTYPE html>
|
|
22
|
+
<html lang="en">
|
|
23
|
+
<head>
|
|
24
|
+
<meta charset="UTF-8">
|
|
25
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
26
|
+
<title>steuerboard MCP</title>
|
|
27
|
+
<style>
|
|
28
|
+
body {
|
|
29
|
+
font-family: 'Inter', Arial, sans-serif;
|
|
30
|
+
margin: 0;
|
|
31
|
+
padding: 0;
|
|
32
|
+
background: #fff;
|
|
33
|
+
min-height: 100vh;
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
}
|
|
37
|
+
header { display: flex; justify-content: space-between; align-items: center; padding: 24px 40px; border-bottom: 1px solid #e5e5e5; }
|
|
38
|
+
.company-logo { font-weight: bold; font-size: 2rem; letter-spacing: 2px; }
|
|
39
|
+
.company-logo span { font-family: monospace; }
|
|
40
|
+
.company-name { font-size: 1.5rem; font-weight: bold; }
|
|
41
|
+
main {
|
|
42
|
+
max-width: 800px;
|
|
43
|
+
margin: 40px auto;
|
|
44
|
+
padding: 0 24px;
|
|
45
|
+
flex: 1;
|
|
46
|
+
}
|
|
47
|
+
h1 { font-size: 2.5rem; margin-bottom: 0.5em; }
|
|
48
|
+
.desc { font-size: 1.1rem; margin-bottom: 1.5em; }
|
|
49
|
+
.card { background: #faf9f6; border: 1px solid #e5e5e5; border-radius: 8px; padding: 24px; margin-top: 24px; }
|
|
50
|
+
.code-container { position: relative; }
|
|
51
|
+
.code-container:hover .copy-button { opacity: 1; }
|
|
52
|
+
.copy-button {
|
|
53
|
+
position: absolute;
|
|
54
|
+
top: 12px;
|
|
55
|
+
right: 12px;
|
|
56
|
+
background: #333;
|
|
57
|
+
color: white;
|
|
58
|
+
border: none;
|
|
59
|
+
border-radius: 4px;
|
|
60
|
+
padding: 6px 12px;
|
|
61
|
+
font-size: 12px;
|
|
62
|
+
cursor: pointer;
|
|
63
|
+
opacity: 0;
|
|
64
|
+
transition: opacity 0.2s ease, background-color 0.2s ease;
|
|
65
|
+
z-index: 10;
|
|
66
|
+
}
|
|
67
|
+
.copy-button:hover { background: #555; }
|
|
68
|
+
.copy-button.copied { opacity: 1; }
|
|
69
|
+
pre { background: #f6f3ef; padding: 16px; border-radius: 6px; font-size: 1rem; overflow-x: auto; margin: 0; }
|
|
70
|
+
.section-title { font-weight: 600; margin-bottom: 0.5em; }
|
|
71
|
+
.logo-container { display: flex; align-items: center; gap: 16px; margin-bottom: 0.5em; align-self: flex-end; justify-content: space-between; }
|
|
72
|
+
.logo-container .section-title { margin-bottom: 0; }
|
|
73
|
+
.client-logos { display: flex; align-items: center; gap: 12px; }
|
|
74
|
+
.client-logo { height: 24px; width: auto; }
|
|
75
|
+
.installation-group { margin-top: 24px; }
|
|
76
|
+
.installation-section { margin-top: 24px; }
|
|
77
|
+
.installation-header {
|
|
78
|
+
background: #f8f9fa;
|
|
79
|
+
border: 1px solid #e5e5e5;
|
|
80
|
+
border-radius: 8px 8px 0 0;
|
|
81
|
+
padding: 16px 20px;
|
|
82
|
+
margin: 0;
|
|
83
|
+
font-weight: 600;
|
|
84
|
+
font-size: 1.1rem;
|
|
85
|
+
}
|
|
86
|
+
.installation-content {
|
|
87
|
+
background: #faf9f6;
|
|
88
|
+
border: 1px solid #e5e5e5;
|
|
89
|
+
border-top: none;
|
|
90
|
+
border-radius: 0 0 8px 8px;
|
|
91
|
+
padding: 20px;
|
|
92
|
+
}
|
|
93
|
+
.installation-method {
|
|
94
|
+
margin-bottom: 24px;
|
|
95
|
+
border: 1px solid #e5e5e5;
|
|
96
|
+
border-radius: 8px;
|
|
97
|
+
overflow: hidden;
|
|
98
|
+
}
|
|
99
|
+
.installation-method:last-child { margin-bottom: 0; }
|
|
100
|
+
.method-header {
|
|
101
|
+
display: flex;
|
|
102
|
+
align-items: center;
|
|
103
|
+
justify-content: space-between;
|
|
104
|
+
cursor: pointer;
|
|
105
|
+
padding: 16px 20px;
|
|
106
|
+
background: #faf9f6;
|
|
107
|
+
border-bottom: 1px solid #e5e5e5;
|
|
108
|
+
margin: 0;
|
|
109
|
+
font-weight: 600;
|
|
110
|
+
transition: background-color 0.2s ease;
|
|
111
|
+
}
|
|
112
|
+
.method-header:hover { background: #e9ecef; }
|
|
113
|
+
.method-header.active {
|
|
114
|
+
background: #e2e3e5;
|
|
115
|
+
border-bottom: 1px solid #e5e5e5;
|
|
116
|
+
}
|
|
117
|
+
.method-content {
|
|
118
|
+
display: none;
|
|
119
|
+
padding: 20px;
|
|
120
|
+
background: #faf9f6;
|
|
121
|
+
border-top: 1px solid #e5e5e5;
|
|
122
|
+
}
|
|
123
|
+
.method-content.active {
|
|
124
|
+
display: block !important;
|
|
125
|
+
}
|
|
126
|
+
.chevron {
|
|
127
|
+
transition: transform 0.2s ease;
|
|
128
|
+
font-size: 14px;
|
|
129
|
+
color: #666;
|
|
130
|
+
}
|
|
131
|
+
.chevron.active { transform: rotate(90deg); }
|
|
132
|
+
.method-title {
|
|
133
|
+
font-weight: 600;
|
|
134
|
+
margin-bottom: 12px;
|
|
135
|
+
color: #333;
|
|
136
|
+
}
|
|
137
|
+
.method-description {
|
|
138
|
+
margin-bottom: 12px;
|
|
139
|
+
color: #666;
|
|
140
|
+
font-size: 0.9rem;
|
|
141
|
+
}
|
|
142
|
+
footer {
|
|
143
|
+
text-align: right;
|
|
144
|
+
padding: 24px;
|
|
145
|
+
border-top: 1px solid #e5e5e5;
|
|
146
|
+
color: #666;
|
|
147
|
+
font-size: 0.9rem;
|
|
148
|
+
margin-top: auto;
|
|
149
|
+
}
|
|
150
|
+
footer a {
|
|
151
|
+
color: #333;
|
|
152
|
+
text-decoration: none;
|
|
153
|
+
font-weight: 500;
|
|
154
|
+
}
|
|
155
|
+
footer a:hover {
|
|
156
|
+
text-decoration: underline;
|
|
157
|
+
}
|
|
158
|
+
.breadcrumb {
|
|
159
|
+
display: inline-flex;
|
|
160
|
+
align-items: center;
|
|
161
|
+
background: #f8f9fa46;
|
|
162
|
+
padding: 6px 12px;
|
|
163
|
+
border-radius: 4px;
|
|
164
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
165
|
+
font-size: 0.9rem;
|
|
166
|
+
border: 1px solid #e9ecef;
|
|
167
|
+
}
|
|
168
|
+
.breadcrumb-item {
|
|
169
|
+
color: #495057;
|
|
170
|
+
font-weight: 500;
|
|
171
|
+
}
|
|
172
|
+
.breadcrumb-separator {
|
|
173
|
+
margin: 0 8px;
|
|
174
|
+
color: #6c757d;
|
|
175
|
+
font-size: 0.8rem;
|
|
176
|
+
}
|
|
177
|
+
.download-button {
|
|
178
|
+
display: inline-block;
|
|
179
|
+
background: #f8f9fa;
|
|
180
|
+
color: #333;
|
|
181
|
+
padding: 12px 24px;
|
|
182
|
+
text-decoration: none;
|
|
183
|
+
border-radius: 6px;
|
|
184
|
+
font-weight: 500;
|
|
185
|
+
border: 1px solid #e5e5e5;
|
|
186
|
+
}
|
|
187
|
+
.download-button:hover {
|
|
188
|
+
background: #e9ecef;
|
|
189
|
+
text-decoration: none;
|
|
190
|
+
}
|
|
191
|
+
.download-section {
|
|
192
|
+
margin-bottom: 16px;
|
|
193
|
+
}
|
|
194
|
+
.method-description-small {
|
|
195
|
+
margin-top: 12px;
|
|
196
|
+
font-size: 0.85rem;
|
|
197
|
+
color: #888;
|
|
198
|
+
}
|
|
199
|
+
</style>
|
|
200
|
+
</head>
|
|
201
|
+
<body>
|
|
202
|
+
<main>
|
|
203
|
+
<h1>steuerboard MCP</h1>
|
|
204
|
+
<div class="desc">
|
|
205
|
+
Welcome! This is the MCP server for interacting with the steuerboard API. Use it with Claude, Cursor, or any other tool that supports MCP.
|
|
206
|
+
</div>
|
|
207
|
+
<h2 style="margin-top: 48px; font-size: 1.5rem; font-weight: 700; margin-bottom: 0;">Getting Started</h2>
|
|
208
|
+
<hr />
|
|
209
|
+
<div class="card">
|
|
210
|
+
<div class="section-title">MCP URL</div>
|
|
211
|
+
<div class="code-container">
|
|
212
|
+
<button class="copy-button" onclick="copyToClipboard('mcp-url', this)">Copy</button>
|
|
213
|
+
<pre id="mcp-url">${o}/mcp</pre>
|
|
214
|
+
</div>
|
|
215
|
+
</div>
|
|
216
|
+
|
|
217
|
+
<h2 style="margin-top: 48px; font-size: 1.5rem; font-weight: 700; margin-bottom: 0;">Installation</h2>
|
|
218
|
+
<hr />
|
|
219
|
+
<div class="installation-group">
|
|
220
|
+
<div class="installation-method">
|
|
221
|
+
<div class="method-header" onclick="toggleMethod('claude-desktop')">
|
|
222
|
+
<span>Claude Desktop</span>
|
|
223
|
+
<span class="chevron">▶</span>
|
|
224
|
+
</div>
|
|
225
|
+
<div class="method-content" id="claude-desktop-content">
|
|
226
|
+
<div class="method-description">One-click installation for Claude Desktop users</div>
|
|
227
|
+
<div class="download-section">
|
|
228
|
+
<a href="${o}/mcp-server.dxt" download="mcp-server.dxt" class="download-button">
|
|
229
|
+
📥 Download DXT File
|
|
230
|
+
</a>
|
|
231
|
+
</div>
|
|
232
|
+
<p><strong>Instructions:</strong></p>
|
|
233
|
+
<ol>
|
|
234
|
+
<li>Download the DXT file</li>
|
|
235
|
+
<li>Open Claude Desktop and go to <span class="breadcrumb"><span class="breadcrumb-item">Settings</span><span class="breadcrumb-separator">›</span><span class="breadcrumb-item">Extensions</span></span></li>
|
|
236
|
+
<li>Drag the DXT file into the Extensions page to install the MCP server</li>
|
|
237
|
+
</ol>
|
|
238
|
+
<div class="method-description-small">
|
|
239
|
+
The DXT file contains all necessary configuration for the MCP server and will be automatically installed when dragged into the Extensions page.
|
|
240
|
+
</div>
|
|
241
|
+
</div>
|
|
242
|
+
</div>
|
|
243
|
+
<div class="installation-method">
|
|
244
|
+
<div class="method-header" onclick="toggleMethod('cursor')">
|
|
245
|
+
<span>Cursor</span>
|
|
246
|
+
<span class="chevron">▶</span>
|
|
247
|
+
</div>
|
|
248
|
+
<div class="method-content" id="cursor-content">
|
|
249
|
+
<div class="method-description">One-click installation for Cursor users</div>
|
|
250
|
+
<a href="https://cursor.com/install-mcp?name=Steuerboard&config=eyJtY3BTZXJ2ZXJzIjp7IlN0ZXVlcmJvYXJkIjp7InR5cGUiOiJtY3AiLCJ1cmwiOiJodHRwczovL2V4YW1wbGUtY2xvdWRmbGFyZS13b3JrZXIuY29tL21jcCIsImhlYWRlcnMiOnsiYXV0aG9yaXphdGlvbiI6IiR7U1RFVUVSQk9BUkRfQkVBUkVSX0FVVEh9In19fX0=">
|
|
251
|
+
<img
|
|
252
|
+
src="https://cursor.com/deeplink/mcp-install-dark.svg"
|
|
253
|
+
alt="Add Steuerboard MCP server to Cursor"
|
|
254
|
+
height="32" />
|
|
255
|
+
</a>
|
|
256
|
+
<p>Or manually:</p>
|
|
257
|
+
<ol>
|
|
258
|
+
<li>Open Cursor Settings</li>
|
|
259
|
+
<li>Select Tools and Integrations</li>
|
|
260
|
+
<li>Select New MCP Server</li>
|
|
261
|
+
<li>Paste the following JSON into the MCP Server Configuration field:</li>
|
|
262
|
+
</ol>
|
|
263
|
+
<pre id="cursor-manual">${
|
|
264
|
+
JSON.stringify(mcpConfig, null, 2)
|
|
265
|
+
}</pre>
|
|
266
|
+
</div>
|
|
267
|
+
</div>
|
|
268
|
+
<div class="installation-method">
|
|
269
|
+
<div class="method-header" onclick="toggleMethod('claude-cli')">
|
|
270
|
+
<span>Claude Code CLI</span>
|
|
271
|
+
<span class="chevron">▶</span>
|
|
272
|
+
</div>
|
|
273
|
+
<div class="method-content" id="claude-cli-content">
|
|
274
|
+
<div class="method-description">Use the Claude Code CLI to add the MCP server:</div>
|
|
275
|
+
<div class="code-container">
|
|
276
|
+
<button class="copy-button" onclick="copyToClipboard('claude-cli', this)">Copy</button>
|
|
277
|
+
<pre id="claude-cli">claude mcp add --transport http Steuerboard ${o}/mcp --header "authorization: ..." </pre>
|
|
278
|
+
</div>
|
|
279
|
+
</div>
|
|
280
|
+
</div>
|
|
281
|
+
<div class="installation-method">
|
|
282
|
+
<div class="method-header" onclick="toggleMethod('manual')">
|
|
283
|
+
<span>Manual Installation</span>
|
|
284
|
+
<span class="chevron">▶</span>
|
|
285
|
+
</div>
|
|
286
|
+
<div class="method-content" id="manual-content">
|
|
287
|
+
<div class="method-description">Start the MCP server manually using npx:</div>
|
|
288
|
+
<div class="code-container">
|
|
289
|
+
<button class="copy-button" onclick="copyToClipboard('manual-install', this)">Copy</button>
|
|
290
|
+
<pre id="manual-install">npx steuerboard start --bearer-auth ...</pre>
|
|
291
|
+
</div>
|
|
292
|
+
<div class="method-description" style="margin-top: 12px;">For a full list of server arguments:</div>
|
|
293
|
+
<div class="code-container">
|
|
294
|
+
<button class="copy-button" onclick="copyToClipboard('manual-help', this)">Copy</button>
|
|
295
|
+
<pre id="manual-help">npx steuerboard --help</pre>
|
|
296
|
+
</div>
|
|
297
|
+
</div>
|
|
298
|
+
</div>
|
|
299
|
+
</div>
|
|
300
|
+
|
|
301
|
+
</main>
|
|
302
|
+
<script>
|
|
303
|
+
function copyToClipboard(elementId, button) {
|
|
304
|
+
const element = document.getElementById(elementId);
|
|
305
|
+
const text = element.textContent;
|
|
306
|
+
|
|
307
|
+
navigator.clipboard.writeText(text).then(function() {
|
|
308
|
+
const originalText = button.textContent;
|
|
309
|
+
button.textContent = 'Copied!';
|
|
310
|
+
button.classList.add('copied');
|
|
311
|
+
|
|
312
|
+
setTimeout(function() {
|
|
313
|
+
button.textContent = originalText;
|
|
314
|
+
button.classList.remove('copied');
|
|
315
|
+
}, 2000);
|
|
316
|
+
}).catch(function(err) {
|
|
317
|
+
console.error('Failed to copy text: ', err);
|
|
318
|
+
});
|
|
319
|
+
}
|
|
320
|
+
function toggleMethod(methodId) {
|
|
321
|
+
const methodHeader = event.target.closest('.method-header');
|
|
322
|
+
const methodContent = document.getElementById(methodId + '-content');
|
|
323
|
+
const chevron = methodHeader.querySelector('.chevron');
|
|
324
|
+
|
|
325
|
+
methodHeader.classList.toggle('active');
|
|
326
|
+
methodContent.classList.toggle('active');
|
|
327
|
+
chevron.classList.toggle('active');
|
|
328
|
+
}
|
|
329
|
+
</script>
|
|
330
|
+
</body>
|
|
331
|
+
</html>`,
|
|
332
|
+
{
|
|
333
|
+
headers: { "Content-Type": "text/html" },
|
|
334
|
+
},
|
|
335
|
+
);
|
|
336
|
+
}
|
package/src/core.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { ClientSDK } from "./lib/sdks.js";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* A minimal client to use when calling standalone SDK functions. Typically, an
|
|
9
|
+
* instance of this class would be instantiated once at the start of an
|
|
10
|
+
* application and passed around through some dependency injection mechanism to
|
|
11
|
+
* parts of an application that need to make SDK calls.
|
|
12
|
+
*/
|
|
13
|
+
export class SteuerboardCore extends ClientSDK {}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { SteuerboardCore } from "../core.js";
|
|
6
|
+
import { encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import * as M from "../lib/matchers.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
9
|
+
import { safeParse } from "../lib/schemas.js";
|
|
10
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
11
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
12
|
+
import { pathToFunc } from "../lib/url.js";
|
|
13
|
+
import { APIError } from "../models/errors/apierror.js";
|
|
14
|
+
import {
|
|
15
|
+
ConnectionError,
|
|
16
|
+
InvalidRequestError,
|
|
17
|
+
RequestAbortedError,
|
|
18
|
+
RequestTimeoutError,
|
|
19
|
+
UnexpectedClientError,
|
|
20
|
+
} from "../models/errors/httpclienterrors.js";
|
|
21
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
22
|
+
import {
|
|
23
|
+
GetClientRequest,
|
|
24
|
+
GetClientRequest$zodSchema,
|
|
25
|
+
GetClientResponse,
|
|
26
|
+
GetClientResponse$zodSchema,
|
|
27
|
+
} from "../models/getclientop.js";
|
|
28
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
29
|
+
import { Result } from "../types/fp.js";
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Get a client
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* Returns a single client object by ID.
|
|
36
|
+
*/
|
|
37
|
+
export function adminClientsGetClient(
|
|
38
|
+
client$: SteuerboardCore,
|
|
39
|
+
request: GetClientRequest,
|
|
40
|
+
options?: RequestOptions,
|
|
41
|
+
): APIPromise<
|
|
42
|
+
Result<
|
|
43
|
+
GetClientResponse,
|
|
44
|
+
| APIError
|
|
45
|
+
| SDKValidationError
|
|
46
|
+
| UnexpectedClientError
|
|
47
|
+
| InvalidRequestError
|
|
48
|
+
| RequestAbortedError
|
|
49
|
+
| RequestTimeoutError
|
|
50
|
+
| ConnectionError
|
|
51
|
+
>
|
|
52
|
+
> {
|
|
53
|
+
return new APIPromise($do(
|
|
54
|
+
client$,
|
|
55
|
+
request,
|
|
56
|
+
options,
|
|
57
|
+
));
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
async function $do(
|
|
61
|
+
client$: SteuerboardCore,
|
|
62
|
+
request: GetClientRequest,
|
|
63
|
+
options?: RequestOptions,
|
|
64
|
+
): Promise<
|
|
65
|
+
[
|
|
66
|
+
Result<
|
|
67
|
+
GetClientResponse,
|
|
68
|
+
| APIError
|
|
69
|
+
| SDKValidationError
|
|
70
|
+
| UnexpectedClientError
|
|
71
|
+
| InvalidRequestError
|
|
72
|
+
| RequestAbortedError
|
|
73
|
+
| RequestTimeoutError
|
|
74
|
+
| ConnectionError
|
|
75
|
+
>,
|
|
76
|
+
APICall,
|
|
77
|
+
]
|
|
78
|
+
> {
|
|
79
|
+
const parsed$ = safeParse(
|
|
80
|
+
request,
|
|
81
|
+
(value$) => GetClientRequest$zodSchema.parse(value$),
|
|
82
|
+
"Input validation failed",
|
|
83
|
+
);
|
|
84
|
+
if (!parsed$.ok) {
|
|
85
|
+
return [parsed$, { status: "invalid" }];
|
|
86
|
+
}
|
|
87
|
+
const payload$ = parsed$.value;
|
|
88
|
+
const body$ = null;
|
|
89
|
+
|
|
90
|
+
const pathParams$ = {
|
|
91
|
+
id: encodeSimple("id", payload$.id, {
|
|
92
|
+
explode: false,
|
|
93
|
+
charEncoding: "percent",
|
|
94
|
+
}),
|
|
95
|
+
};
|
|
96
|
+
const path$ = pathToFunc("/v1/admin/clients/{id}")(
|
|
97
|
+
pathParams$,
|
|
98
|
+
);
|
|
99
|
+
|
|
100
|
+
const headers$ = new Headers(compactMap({
|
|
101
|
+
Accept: "application/json",
|
|
102
|
+
}));
|
|
103
|
+
const securityInput = await extractSecurity(client$._options.security);
|
|
104
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
105
|
+
|
|
106
|
+
const context = {
|
|
107
|
+
options: client$._options,
|
|
108
|
+
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
109
|
+
operationID: "getClient",
|
|
110
|
+
oAuth2Scopes: [],
|
|
111
|
+
resolvedSecurity: requestSecurity,
|
|
112
|
+
securitySource: client$._options.security,
|
|
113
|
+
retryConfig: options?.retries
|
|
114
|
+
|| client$._options.retryConfig
|
|
115
|
+
|| { strategy: "none" },
|
|
116
|
+
retryCodes: options?.retryCodes || [
|
|
117
|
+
"429",
|
|
118
|
+
"500",
|
|
119
|
+
"502",
|
|
120
|
+
"503",
|
|
121
|
+
"504",
|
|
122
|
+
],
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
const requestRes = client$._createRequest(context, {
|
|
126
|
+
security: requestSecurity,
|
|
127
|
+
method: "GET",
|
|
128
|
+
baseURL: options?.serverURL,
|
|
129
|
+
path: path$,
|
|
130
|
+
headers: headers$,
|
|
131
|
+
body: body$,
|
|
132
|
+
userAgent: client$._options.userAgent,
|
|
133
|
+
timeoutMs: options?.timeoutMs || client$._options.timeoutMs
|
|
134
|
+
|| -1,
|
|
135
|
+
}, options);
|
|
136
|
+
if (!requestRes.ok) {
|
|
137
|
+
return [requestRes, { status: "invalid" }];
|
|
138
|
+
}
|
|
139
|
+
const req$ = requestRes.value;
|
|
140
|
+
|
|
141
|
+
const doResult = await client$._do(req$, {
|
|
142
|
+
context,
|
|
143
|
+
errorCodes: [],
|
|
144
|
+
retryConfig: context.retryConfig,
|
|
145
|
+
retryCodes: context.retryCodes,
|
|
146
|
+
});
|
|
147
|
+
if (!doResult.ok) {
|
|
148
|
+
return [doResult, { status: "request-error", request: req$ }];
|
|
149
|
+
}
|
|
150
|
+
const response = doResult.value;
|
|
151
|
+
const responseFields$ = {
|
|
152
|
+
HttpMeta: { Response: response, Request: req$ },
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
const [result$] = await M.match<
|
|
156
|
+
GetClientResponse,
|
|
157
|
+
| APIError
|
|
158
|
+
| SDKValidationError
|
|
159
|
+
| UnexpectedClientError
|
|
160
|
+
| InvalidRequestError
|
|
161
|
+
| RequestAbortedError
|
|
162
|
+
| RequestTimeoutError
|
|
163
|
+
| ConnectionError
|
|
164
|
+
>(
|
|
165
|
+
M.json(200, GetClientResponse$zodSchema, { key: "Client" }),
|
|
166
|
+
M.json(404, GetClientResponse$zodSchema, {
|
|
167
|
+
key: "404_application/json_object",
|
|
168
|
+
}),
|
|
169
|
+
M.json(422, GetClientResponse$zodSchema, {
|
|
170
|
+
key: "422_application/json_object",
|
|
171
|
+
}),
|
|
172
|
+
M.json(429, GetClientResponse$zodSchema, {
|
|
173
|
+
key: "429_application/json_object",
|
|
174
|
+
}),
|
|
175
|
+
)(response, req$, { extraFields: responseFields$ });
|
|
176
|
+
|
|
177
|
+
return [result$, { status: "complete", request: req$, response }];
|
|
178
|
+
}
|