Pmitz

Subscription plans, feature access and usage limits with Pmitz: a sandbox, or your own server.

사용해야 할까요

품질 및 안전성

A
설명 품질
96%
스키마 완전성
95%
이름 품질
79%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

발견 사항 (1)

  • LOWTool 'pmitz_update_subscription_status' name length outside 3-30 rangepmitz_update_subscription_status에서

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~3,721토큰 (도구 정의)
~2.2 KB일반적인 응답 크기
상당한 주의 영향 (128k 컨텍스트의 2.91%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "pmitz": {
      "command": "npx",
      "args": [
        "@terpomosoft/pmitz-mcp"
      ]
    }
  }
}

실행 가능한 패키지

npm@terpomosoft/pmitz-mcp0.2.1stdio

원격 엔드포인트

https://pmitz-mcp.web.app/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (14)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟡pmitz_create_sandbox

Creates a new Pmitz sandbox and returns its sandbox key, its REST address and when it expires. A sandbox is a temporary Pmitz server for development and testing. It is deleted 72 hours after it is created and is not for production. It is not meant for personal or confidential information. Meant for when the user asks for a Pmitz sandbox or needs a server to develop against; one sandbox serves a whole conversation. The key is returned only once and is the only way back to the sandbox, so the user needs to see it.

입력 스키마

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢pmitz_sandbox_status(sandbox)

Shows when a sandbox expires, which products it holds, how many subscriptions it has, and the REST address an application can call.

입력 스키마

{
  "type": "object",
  "properties": {
    "sandbox": {
      "type": "string",
      "description": "The sandbox key returned by pmitz_create_sandbox, for example pmz_ab12cd34ef56_…."
    }
  },
  "required": [
    "sandbox"
  ],
  "additionalProperties": false
}
🟢pmitz_export_plans(sandbox)

Returns the product definitions of a sandbox (features, limits and plans) exactly as they were created, so they can be kept in source control and loaded into another Pmitz server. Subscriptions and recorded usage are not exported.

입력 스키마

{
  "type": "object",
  "properties": {
    "sandbox": {
      "type": "string",
      "description": "The sandbox key returned by pmitz_create_sandbox, for example pmz_ab12cd34ef56_…."
    }
  },
  "required": [
    "sandbox"
  ],
  "additionalProperties": false
}
⚪pmitz_keep_sandbox(sandbox)

Keeps a sandbox for 30 days instead of 72 hours, for a user who signs in with GitHub. Optional: a sandbox works the same without it. Meant for when the user asks to keep a sandbox longer or to sign in. The first call returns a GitHub address and a short code for the user to enter there. A second call with the same sandbox key, after the user has entered the code, completes the sign-in. Only the public GitHub profile (username, name and company) is read.

입력 스키마

{
  "type": "object",
  "properties": {
    "sandbox": {
      "type": "string",
      "description": "The sandbox key returned by pmitz_create_sandbox, for example pmz_ab12cd34ef56_…."
    }
  },
  "required": [
    "sandbox"
  ],
  "additionalProperties": false
}
🟢pmitz_verify_entitlement(sandbox, groupType, groupId, productId, featureId)

Checks whether a subject may use a feature. Returns featureAllowed and, on denial, the cause (INVALID_SUBSCRIPTION, PRODUCT_NOT_ALLOWED or FEATURE_NOT_ALLOWED). Acts on one Pmitz sandbox.

입력 스키마

{
  "type": "object",
  "properties": {
    "sandbox": {
      "type": "string",
      "description": "The sandbox key returned by pmitz_create_sandbox, for example pmz_ab12cd34ef56_…."
    },
    "groupType": {
      "type": "string",
      "enum": [
        "subscriptions",
        "users",
        "directory-groups"
      ],
      "description": "Kind of subject. Use \"subscriptions\" when access depends on a plan."
    },
    "groupId": {
      "type": "string",
      "description": "Identifier of the subscription, user or directory group."
    },
    "productId": {
      "type": "string",
      "description": "Product ID from the catalog."
    },
    "featureId": {
      "type": "string",
      "description": "Feature ID inside that product."
    }
  },
  "required": [
    "sandbox",
    "groupId",
    "productId",
    "featureId"
  ],
  "additionalProperties": false
}
🟢pmitz_check_limits(sandbox, groupType, groupId, productId, featureId, ...)

Previews whether the requested units fit. Returns featureStatus (AVAILABLE, LIMIT_EXCEEDED or NOT_ALLOWED) and the units that would remain after the action. Nothing is reserved or recorded. Acts on one Pmitz sandbox.

입력 스키마

{
  "type": "object",
  "properties": {
    "sandbox": {
      "type": "string",
      "description": "The sandbox key returned by pmitz_create_sandbox, for example pmz_ab12cd34ef56_…."
    },
    "groupType": {
      "type": "string",
      "enum": [
        "subscriptions",
        "users",
        "directory-groups"
      ],
      "description": "Kind of subject. Use \"subscriptions\" when access depends on a plan."
    },
    "groupId": {
      "type": "string",
      "description": "Identifier of the subscription, user or directory group."
    },
    "productId": {
      "type": "string",
      "description": "Product ID from the catalog."
    },
    "featureId": {
      "type": "string",
      "description": "Feature ID inside that product."
    },
    "units": {
      "type": "object",
      "description": "Units per limit ID, for example {\"monthly-exports\": 1}. Each value is a positive integer.",
      "additionalProperties": {
        "type": "integer",
        "minimum": 1
      }
    }
  },
  "required": [
    "sandbox",
    "groupId",
    "productId",
    "featureId",
    "units"
  ],
  "additionalProperties": false
}
🟢pmitz_get_remaining_limits(sandbox, groupType, groupId, productId, featureId)

Reads the remaining units of each limit of a feature for a subject. For a subscription the limits of its plan are applied. A negative value means usage is already above the limit. Acts on one Pmitz sandbox.

입력 스키마

{
  "type": "object",
  "properties": {
    "sandbox": {
      "type": "string",
      "description": "The sandbox key returned by pmitz_create_sandbox, for example pmz_ab12cd34ef56_…."
    },
    "groupType": {
      "type": "string",
      "enum": [
        "subscriptions",
        "users",
        "directory-groups"
      ],
      "description": "Kind of subject. Use \"subscriptions\" when access depends on a plan."
    },
    "groupId": {
      "type": "string",
      "description": "Identifier of the subscription, user or directory group."
    },
    "productId": {
      "type": "string",
      "description": "Product ID from the catalog."
    },
    "featureId": {
      "type": "string",
      "description": "Feature ID inside that product."
    }
  },
  "required": [
    "sandbox",
    "groupId",
    "productId",
    "featureId"
  ],
  "additionalProperties": false
}
🟢pmitz_find_subscription(sandbox, subscriptionId)

Reads a subscription: its status, expiration date and plan per product. Acts on one Pmitz sandbox.

입력 스키마

{
  "type": "object",
  "properties": {
    "sandbox": {
      "type": "string",
      "description": "The sandbox key returned by pmitz_create_sandbox, for example pmz_ab12cd34ef56_…."
    },
    "subscriptionId": {
      "type": "string",
      "description": "Subscription ID."
    }
  },
  "required": [
    "sandbox",
    "subscriptionId"
  ],
  "additionalProperties": false
}
🟡pmitz_create_product(sandbox, product)

Creates a product with its features, limits and plans. Limits belong to features; a plan lists the features it includes and may override their limits. Fails with a conflict if the product ID already exists; there is no update, so changing a product means removing it and creating it again. Acts on one Pmitz sandbox.

입력 스키마

