{"id":77621,"plugin_id":"plugins_6ae8cbe5a6708191b99fec2318f2e009","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-03T00:15:24.966Z","digest":"49367e52c9760875b2037aa2fda2633120f82828da7d28d9696ad2fdfab66ab7","against":null,"payload":{"description":"Implement and test a real MCP server exposing tools and resources over a suitable transport, using current official SDKs and secure integration patterns.","included_files":[],"name":"build-mcp-server","skill_md_contents":"---\nname: build-mcp-server\ndescription: Implement and test a real MCP server exposing tools and resources over a suitable transport, using current official SDKs and secure integration patterns.\n---\n# Implement MCP server\n\n1. Inspect existing code and versions; preserve the user's stack unless instructed otherwise. For new TypeScript server use official MCP SDK v2 (`@modelcontextprotocol/server`) as current default; confirm APIs in current docs. For Python projects use the current Python SDK.\n2. Design contracts using `../design-mcp-tools/SKILL.md`. Each registered tool must perform its named operation, validate inputs and return useful structured/text results; no fake data masquerading as live.\n3. Choose stdio for explicitly local spawned integrations and Streamable HTTP over HTTPS for remote hosting; implement the correct request/session lifecycle. Never assume an exposed dev HTTP URL is production hosted.\n4. If external accounts are involved, implement OAuth/audience/scope as needed; protect credentials and check authorization per tool action. Use bounded network/file access.\n5. Generate package/install instructions, environment template without secrets and code to reproduce data and outputs. Do not silently execute risky setup or external calls.\n6. Run available typecheck/build, tests and real tools/list and tools/call checks. Use `../test-mcp-project/SKILL.md`. If unavailable, distinguish code written from code tested.\n7. Add UI with `../build-mcp-ui/SKILL.md` only when useful, including tool-only fallback.\n\nConsult current https://ts.sdk.modelcontextprotocol.io/v2/ and `../../references/protocol-and-ui.md` before choosing concrete imports.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}