Skip to content

Add CauseStarter LLM API map, generated API-doc links, and protocol MCP - #174

Merged
AdamSpitz merged 2 commits into
devfrom
feature/causestarter-llm-api-docs-mcp
Sep 8, 2026
Merged

Add CauseStarter LLM API map, generated API-doc links, and protocol MCP#174
AdamSpitz merged 2 commits into
devfrom
feature/causestarter-llm-api-docs-mcp

Conversation

@AdamSpitz

Copy link
Copy Markdown
Owner

Summary

Document CauseStarter jobs onto SDK / IPFS / attester HTTP instead of UI screens, serve /api-docs from Vite, and add a read-first stdio MCP for agents.

This is docs + MCP + Vite /api-docs. It is not a testnet republish.

Test plan

  • npm test --workspace=@commonality/mcp (or package test script)
  • DocsPage test that API-doc links render
  • Typecheck for mcp and ui if the gate runs them

Document jobs onto SDK/IPFS/attester HTTP instead of UI screens, serve
/api-docs from Vite, and add a read-first stdio MCP for agents.
startsWith(root) is a prefix match; path.relative rejects traversal.

@AdamSpitz AdamSpitz left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review receipt.

Docs+MCP+Vite /api-docs. Fixed prefix path check in sendStaticFile (path.relative instead of startsWith) so ../ cannot escape the generated docs root. Writes gated by COMMONALITY_MCP_WRITES; cause-assist paths allow-listed. No remaining blocking issues.

Reviewed-with: grok
Reviewed-files: 25
Reviewed-commit: 011d2e5

@AdamSpitz
AdamSpitz merged commit 4f03a6e into dev Sep 8, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant