MCP 服务器

cache-proxy

io.github.Ainode-tech/cache-proxy
MCP 与智能体基础设施 公开且可连接 MCP 2025-11-25

此 MCP 可以做什么

Provides an exact and semantic cache proxy for LLM requests, including cached responses and upstream forwarding.

cache_query
Send an LLM request through the caching proxy. Returns cached response if available, otherwise proxies to upstream LLM.
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['provider', 'path', 'body', 'api_key'], 'properties': {'body': {'type': 'string', 'description': 'JSON request body as string'}, 'path': {'type': 'string', 'description': 'API path (e.g. /v1/chat/completions)'}, 'api_key': {'type': 'string', 'description': 'API key for the upstream provider'}, 'provider': {'enum': ['openai', 'anthropic'], 'type': 'string', 'description': 'LLM provider to proxy to'}, 'cache_ttl': {'type': 'number', 'description': 'Cache TTL in seconds (default 86400)'}}, 'additionalProperties': False}
health
Health check. Returns server status and optional echo.
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'echo': {'type': 'string', 'description': 'Optional string to echo back'}}, 'additionalProperties': False}
已添加
cache_query
2026年9月17日 12:40
已添加
health
2026年9月17日 12:40