شعار Mcp Server Review

Mcp Server Review

مؤسسة
pnp
mcp-server-review

Review a Model Context Protocol (MCP) server implementation against the 2026-07-28 protocol revision, which removed the initialize handshake and Mcp-Session-Id and made the protocol stateless. Use when the user asks to review, audit, upgrade or migrate an MCP server, asks whether their MCP server is spec compliant, asks which protocol revision their server implements, or reports that an MCP client cannot connect to their server.

Add to TypingMind

نظرة عامة

الناشرpnp
المستودعcopilot-prompts
اسم المهارةmcp-server-review
النجوم
894
التفريعات
307
الملفات المرفقة
2
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 2

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها pnp على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Mcp Server Review في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/pnp/copilot-prompts/tree/main/samples/skills/mcp-server-review
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pnp/copilot-prompts.git /tmp/copilot-prompts
mkdir -p .claude/skills
cp -r /tmp/copilot-prompts/samples/skills/mcp-server-review .claude/skills/mcp-server-review
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Mcp Server Review في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Mcp Server Review تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Mcp Server Review بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Review an MCP Server Against the 2026-07-28 Revision

Protocol revision 2026-07-28 is the largest change to the Model Context Protocol since it launched. Server code written before it still compiles, still passes its own tests, and still looks correct in review. It simply speaks a shape that modern clients no longer send.

This skill finds that gap. It reviews an MCP server implementation against the current revision, reports what is obsolete, what is missing, and what is a security requirement rather than a nicety, and it distinguishes between a genuine finding and something it could not determine from the code available.

Before Starting

Critical: Always ask the user for the following information before proceeding:

  1. Server code - the repository, folder, or files implementing the MCP server
  2. Target revision - the protocol revision the server intends to implement. Defaults to 2026-07-28 if not specified
  3. Transport - Streamable HTTP or stdio. Defaults to Streamable HTTP if not specified, since the header rules below apply only to it
  4. Backward compatibility requirement - whether the server must still serve clients on 2025-03-26 through 2025-11-25. Defaults to no

If the user doesn't provide all details upfront, ask for the missing ones before proceeding.

Do not infer the revision from an SDK version number. SDK majors and protocol revisions move independently. Read what the code actually sends and accepts.

Output Structure

Produce a review report with these sections:

  1. Revision verdict - one line stating which revision the code appears to implement, and the evidence for that conclusion
  2. Blocking findings - table of Finding | Location | Why it breaks | Fix
  3. Security findings - the spec's security requirements with their MUST or SHOULD levels, listed separately because they are not stylistic
  4. Deprecated but working - features on the twelve month removal clock
  5. Not determined - checks that could not be evaluated from the code provided, and what to look at to resolve each
  6. Nothing to change - the checks that passed

The Not determined section is required and must never be silently folded into "passed". A reviewer reading a clean report has to be able to tell the difference between "this is correct" and "this was not visible".

Every finding must cite the specific rule it comes from. Do not invent limits or headers. If a rule cannot be tied to the specification, leave it out and say so.

Step 1: Establish which revision the server implements

Look for the strongest available evidence, in this order:

  • An explicit protocol version constant or string, for example 2026-07-28, 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05
  • The presence or absence of an initialize request handler
  • The presence or absence of Mcp-Session-Id handling
  • Whether request handlers read params._meta for the protocol version

State the verdict plainly. "This server implements a pre-2026-07-28 revision" is a useful finding on its own, and it is usually the root cause when a client cannot connect.

Step 2: Find removed features still present

These were removed in 2026-07-28. Each is a blocking finding for a server that claims to implement it.

RemovedWhat to search forReplacement
initialize / initialized handshake (SEP-2575)A handler for method initialize, or notifications/initializedNothing. Every request is self contained
Mcp-Session-Id (SEP-2567)The header name, session stores, sticky routing, DELETE to terminate a sessionNothing. Any request may land on any instance
GET stream endpointA GET route on the MCP endpoint that opens SSEsubscriptions/listen, whose response is itself the stream
Resumable streamsLast-Event-ID handlingNot supported. Streams are not resumable
Server-initiated JSON-RPC requests on SSEThe server sending a request (not a notification) on a response streamMulti Round-Trip Requests: return an InputRequiredResult containing inputRequests

