Skip to content

Conversation

@dinasaur404
Copy link
Contributor

Add information about hibernation support for McpAgent

Summary

Added:

McpAgent instances automatically support WebSockets Hibernation, allowing stateful MCP servers to sleep during inactive periods while preserving their state. This means your agents only consume compute resources when actively processing requests, optimizing costs while maintaining the full context and conversation history.

Screenshots (optional)

Documentation checklist

  • [ X] The documentation style guide has been adhered to.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

Add information about hibernation support for McpAgent
@github-actions github-actions bot added the product:agents Build and deploy AI-powered Agents on Cloudflare that can act autonomously. label Apr 7, 2025
@hyperlint-ai
Copy link
Contributor

hyperlint-ai bot commented Apr 7, 2025

Howdy and thanks for contributing to our repo. The Cloudflare team reviews new, external PRs within two (2) weeks. If it's been two weeks or longer without any movement, please tag the PR Assignees in a comment.

We review internal PRs within 1 week. If it's something urgent or has been sitting without a comment, start a thread in the Developer Docs space internally.


PR Change Summary

Added hibernation support for McpAgent, allowing instances to conserve resources during inactivity while maintaining state.

  • Introduced hibernation support for McpAgent instances
  • Updated documentation to include details on WebSockets Hibernation
  • Optimized resource consumption for stateful MCP servers

Modified Files

  • src/content/docs/agents/model-context-protocol/mcp-agent-api.mdx

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

@dinasaur404 dinasaur404 merged commit ffcefcc into production Apr 7, 2025
12 checks passed
@dinasaur404 dinasaur404 deleted the mcpagent-hibernation branch April 7, 2025 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:agents Build and deploy AI-powered Agents on Cloudflare that can act autonomously. size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants