PushPress MCP by usefulapi
Read members, classes, check-ins, events and plans; create customers in PushPress.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"pushpress": {
"url": "https://pushpress.usefulapi.io/mcp"
}
}
}远程端点
https://pushpress.usefulapi.io/mcpstreamable-http它能做什么
工具清单
工具(18)
🟢pushpress_get_company
Get the gym (company) this API key belongs to: name, address and contact details. GET /company.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pushpress_list_customers(email, role, limit, page)
List gym customers (members). Filter by email or role. Each customer has id, name, email, phone and membership details. GET /customers.
输入模式
{
"type": "object",
"properties": {
"email": {
"description": "Filter by exact email address.",
"type": "string"
},
"role": {
"description": "Filter by customer role, as PushPress defines it.",
"type": "string"
},
"limit": {
"description": "Results per page (default set by PushPress).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pushpress_get_customer(uuid)
Get one customer by UUID: name, contact details, address, membership details and assigned staff. GET /customers/{uuid}.
输入模式
{
"type": "object",
"properties": {
"uuid": {
"type": "string",
"minLength": 1,
"description": "Identifier (UUID or id) of the record."
}
},
"required": [
"uuid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴pushpress_create_customer(email, first_name, last_name, phone, dob)
Create a new customer (member) with an email address and optional name, phone and date of birth. Writes a new record: check the details first. POST /customers.
输入模式
{
"type": "object",
"properties": {
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "Email address of the new customer."
},
"first_name": {
"description": "First name.",
"type": "string"
},
"last_name": {
"description": "Last name.",
"type": "string"
},
"phone": {
"description": "Phone number.",
"type": "string"
},
"dob": {
"description": "Date of birth, YYYY-MM-DD.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"required": [
"email"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pushpress_list_classes(starts_after, access, order, limit, page)
List scheduled classes, optionally from a start date. Returns class id, title, coach, location and times. GET /classes.
输入模式
{
"type": "object",
"properties": {
"starts_after": {
"description": "Only classes starting after this date or time.",
"type": "string"
},
"access": {
"description": "Access filter, as PushPress defines it.",
"type": "string"
},
"order": {
"description": "Sort order, as PushPress defines it.",
"type": "string"
},
"limit": {
"description": "Results per page (default set by PushPress).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pushpress_get_class(id, expand)
Get one scheduled class by id. Optional expand adds related records as PushPress defines them. GET /classes/{id}.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "Identifier (UUID or id) of the record."
},
"expand": {
"description": "Related records to include, as PushPress defines them.",
"type": "string"
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pushpress_list_class_types
List the class types (templates such as Spin or Yoga) the gym offers. GET /classes/types.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pushpress_get_class_type(id)
Get one class type by id. GET /classes/types/{id}.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "Identifier (UUID or id) of the record."
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pushpress_list_reservations(calendar_item_id, limit, page)
List reservations, optionally for one calendar item (a class or event). GET /reservations.
输入模式
{
"type": "object",
"properties": {
"calendar_item_id": {
"description": "Only reservations for this calendar item id.",
"type": "string"
},
"limit": {
"description": "Results per page (default set by PushPress).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pushpress_get_reservation(id)
Get one reservation by id. GET /reservations/{id}.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "Identifier (UUID or id) of the record."
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pushpress_count_checkins(after, before, customer, type, include_historical_checkins)
Count check-ins in a date range, optionally for one customer or check-in type. GET /checkins/count.
输入模式
{
"type": "object",
"properties": {
"after": {
"description": "Only check-ins after this date or time.",
"type": "string"
},
"before": {
"description": "Only check-ins before this date or time.",
"type": "string"
},
"customer": {
"description": "Only check-ins of this customer UUID.",
"type": "string"
},
"type": {
"description": "Check-in type, as PushPress defines it.",
"type": "string"
},
"include_historical_checkins": {
"description": "Include historical check-ins.",
"type": "boolean"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pushpress_list_class_checkins(after, before, customer, limit, page)
List check-ins for classes in a date range, optionally for one customer. GET /checkins/class.
输入模式
{
"type": "object",
"properties": {
"after": {
"description": "Only check-ins after this date or time.",
"type": "string"
},
"before": {
"description": "Only check-ins before this date or time.",
"type": "string"
},
"customer": {
"description": "Only check-ins of this customer UUID.",
"type": "string"
},
"limit": {
"description": "Results per page (default set by PushPress).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pushpress_get_class_checkin(uuid)
Get one class check-in by UUID. GET /checkins/class/{uuid}.
输入模式
{
"type": "object",
"properties": {
"uuid": {
"type": "string",
"minLength": 1,
"description": "Identifier (UUID or id) of the record."
}
},
"required": [
"uuid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pushpress_list_events(starts_after, access, order, limit, page)
List gym events (workshops, camps and other non-class calendar events), optionally from a start date. GET /events.
输入模式
{
"type": "object",
"properties": {
"starts_after": {
"description": "Only events starting after this date or time.",
"type": "string"
},
"access": {
"description": "Access filter, as PushPress defines it.",
"type": "string"
},
"order": {
"description": "Sort order, as PushPress defines it.",
"type": "string"
},
"limit": {
"description": "Results per page (default set by PushPress).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pushpress_get_event(id, expand)
Get one event by id. Optional expand adds related records as PushPress defines them. GET /events/{id}.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "Identifier (UUID or id) of the record."
},
"expand": {
"description": "Related records to include, as PushPress defines them.",
"type": "string"
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pushpress_list_enrollments(customer_id, status, limit, page)
List enrollments (a customer's plan or program sign-ups), optionally for one customer or status. GET /enrollments.
输入模式
{
"type": "object",
"properties": {
"customer_id": {
"description": "Only enrollments of this customer id.",
"type": "string"
},
"status": {
"description": "Enrollment status, as PushPress defines it.",
"type": "string"
},
"limit": {
"description": "Results per page (default set by PushPress).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
},
"page": {
"description": "Page number, starting at 1.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pushpress_get_enrollment(uuid)
Get one enrollment by UUID. GET /enrollments/{uuid}.
输入模式
{
"type": "object",
"properties": {
"uuid": {
"type": "string",
"minLength": 1,
"description": "Identifier (UUID or id) of the record."
}
},
"required": [
"uuid"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢pushpress_get_plan(id)
Get one membership or pricing plan by id. GET /plans/{id}.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "Identifier (UUID or id) of the record."
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社区
证据