Skip to content

Commit b278f23

Browse files
authored
[Agents] Remove trailing spaces (#19889)
1 parent 950e989 commit b278f23

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/content/docs/agents/capabilities/mcp-server.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar:
77
hideIndex: true
88
description: Build and deploy an MCP server on Cloudflare Workers
99
---
10-
[Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) is an open standard that allows AI assistants & LLMs to interact with services directly. If you want users to access your service or product straight from their AI assistant, you can enable this by spinning up an MCP server for your application.
10+
[Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) is an open standard that allows AI assistants & LLMs to interact with services directly. If you want users to access your service or product straight from their AI assistant, you can enable this by spinning up an MCP server for your application.
1111

1212
## Building an MCP Server on Cloudflare Workers
1313

@@ -19,14 +19,14 @@ Once deployed, your Worker becomes an MCP server that AI assistants (as long as
1919
- **Minimal setup & built-in boilerplate:** The Worker automatically handles API routing, server management, and MCP protocol compliance. The [workers-mcp](https://www.npmjs.com/package/workers-mcp) package bootstraps your MCP server, allowing you to focus on your service logic.
2020
- **Automatic documentation:** Public methods annotated with JSDoc are automatically documented and exposed as MCP tools. This means AI assistants can quickly understand how to interact with your service, making tool discovery and integration much easier.
2121
- **Scalability & performance:** Deploy your MCP server on Cloudflare's global edge network so that users can make fast, performant requests from their LLMs. Cloudflare will handle traffic spikes and high load, ensuring your service remains available and responsive.
22-
- **Expand MCP server capabilities:** Easily connect to Workers AI, D1, Durable Objects, and other Cloudflare services to add more functionality to your MCP Server.
22+
- **Expand MCP server capabilities:** Easily connect to Workers AI, D1, Durable Objects, and other Cloudflare services to add more functionality to your MCP Server.
2323

2424
## Get Started
2525

2626
Follow these steps to create and deploy your own MCP server on Cloudflare Workers.
2727

2828

29-
### 1. Create a new Worker
29+
### 1. Create a new Worker
3030

3131
If you haven't already, install [Wrangler](https://developers.cloudflare.com/workers/wrangler/) and log in:
3232

@@ -95,7 +95,7 @@ This converts your Cloudflare Worker into an MCP server, enabling interactions w
9595
- **ProxyToSelf:** MCP servers must follow a specific request/response format. ProxyToSelf ensures that incoming requests are properly routed to the correct MCP tools. Without this, you would need to manually parse requests and validate responses.
9696

9797

98-
**Note:** Every public method that is annotated with JSDoc becomes an MCP tool that is discoverable by AI assistants.
98+
**Note:** Every public method that is annotated with JSDoc becomes an MCP tool that is discoverable by AI assistants.
9999

100100

101101
### 5. Deploy the MCP Server
@@ -104,10 +104,10 @@ Update your [Wrangler configuration file](/workers/wrangler/configuration/) with
104104
wrangler deploy
105105
```
106106

107-
Your MCP server is now deployed globally and all your public class methods are exposed as MCP tools that AI assistants can now interact with.
107+
Your MCP server is now deployed globally and all your public class methods are exposed as MCP tools that AI assistants can now interact with.
108108

109109
### Expanding the MCP Server Capabilities
110-
Use existing Cloudflare products to expand the functionality of your MCP server. You can:
110+
Use existing Cloudflare products to expand the functionality of your MCP server. You can:
111111
- Send emails using [Email Routing](/email-routing/)
112112
- Capture and share website previews using [Browser Rendering](/browser-rendering/)
113113
- Store and manage sessions, user data, or other persistent information with [Durable Objects](/durable-objects/)

src/content/docs/agents/capabilities/run-models.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ external_link: /workers-ai/
55
sidebar:
66
order: 3
77
head: []
8-
description: Run popular open-source AI models on Cloudflare's network.
8+
description: Run popular open-source AI models on Cloudflare's network.
99
---

src/content/docs/agents/capabilities/send-email.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ external_link: /email-routing/email-workers/send-email-workers/
55
sidebar:
66
order: 4
77
head: []
8-
description: Send emails from your Worker for async updates to a user.
8+
description: Send emails from your Worker for async updates to a user.
99
---
1010

1111

src/content/docs/agents/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import {
2424

2525
Build AI-powered agents that can autonomously perform tasks, persist state, browse the web, and communicate back to users in real-time over any channel.
2626

27-
- **Serverless inference that scales up _and_ down**: run AI directly on Cloudflre, without worrying about pre-provisioning VMs at peak, and worrying about utilization. Call the latest open-source models on [Workers AI](/workers-ai/), and pay just for what you use.
27+
- **Serverless inference that scales up _and_ down**: run AI directly on Cloudflre, without worrying about pre-provisioning VMs at peak, and worrying about utilization. Call the latest open-source models on [Workers AI](/workers-ai/), and pay just for what you use.
2828
- **Non I/O bound pricing:** don't pay for long-running processes when your code is not executing. Cloudflare Workers is designed to scale down and [only charge you for CPU time](https://blog.cloudflare.com/workers-pricing-scale-to-zero/), as opposed to wall-clock time.
2929
- **Designed for durable execution:** [Durable Objects](/durable-objects/) and [Workflows](/workflows) are built for a programming model that enables guaranteed execution for async tasks like long-running deep thinking LLM calls, human-in-the-loop, or unreliable API calls.
3030
- **Scalable, and reliable, without compromising on performance:** by running on Cloudflare's network, agents can execute tasks close to the user without introducing latency for real-time experiences.

0 commit comments

Comments
 (0)