Skip to content

[Discussion]: Why are there nearly 8000 tokens submitted when using MCP feature prompts?  #11211

@maker316

Description

@maker316

Note

This issue/comment/review was translated by Claude.

Issue Checklist

  • I understand that issues are meant for feedback and problem-solving, not for venting, and I will provide as much detail as possible to help resolve the issue.
  • I have checked the pinned issues and searched through the existing open issues, closed issues, and discussions and did not find a similar suggestion.
  • I confirm that I am here to ask questions and discuss issues, not to report bugs or request features.

Platform

macOS

Version

v1.6.7

Your Question

Why are there nearly 8000 tokens submitted when using MCP feature prompts? And includes a joke: "In this environment you have access to a set of to... ...orrectly, you will receive a reward of ,000,000." Non-MCP prompts work normally.

Context

2025-11-09 13:22:58 [DEBUG]
Received request: POST to /v1/chat/completions with body {
"model": "openai/gpt-oss-120b",
"temperature": 1,
"messages": [
{
"role": "system",
"content": "In this environment you have access to a set of to... ...orrectly, you will receive a reward of ,000,000."
},
{
"role": "user",
"content": "尝试抓取https://ollama.com/library的数据,分析后生成excel数据,保持在~/temp下"
}
],
"stream": true,
"stream_options": {
"include_usage": true
}
}
Directly causing my AI server's memory to surge until it crashes.

Additional Information

Priority

High (Blocking progress)


Original Content

Issue Checklist

  • I understand that issues are meant for feedback and problem-solving, not for venting, and I will provide as much detail as possible to help resolve the issue.
  • I have checked the pinned issues and searched through the existing open issues, closed issues, and discussions and did not find a similar suggestion.
  • I confirm that I am here to ask questions and discuss issues, not to report bugs or request features.

Platform

macOS

Version

v1.6.7

Your Question

为什么在使用mcp功能提示词时,会有将近8000tokens提交?并包含一句戏言:"In this environment you have access to a set of to... ...orrectly, you will receive a reward of ,000,000." 非mcp提示词却是正常的

Context

2025-11-09 13:22:58 [DEBUG]
Received request: POST to /v1/chat/completions with body {
"model": "openai/gpt-oss-120b",
"temperature": 1,
"messages": [
{
"role": "system",
"content": "In this environment you have access to a set of to... ...orrectly, you will receive a reward of ,000,000."
},
{
"role": "user",
"content": "尝试抓取https://ollama.com/library的数据,分析后生成excel数据,保持在~/temp下"
}
],
"stream": true,
"stream_options": {
"include_usage": true
}
}
直接让我的AI服务器,内存暴增直至宕机

Additional Information

Priority

High (Blocking progress)

Metadata

Metadata

Assignees

No one assigned

    Labels

    MCPCategorizes an issue or PR as relevant to SIG MCPdiscussionNeeds or features that can be discussedhelp wantedOpened for anyone to contribute toinactive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions