---
description: Step-by-step guides for building and extending Cloudflare Agents with real-world patterns.
title: Guides
image: https://developers.cloudflare.com/og-docs.png
---

[Skip to content](#main-content)

> Documentation Index  
> Fetch the complete documentation index at: https://developers.cloudflare.com/agents/llms.txt  
> Use this file to discover all available pages before exploring further.

# Guides

Last updated Aug 24, 2026|Copy as Markdown|[View as Markdown](https://e8aee267.previews.developers.cloudflare.com/agents/model-context-protocol/guides/index.md)|[Agent setup](https://e8aee267.previews.developers.cloudflare.com/agent-setup/)

* [Build MCP client](https://github.com/cloudflare/ai/tree/main/demos/mcp-client)
* [Build a Remote MCP server](https://e8aee267.previews.developers.cloudflare.com/agents/model-context-protocol/guides/remote-mcp-server/)
* [Test a Remote MCP Server](https://e8aee267.previews.developers.cloudflare.com/agents/model-context-protocol/guides/test-remote-mcp-server/)
* [Securing MCP servers](https://e8aee267.previews.developers.cloudflare.com/agents/model-context-protocol/guides/securing-mcp-server/)
* [Connect to an MCP server](https://e8aee267.previews.developers.cloudflare.com/agents/model-context-protocol/guides/connect-mcp-client/)
* [Handle OAuth with MCP servers](https://e8aee267.previews.developers.cloudflare.com/agents/model-context-protocol/guides/oauth-mcp-client/)
* [Migrate to MCP SDK v2](https://e8aee267.previews.developers.cloudflare.com/agents/model-context-protocol/guides/migrate-to-mcp-sdk-v2/)
* [Build a single-tool Code Mode MCP server](https://e8aee267.previews.developers.cloudflare.com/agents/model-context-protocol/guides/build-codemode-mcp-server/)
* [Build a search and execute MCP server](https://e8aee267.previews.developers.cloudflare.com/agents/model-context-protocol/guides/build-codemode-openapi-mcp-server/)

Was this helpful?

YesNo

## On this page

[![](https://e8aee267.previews.developers.cloudflare.com/_astro/logo.te5VL_aD.svg)Docs](https://e8aee267.previews.developers.cloudflare.com/)

```json
{"@context":"https://schema.org","@type":"WebPage","@id":"https://developers.cloudflare.com/agents/model-context-protocol/guides/#page","headline":"Guides · Cloudflare Agents docs","description":"Step-by-step guides for building and extending Cloudflare Agents with real-world patterns.","url":"https://developers.cloudflare.com/agents/model-context-protocol/guides/","inLanguage":"en","image":"https://developers.cloudflare.com/og-docs.png","dateModified":"2026-08-24","publisher":{"@type":"Organization","name":"Cloudflare","url":"https://www.cloudflare.com/"},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
```
