pull/715/head
Travis Fischer 2025-06-27 15:06:20 -05:00
rodzic 894fa6b8e2
commit 7ad98ca1d7
5 zmienionych plików z 27 dodań i 7 usunięć

Wyświetl plik

@ -9,13 +9,13 @@ Agentic uses Cloudflare's global edge cache for caching, which guarantees unmatc
## Enabling Caching
You can enable caching for individual tools by setting [pure](/publishing/config/tool-config#param-pure) or [cacheControl](/publishing/config/tool-config#param-cache-control) on the tool's config.
You can enable caching for individual tools by setting [pure](/publishing/config/tool-config#param-pure) or [cacheControl](/publishing/config/tool-config#param-cache-control) on the tool's config. See [below](#examples) for examples.
## Cache Keys
Cache keys for tool calls are generated by normalizing the tool call's input, regardless of whether the tool call was made via `HTTP POST`, `HTTP GET`, or `MCP`.
Tool call args will be hashed using a deterministic, stable JSON serialization algorithm, so tool calls with semantically identical input will have identical cache keys.
Tool call args are hashed using a stable, deterministic JSON serialization algorithm, so tool calls with "identical" JSON inputs will have identical cache keys.
## Disabling Caching

Wyświetl plik

@ -7,6 +7,11 @@ description: This guide shows how to publish an MCP server to Agentic using the
## 1. Install the `fastmcp` package
<Info>
**Prerequisite**: Please install [Python](https://www.python.org) before
proceeding.
</Info>
<CodeGroup>
```bash uv

Wyświetl plik

@ -1,12 +1,17 @@
---
title: TS FastMCP
description: This guide shows how to publish an MCP server to Agentic using the TypeScript fastmcp package.
title: TypeScript FastMCP
description: This guide shows how to publish an MCP server to Agentic using the TypeScript FastMCP package.
---
[FastMCP](https://github.com/punkpeye/fastmcp) is a popular open source TypeScript framework for building MCP servers.
## 1. Install dependencies
<Info>
**Prerequisite**: Please install [Node.js](https://nodejs.org) before
proceeding.
</Info>
<CodeGroup>
```bash npm

Wyświetl plik

@ -1,12 +1,17 @@
---
title: TS MCP Hono
title: TypeScript Hono MCP
description: This guide shows how to publish an MCP server to Agentic using TypeScript and Hono's MCP support.
---
[Hono](https://hono.dev) is a popular open source TypeScript framework for building HTTP servers, and [`@hono/mcp`](https://github.com/honojs/middleware/tree/main/packages/mcp) is an excellent middleware for exposing MCP servers.
[Hono](https://hono.dev) is a popular open source TypeScript framework for building HTTP servers, and [`@hono/mcp`](https://github.com/honojs/middleware/tree/main/packages/mcp) is an excellent solution for exposing MCP servers.
## 1. Install dependencies
<Info>
**Prerequisite**: Please install [Node.js](https://nodejs.org) before
proceeding.
</Info>
<CodeGroup>
```bash npm

Wyświetl plik

@ -1,5 +1,5 @@
---
title: TS OpenAPI Hono
title: TypeScript Hono OpenAPI
description: This guide shows how to publish an OpenAPI service to Agentic using TypeScript and Hono's OpenAPI support.
---
@ -7,6 +7,11 @@ description: This guide shows how to publish an OpenAPI service to Agentic using
## 1. Install dependencies
<Info>
**Prerequisite**: Please install [Node.js](https://nodejs.org) before
proceeding.
</Info>
<CodeGroup>
```bash npm