A server that only supports this revision and receives legacy traffic should answer GET or DELETE on the MCP endpoint with 405 Method Not Allowed, ignore any Mcp-Session-Id it receives without minting or echoing one, and ignore Last-Event-ID.

Step 3: Check the request metadata contract

Under Streamable HTTP the client mirrors body fields into headers so intermediaries can route without parsing the body. The server has obligations on the receiving side.

Required headers on every JSON-RPC request POST:

  • MCP-Protocol-Version - must equal the io.modelcontextprotocol/protocolVersion value inside params._meta
  • Mcp-Method - must equal the body's method
  • Mcp-Name - required for tools/call, resources/read and prompts/get; sourced from params.name or params.uri

The server MUST reject disagreement. If a header and its body value differ, or a required header is missing or malformed, respond 400 Bad Request with JSON-RPC error code -32020 (HeaderMismatch). Verify this is actually implemented, not merely documented. A server that trusts headers without validating them against the body is the exact vulnerability this rule exists to prevent, because a load balancer may route on the header while the server executes on the body.

The _meta keys are exact. Check for all three:

io.modelcontextprotocol/protocolVersion
io.modelcontextprotocol/clientInfo
io.modelcontextprotocol/clientCapabilities

Version negotiation: an unsupported version must return 400 with an UnsupportedProtocolVersionError listing the versions the server does support. An unimplemented method must return 404 with JSON-RPC -32601. The JSON-RPC error body is what distinguishes a modern server's 404 from a legacy server that simply does not host the endpoint.

Step 4: Check response handling

  • The endpoint must accept POST. A request body is a single JSON-RPC request or notification, never a response
  • For a request, the server returns either Content-Type: application/json with one JSON object, or Content-Type: text/event-stream with a stream. Either is valid; the client must support both
  • For a notification, the server returns 202 Accepted with no body when it accepts it
  • On an SSE stream, the server may send notifications related to that request before the final response, and the final response should terminate the stream
  • Closing the response stream must be treated as cancellation of that request. The server should stop work as soon as practical and must not send further messages for it
  • When opening an SSE stream, the server should send X-Accel-Buffering: no so reverse proxies do not buffer events
  • For long-lived subscriptions/listen streams, the server is encouraged to emit periodic SSE comment lines (:) as keep-alives

Step 5: Check the security requirements

Report the specification's security requirements separately from style findings, preserving their MUST or SHOULD requirement levels.

  1. Origin validation (MUST). The server must validate the Origin header on all incoming connections to prevent DNS rebinding attacks, and respond 403 Forbidden when it is present and invalid. This is the most commonly missing check in server code
  2. Local binding (SHOULD). When running locally, bind to 127.0.0.1 rather than 0.0.0.0
  3. Authentication (SHOULD). The server should implement proper authentication for all connections

Without the first two, a remote web page can reach a local MCP server through the user's browser.

Step 6: Check x-mcp-header tool annotations

If the server annotates tool parameters for header mirroring, the annotations must be valid or conforming clients will exclude the whole tool from tools/list.

An x-mcp-header value must:

  • Be non-empty and match HTTP field-name token syntax
  • Contain no control characters, including CR or LF
  • Be case-insensitively unique across the inputSchema
  • Sit only on primitive properties: string, boolean, integer. number is not permitted
  • Be statically reachable from the schema root through a chain consisting solely of properties keys. The chain must not pass through items, oneOf, anyOf, allOf, not, if/then/else, or $ref

Also confirm the server decodes the Base64 sentinel form before comparing a header to its body value. Values that are not header-safe travel as =?base64?<base64>?=, and a plain value that merely looks like the sentinel is also encoded. A server that compares the raw header against the body will reject valid requests from conforming clients.

Step 7: Flag deprecated features

Deprecated in this revision, with a twelve month minimum window before removal. These are not blocking, but a server still relying on them needs a migration plan.

  • Roots
  • Sampling
  • Logging
  • Dynamic Client Registration, in favour of Client ID Metadata Documents
  • The legacy HTTP+SSE transport from 2024-11-05

Step 8: Check what the revision added

