You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -127,10 +125,9 @@ The Harness MCP Server supports the following command line arguments:
127
125
128
126
Environment variables are prefixed with `HARNESS_`:
129
127
130
-
-`HARNESS_API_KEY`: Harness API key (required)
131
-
-`HARNESS_ACCOUNT_ID`: Harness account ID (required)
132
-
-`HARNESS_ORG_ID`: Harness organization ID (optional, but required for some operations)
133
-
-`HARNESS_PROJECT_ID`: Harness project ID (optional, but required for some operations)
128
+
-`HARNESS_API_KEY`: Harness API key (required) - Account ID is automatically extracted from the API key
129
+
-`HARNESS_DEFAULT_ORG_ID`: Default Harness organization ID (optional, if not specified it would need to be passed in the request if it's required for that operation)
130
+
-`HARNESS_DEFAULT_PROJECT_ID`: Default Harness project ID (optional, if not specified it would need to be passed in the request if it's required for that operation)
134
131
-`HARNESS_TOOLSETS`: Comma-separated list of toolsets to enable (default: "all")
135
132
-`HARNESS_READ_ONLY`: Set to "true" to run in read-only mode
rootCmd.PersistentFlags().String("base-url", "https://app.harness.io", "Base URL for Harness")
82
99
rootCmd.PersistentFlags().String("api-key", "", "API key for authentication")
83
-
rootCmd.PersistentFlags().String("account-id", "", "Account ID to use")
84
-
rootCmd.PersistentFlags().String("org-id", "", "(Optional) org ID to use")
85
-
rootCmd.PersistentFlags().String("project-id", "", "(Optional) project ID to use")
100
+
rootCmd.PersistentFlags().String("default-org-id", "", "Default org ID to use. If not specified, it would need to be passed in the query (if required)")
101
+
rootCmd.PersistentFlags().String("default-project-id", "", "Default project ID to use. If not specified, it would need to be passed in the query (if required)")
0 commit comments