MCP 服务器

hypertune

io.usefulapi/hypertune
开发者工具 公开且可连接 MCP 2026-07-28

此 MCP 可以做什么

Evaluates, inspects, lists, and queries Hypertune feature flags through its GraphQL endpoint.

hypertune_evaluate
Evaluate feature flags
Evaluate one or more feature flags for a given context and get their resolved values. Builds `query { root(context: <context>) { <selection> } }`. Provide `selection` = the flag fields to read (e.g. `exampleFlag anotherFlag { nestedField }`) and `context` = the evaluation context (environment + user/attributes). Every field must supply all of its arguments (Hypertune reduces the flag logic to a JSON result). Use hypertune_list_flags / hypertune_introspect first if you don't know the flag names.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['selection'], 'properties': {'context': {'type': 'object', 'description': 'Evaluation context object, inlined as the `context` arg. e.g. {"environment":"production","user":{"id":"u_123","email":"a@b.com"}}. Omit to return the flag LOGIC instead of a reduced value.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'selection': {'type': 'string', 'description': 'GraphQL selection of flag fields under root, e.g. `exampleFlag` or `homePage { showBanner } exampleFlag`.'}}}
hypertune_get_logic
Get flag logic (unreduced)
Fetch the underlying LOGIC of flags without reducing them — i.e. `query { root { <selection> } }` with no context. Returns the flag's conditional expression / rules rather than a single resolved value, useful for inspecting how a flag is configured. If the schema requires a context arg you can still pass a partial one via `context`.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['selection'], 'properties': {'context': {'type': 'object', 'description': 'Optional partial context, inlined as the `context` arg if the schema requires it.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'selection': {'type': 'string', 'description': 'GraphQL selection of flag fields under root, e.g. `exampleFlag`.'}}}
hypertune_introspect
Introspect the GraphQL schema
Run a GraphQL introspection query to discover the project's schema — all types and fields, including the available flags and the shape of the evaluation context. Best-effort: some edge deployments disable introspection, in which case this returns a clear error (use hypertune_query with a known flag name instead).
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {}}
hypertune_list_flags
List feature flags
List the project's top-level feature flags (the fields of the query root type) with their return types and descriptions, derived from GraphQL introspection. A convenient first call to see what flags exist before evaluating. Requires introspection to be enabled on the edge endpoint.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {}}
hypertune_query
Run a raw GraphQL query
Run an arbitrary GraphQL query (and optional variables) against the Hypertune edge endpoint. Power-user escape hatch for full control — each Hypertune project has its own generated schema, so this handles any flag shape, nested selections, inline enum literals, or variables the convenience tools can't express. The query root field is `root(context: ...)`.
只读
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['query'], 'properties': {'query': {'type': 'string', 'description': 'A complete GraphQL query string, e.g. `query { root(context: {environment: "production"}) { myFlag } }`.'}, 'variables': {'type': 'object', 'description': "Optional GraphQL variables object matching the query's declared variables.", 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}}}
已更改
hypertune_list_flags
2026年10月1日 02:43
已更改
hypertune_introspect
2026年10月1日 02:43
已更改
hypertune_query
2026年10月1日 02:43
已更改
hypertune_get_logic
2026年10月1日 02:43
已更改
hypertune_evaluate
2026年10月1日 02:43
已添加
hypertune_list_flags
2026年9月21日 02:44
已添加
hypertune_introspect
2026年9月21日 02:44
已添加
hypertune_query
2026年9月21日 02:44
已添加
hypertune_get_logic
2026年9月21日 02:44
已添加
hypertune_evaluate
2026年9月21日 02:44