News Crawler
Overview
Project skill for this repository. Use it when changing MCP transports, tool behavior, crawler-facing contracts, or local debug flow.
Workflow
- Read
references/transports.mdbefore changing server startup or protocol handling. - Read
references/tool-contract.mdbefore changinginitialize,tools/list,tools/call,ping, or tool error behavior. - Use
scripts/run-stdio.shfor local STDIO startup. - Use
scripts/run-http.shfor local Streamable HTTP startup. - Use
scripts/smoke-test-http.shafter HTTP transport changes.
Guardrails
- Default transport is
stdio. - Supported transport modes are
stdio,http, andboth. - HTTP v1 endpoint is
POST /mcp. - Notification requests return
202. GETandDELETEare intentionally rejected in HTTP v1.- Do not change JSON-RPC response shape without updating tests and references together.
- Use JDK 21 for build and test commands in this repository.
References
- Transport model:
references/transports.md - MCP tool contract:
references/tool-contract.md - Example commands and payloads:
references/examples.md
Local Commands
- STDIO:
./.agents/skills/news-crawler/scripts/run-stdio.sh - HTTP:
./.agents/skills/news-crawler/scripts/run-http.sh - HTTP smoke test:
./.agents/skills/news-crawler/scripts/smoke-test-http.sh
Source: paiad/mcp-java-news-crawler — distributed by TomeVault.