MCP server instructions over 4,000 characters: front-load the key points
Server instructions longer than about 4,000 characters warn. Keep the essentials in the first 512 characters. Minor rule for ChatGPT and Claude.
Trim server instructions under about 4,000 characters and put the essentials first. The rule server.instructions-long is a minor, warn-level finding for ChatGPT and Claude.
What you see
- A scan reports
server.instructions-long:5200 characters. - No directory states a hard limit. The 4,000 threshold is the rule's own. The OpenAI MCP server guide advises keeping the most important details in the first 512 characters.
Why it happens
The instructions field became a place for the whole manual: id formats, error tables, changelogs and rate limits.
Check it yourself
Instructions come from the server's identity response (the initialize result on older revisions, the discover result on 2026-07-28):
curl -s -X POST https://mcp.acme.example/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"check","version":"1"}}}' \
| jq '.result.instructions | length'
Fix
Keep: how the tools fit together (call list_orders before get_order), id formats, common pitfalls. Move: full reference, pricing and changelogs to your docs. Avoid pricing and promotion in instructions (server.instructions-pricing) and directive text (server.instructions-injection).
Verify
The length is under 4,000 and the first 512 characters carry the key points, then re-scan.
Which clients care
ChatGPT and Claude, per the rule.
Source
OpenAI MCP server guide: https://developers.openai.com/plugins/build/mcp-server
Run a free scan at https://mcpshipyard.com/scan to check every rule at once.
Check every rule at once
A free scan runs this check and the other 152 against your live URL.