Not implementing these is not a defect, but they are the reason to move:

  • Stateless operation. No session store, no sticky routing. Confirm nothing in the server assumes affinity between requests
  • server/discover. An optional RPC letting a client learn capabilities without a handshake
  • Cacheable list results. tools/list, prompts/list, resources/list and resources/read may return ttlMs and cacheScope
  • Multi Round-Trip Requests. Server-to-client interaction is returned inside a result rather than sent as a separate request

Step 9: Write the report

Follow the Output Structure above.

Rules

  • Cite the rule behind every finding. A finding a reader cannot verify is not actionable
  • Separate MUST from SHOULD. The specification distinguishes them and so should the report
  • Put anything unverifiable in "Not determined", never in "passed". If the auth path is in a separate service you cannot see, say that
  • Do not guess header names, error codes or limits. If you are unsure, check the specification at https://modelcontextprotocol.io/specification/2026-07-28/basic/transports/streamable-http rather than writing from memory. The single most likely way to produce a wrong review of this revision is to describe the protocol as you remember it

Example

Input: Review a Streamable HTTP server that handles initialize, mints Mcp-Session-Id, binds locally to 0.0.0.0, and has authentication implemented by an API gateway whose configuration is not included.

Output excerpt:

SectionFinding
Revision verdictThe server implements a pre-2026-07-28 revision, evidenced by its initialize handler and session header handling
Blocking findingsRemove the initialize handler and stop minting or requiring Mcp-Session-Id
Security findingsLocal binding to 0.0.0.0 does not meet the specification's SHOULD-level localhost-binding guidance
Not determinedAuthentication cannot be evaluated without the API gateway configuration

Validation Checklist

Before returning the report, verify:

  • The revision verdict cites evidence from the reviewed code
  • Every finding cites a specification rule and preserves its MUST or SHOULD level
  • Removed features, security findings, and deprecated features are reported separately
  • Unverifiable checks appear under Not determined, not Nothing to change
  • Header names, error codes, and protocol behavior were checked against the target revision
  • The report follows every section in the Output Structure

References

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Mcp Server Review؟

Review a Model Context Protocol (MCP) server implementation against the 2026-07-28 protocol revision, which removed the initialize handshake and Mcp-Session-Id and made the protocol stateless. Use when the user asks to review, audit, upgrade or migrate an MCP server, asks whether their MCP server is spec compliant, asks which protocol revision their server implements, or reports that an MCP client cannot connect to their server.

لماذا تستخدم Mcp Server Review على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Mcp Server Review عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Mcp Server Review في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/pnp/copilot-prompts/tree/main/samples/skills/mcp-server-review. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Mcp Server Review؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Mcp Server Review؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Mcp Server Review معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Mcp Server Review مجانية؟

نعم. نشرها pnp على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل
شعار langgenius

Backend Code Review

langgenius
مؤسسةشائع

استخدم هذه المهارة فقط عندما يطلب المستخدم صراحةً مراجعة أو تدقيقًا لشفرة الواجهة الخلفية ضمن `api/`. تدعم مراجعة التغييرات المعلّقة، والمراجعة التي تركز على ملفات محددة، ومراجعة الفروق الملصقة. لا تستخدمها لطلبات التنفيذ فقط،…

24.9K
157.6K
الملفات: 4
عرض
شعار langgenius

Frontend Code Review

langgenius
مؤسسةشائع

استخدم هذه المهارة فقط عندما يطلب المستخدم صراحةً مراجعة أو تدقيقًا لشفرة الواجهة الأمامية ضمن `web/` أو `packages/dify-ui/`. تدعم مراجعة التغييرات المعلّقة، والمراجعة التي تركز على ملفات محددة، ومراجعة الفروق الملصقة. لا تستخدمها لـ…

24.9K
157.6K
الملفات: 8
عرض
شعار anthropics

Command Development

anthropics
مؤسسةشائع

This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create…

23.8K
146.3K
الملفات: 9
عرض
شعار openclaw

Discord E2e

openclaw
مؤسسةشائع

اختبر Discord باستخدام روبوتات ضمان الجودة المستأجرة عبر Convex: تحقّق من بيانات الاعتماد من دون Gateway، أو اختبر الرسائل التي تملكها، أو أثبت أن OpenClaw يرد ويرسل الملفات ويتعامل مع سلاسل المحادثات والتفاعلات والبث والكتابة. ميّز بين أدلة API و…

82.2K
391K
الملفات: 4
عرض

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