{
  "type": "object",
  "properties": {
    "sandbox": {
      "type": "string",
      "description": "The sandbox key returned by pmitz_create_sandbox, for example pmz_ab12cd34ef56_…."
    },
    "product": {
      "type": "object",
      "description": "One product object. Example with a Free plan of 3 exports a month and a Pro plan of 100: {\"productId\":\"reports\",\"features\":[{\"featureId\":\"export\",\"limits\":[{\"type\":\"CalendarPeriodRateLimit\",\"id\":\"monthly-exports\",\"quota\":3,\"periodicity\":\"MONTH\"}]},{\"featureId\":\"audit-log\",\"limits\":[]}],\"plans\":[{\"planId\":\"free\",\"includedFeatures\":[\"export\"]},{\"planId\":\"pro\",\"includedFeatures\":[\"export\",\"audit-log\"],\"limitsOverride\":[{\"type\":\"CalendarPeriodRateLimit\",\"id\":\"monthly-exports\",\"quota\":100,\"periodicity\":\"MONTH\"}]}]}",
      "properties": {
        "productId": {
          "type": "string",
          "description": "New product ID."
        },
        "features": {
          "type": "array",
          "description": "The features of the product. Limits are defined here, once per feature.",
          "items": {
            "type": "object",
            "properties": {
              "featureId": {
                "type": "string",
                "description": "Feature ID, unique within the product."
              },
              "limits": {
                "type": "array",
                "description": "Default limits of the feature. Leave empty for a feature that is only on or off.",
                "items": {
                  "type": "object",
                  "description": "One limit. A CountLimit is a total with no automatic reset and takes \"count\". A CalendarPeriodRateLimit resets every calendar period and takes \"quota\" and \"periodicity\".",
                  "properties": {
                    "type": {
                      "type": "string",
                      "enum": [
                        "CountLimit",
                        "CalendarPeriodRateLimit"
                      ],
                      "description": "Kind of limit."
                    },
                    "id": {
                      "type": "string",
                      "description": "Limit ID, unique within the product, for example \"monthly-exports\"."
                    },
                    "count": {
                      "type": "integer",
                      "minimum": 1,
                      "description": "CountLimit only: units allowed in total."
                    },
                    "quota": {
                      "type": "integer",
                      "minimum": 1,
                      "description": "CalendarPeriodRateLimit only: units allowed per period."
                    },
                    "periodicity": {
                      "type": "string",
                      "enum": [
                        "HOUR",
                        "DAY",
                        "WEEK",
                        "MONTH",
                        "YEAR"
                      ],
                      "description": "CalendarPeriodRateLimit only: the period."
                    },
                    "unit": {
                      "type": "string",
                      "description": "Optional label for what is counted, for example \"exports\"."
                    }
                  },
                  "required": [
                    "type",
                    "id"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "featureId"
            ],
            "additionalProperties": false
          }
        },
        "plans": {
          "type": "array",
          "description": "The plans a subscription can be on.",
          "items": {
            "type": "object",
            "properties": {
              "planId": {
                "type": "string",
                "description": "Plan ID, unique within the product."
              },
              "description": {
                "type": "string",
                "description": "Optional description of the plan."
              },
              "includedFeatures": {
                "type": "array",
                "description": "Feature IDs this plan gives access to. A feature left out is not allowed.",
                "items": {
                  "type": "string"
                }
              },
              "limitsOverride": {
                "type": "array",
                "description": "Complete limit objects that replace, for this plan, the feature limit with the same id.",
                "items": {
                  "type": "object",
                  "description": "One limit. A CountLimit is a total with no automatic reset and takes \"count\". A CalendarPeriodRateLimit resets every calendar period and takes \"quota\" and \"periodicity\".",
                  "properties": {
                    "type": {
                      "type": "string",
                      "enum": [
                        "CountLimit",
                        "CalendarPeriodRateLimit"
                      ],
                      "description": "Kind of limit."
                    },
                    "id": {
                      "type": "string",
                      "description": "Limit ID, unique within the product, for example \"monthly-exports\"."
                    },
                    "count": {
                      "type": "integer",
                      "minimum": 1,
                      "description": "CountLimit only: units allowed in total."
                    },
                    "quota": {
                      "type": "integer",
                      "minimum": 1,
                      "description": "CalendarPeriodRateLimit only: units allowed per period."
                    },
                    "periodicity": {
                      "type": "string",
                      "enum": [
                        "HOUR",
                        "DAY",
                        "WEEK",
                        "MONTH",
                        "YEAR"
                      ],
                      "description": "CalendarPeriodRateLimit only: the period."
                    },
                    "unit": {
                      "type": "string",
                      "description": "Optional label for what is counted, for example \"exports\"."
                    }
                  },
                  "required": [
                    "type",
                    "id"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "planId",
              "includedFeatures"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "productId",
        "features"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "sandbox",
    "product"
  ],
  "additionalProperties": false
}
🔴pmitz_remove_product(sandbox, productId)

Removes a product definition. Every check for that product is refused until it is created again. Stored usage and subscriptions are kept. Acts on one Pmitz sandbox.

입력 스키마

{
  "type": "object",
  "properties": {
    "sandbox": {
      "type": "string",
      "description": "The sandbox key returned by pmitz_create_sandbox, for example pmz_ab12cd34ef56_…."
    },
    "productId": {
      "type": "string",
      "description": "Product ID to remove."
    }
  },
  "required": [
    "sandbox",
    "productId"
  ],
  "additionalProperties": false
}
🟡pmitz_create_subscription(sandbox, subscriptionId, status, plans, expirationDate)

Creates a subscription and assigns a plan per product. Fails with a conflict if the subscription ID already exists. Acts on one Pmitz sandbox.

입력 스키마

{
  "type": "object",
  "properties": {
    "sandbox": {
      "type": "string",
      "description": "The sandbox key returned by pmitz_create_sandbox, for example pmz_ab12cd34ef56_…."
    },
    "subscriptionId": {
      "type": "string",
      "description": "New subscription ID."
    },
    "status": {
      "type": "string",
      "enum": [
        "TRIAL",
        "TRIAL_ENDED",
        "PENDING",
        "ACTIVE",
        "SUSPENDED",
        "EXPIRED",
        "PENDING_CANCELLATION",
        "CANCELLED",
        "TERMINATED",
        "ENDED"
      ],
      "description": "Initial status, usually ACTIVE."
    },
    "plans": {
      "type": "object",
      "description": "Plan ID per product ID, for example {\"reports\": \"free\"}.",
      "additionalProperties": {
        "type": "string"
      }
    },
    "expirationDate": {
      "type": "string",
      "description": "Optional ISO date-time with an offset, for example 2027-01-31T00:00:00Z."
    }
  },
  "required": [
    "sandbox",
    "subscriptionId",
    "status",
    "plans"
  ],
  "additionalProperties": false
}
🔴pmitz_update_subscription_status(sandbox, subscriptionId, status)

Changes the status of a subscription. A status that is not valid, such as SUSPENDED or CANCELLED, makes every feature check for that subscription fail. Acts on one Pmitz sandbox.

입력 스키마

{
  "type": "object",
  "properties": {
    "sandbox": {
      "type": "string",
      "description": "The sandbox key returned by pmitz_create_sandbox, for example pmz_ab12cd34ef56_…."
    },
    "subscriptionId": {
      "type": "string",
      "description": "Subscription ID."
    },
    "status": {
      "type": "string",
      "enum": [
        "TRIAL",
        "TRIAL_ENDED",
        "PENDING",
        "ACTIVE",
        "SUSPENDED",
        "EXPIRED",
        "PENDING_CANCELLATION",
        "CANCELLED",
        "TERMINATED",
        "ENDED"
      ],
      "description": "New status."
    }
  },
  "required": [
    "sandbox",
    "subscriptionId",
    "status"
  ],
  "additionalProperties": false
}
🟢pmitz_record_usage(sandbox, groupType, groupId, productId, featureId, ...)

Records consumed units for a subject. Refused when a limit would be exceeded. It writes to Pmitz directly, so it does not show whether an application records usage itself. Acts on one Pmitz sandbox.

입력 스키마

{
  "type": "object",
  "properties": {
    "sandbox": {
      "type": "string",
      "description": "The sandbox key returned by pmitz_create_sandbox, for example pmz_ab12cd34ef56_…."
    },
    "groupType": {
      "type": "string",
      "enum": [
        "subscriptions",
        "users",
        "directory-groups"
      ],
      "description": "Kind of subject. Use \"subscriptions\" when access depends on a plan."
    },
    "groupId": {
      "type": "string",
      "description": "Identifier of the subscription, user or directory group."
    },
    "productId": {
      "type": "string",
      "description": "Product ID from the catalog."
    },
    "featureId": {
      "type": "string",
      "description": "Feature ID inside that product."
    },
    "units": {
      "type": "object",
      "description": "Units per limit ID, for example {\"monthly-exports\": 1}. Each value is a positive integer.",
      "additionalProperties": {
        "type": "integer",
        "minimum": 1
      }
    }
  },
  "required": [
    "sandbox",
    "groupId",
    "productId",
    "featureId",
    "units"
  ],
  "additionalProperties": false
}
🔴pmitz_reduce_usage(sandbox, groupType, groupId, productId, featureId, ...)

Subtracts units from the recorded usage of a subject, for example after a seat is freed. It subtracts; it does not restore an earlier value. Acts on one Pmitz sandbox.

입력 스키마

{
  "type": "object",
  "properties": {
    "sandbox": {
      "type": "string",
      "description": "The sandbox key returned by pmitz_create_sandbox, for example pmz_ab12cd34ef56_…."
    },
    "groupType": {
      "type": "string",
      "enum": [
        "subscriptions",
        "users",
        "directory-groups"
      ],
      "description": "Kind of subject. Use \"subscriptions\" when access depends on a plan."
    },
    "groupId": {
      "type": "string",
      "description": "Identifier of the subscription, user or directory group."
    },
    "productId": {
      "type": "string",
      "description": "Product ID from the catalog."
    },
    "featureId": {
      "type": "string",
      "description": "Feature ID inside that product."
    },
    "units": {
      "type": "object",
      "description": "Units per limit ID, for example {\"monthly-exports\": 1}. Each value is a positive integer.",
      "additionalProperties": {
        "type": "integer",
        "minimum": 1
      }
    }
  },
  "required": [
    "sandbox",
    "groupId",
    "productId",
    "featureId",
    "units"
  ],
  "additionalProperties": false
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 14개