stdin: {"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"toolwitness","version":"s772-v0"},"protocolVersion":"2025-11-25"}} {"jsonrpc":"2.0","method":"notifications/initialized"} {"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}} stdout: {"result":{"protocolVersion":"2025-11-25","capabilities":{"tools":{"listChanged":true}},"serverInfo":{"name":"clarx","version":"0.2.2"}},"jsonrpc":"2.0","id":1} {"result":{"tools":[{"name":"analyze_manifest","title":"Score an agent manifest","description":"Score CLAUDE.md / AGENTS.md manifest content with the same rules as the Clarx manifest studio. Returns an overall quality estimate (0-100), per-pillar scores, findings with line numbers, and a section checklist. This is a manifest quality estimate — do not compare it to Clarx repo AI-readiness scores, which use a different rule system.","inputSchema":{"type":"object","properties":{"content":{"type":"string","description":"Full markdown body of the manifest. Pass this or file_path, not both."},"file_path":{"type":"string","description":"Path to the manifest file (resolved against the server working directory, typically the workspace root). Preferred — avoids inlining the file into the conversation."},"include_outline":{"type":"boolean","default":true,"description":"Include the heading outline (section tree with line numbers)."}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"execution":{"taskSupport":"forbidden"}},{"name":"analyze_clarx_manifest","title":"Validate clarx-manifest.json","description":"Validate a clarx-manifest.json machine manifest against the Clarx engine schema. Returns recognized keys, errors, and suggestions for keys worth declaring (generated dirs, hubs, verification commands).","inputSchema":{"type":"object","properties":{"content":{"type":"string","description":"Raw JSON content. Pass this or file_path, not both."},"file_path":{"type":"string","description":"Path to clarx-manifest.json (resolved against the server working directory)."}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"execution":{"taskSupport":"forbidden"}},{"name":"get_ci_workflow","title":"Generate Clarx CI workflow","description":"Generate a GitHub Actions workflow YAML that gates pull requests on the Clarx AI-readiness score (npx @clarxai/cli). Write the result to .github/workflows/clarx.yml.","inputSchema":{"type":"object","properties":{"min_score":{"type":"number","default":80,"description":"Fail the check when the overall score is below this (0-100)."},"min_pillar_score":{"type":["number","null"],"default":null,"description":"Optional per-pillar floor."},"upload_sarif":{"type":"boolean","default":false,"description":"Upload findings as SARIF to GitHub code scanning."},"upload_artifact":{"type":"boolean","default":true,"description":"Attach a markdown report artifact to the run."},"ignore_patterns":{"type":"array","items":{"type":"string"},"default":[],"description":"Glob patterns to exclude from scoring, e.g. ['vendor/**']."},"cli_version":{"type":"string","default":"0.1.11","description":"@clarxai/cli version to pin."}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"},"execution":{"taskSupport":"forbidden"}}]},"jsonrpc":"2.0","id":2}