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?

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
agentsnpm 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
agentsnpm packageIs there a way to make the MPC durable object more efficient? Should I migrate away from the package?