Skip to content

Make durable object storage more cost efficient for simple MCP servers #1083

@remorses

Description

@remorses

I run a free MCP plugin for Framer. I am using the agents npm package to expose this server.

The server is only used to forward the requests to another service and I basically only use this package to do authentication and networking with the MCP client

I spent a large amount of money on serving this MCP because the agents npm package seems to store a lot of data for each user session.

I also just discovered about this issue from the invoice I received via email because the billable usage histogram in the Cloudflare dashboard does not show this spendingw data from durable objects. So I thought I would be spending about $60 this month, instead I spent $676 just because of the use of the agents npm package

Is there a way to make the MPC durable object more efficient? Should I migrate away from the package?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions