Replies: 1 comment
-
|
A few practical things help here, even before changing the encoding format. I maintain a community AFFiNE MCP server, and the biggest token wins have usually come from reducing the exposed tool surface and avoiding full-document reads until the agent has narrowed the target set: https://github.com/DAWNCR0W/affine-mcp-server The patterns I would recommend are:
TOON or another compact encoding could help for large structured responses, but in my experience the first-order issue is usually tool and document selection rather than the JSON syntax alone. A compact response format is most useful after the server already supports narrow, predictable reads. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When using Affine MCP for using AI to peruse my documents, I note it's using large number of tokens per document.
Are there any configuration options to optimize the token usage?
Can the MCP be configured to use TOON or other MCP native encodings that reduce the token usage?
Beta Was this translation helpful? Give feedback.
All reactions