MCP 服务器

api-composition-gateway

io.github.lazymac2x/api-composition-gateway
开发者工具 公开且可连接 MCP 2026-07-28

此 MCP 可以做什么

Composes API responses by merging data, aggregating errors, selecting fields, and managing in-memory response caches.

api-merger
Merge multiple API responses into a single unified response keyed by a shared field.
输入模式
{'type': 'object', 'properties': {'sources': {'type': 'array', 'items': {'type': 'string'}, 'default': ['users', 'orders'], 'description': 'Data sources to merge'}, 'mergeKey': {'type': 'string', 'default': 'userId', 'description': 'Key to merge on'}}}
error-aggregator
Aggregate and surface errors from multiple data sources with optional simulation.
输入模式
{'type': 'object', 'properties': {'sources': {'type': 'array', 'items': {'type': 'string'}, 'default': ['users', 'orders']}, 'simulate': {'type': 'boolean', 'default': False}}}
field-selector
Select specific fields from a data source (GraphQL-style projection).
输入模式
{'type': 'object', 'properties': {'fields': {'type': 'array', 'items': {'type': 'string'}, 'default': ['id', 'name']}, 'source': {'enum': ['users', 'orders', 'products'], 'type': 'string', 'default': 'users'}}}
response-cache-manager
Manage in-memory response caching with TTL and invalidation (per-isolate, best-effort).
输入模式
{'type': 'object', 'required': ['action'], 'properties': {'key': {'type': 'string'}, 'ttl': {'type': 'integer', 'default': 300}, 'value': {}, 'action': {'enum': ['get', 'set', 'invalidate', 'stats'], 'type': 'string'}}}
已添加
error-aggregator
2026年9月17日 12:43
已添加
field-selector
2026年9月17日 12:43
已添加
response-cache-manager
2026年9月17日 12:43
已添加
api-merger
2026年9月17日 12:43