Coss-MCP

AdamJBurns/Coss-MCP

3.2

If you are the rightful owner of Coss-MCP and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The coss-mcp is an MCP stdio server designed to interact with Coss.com pages and Coss UI documentation.

Tools
4
Resources
0
Prompts
0

coss-mcp

MCP stdio server exposing tools for coss.com pages and Coss UI docs. Not affiliated with Coss.

Quick start

  • Install deps: npm install
  • Dev (stdio, waits for host): npm run dev
  • Build: npm run build
  • Prod: npm start
  • Tests: npm test

Host config (stdio)

Add under mcpServers (update cwd to your absolute repo path):

"coss-mcp": {
  "type": "stdio",
  "command": "npm",
  "args": ["run", "dev"],
  "cwd": "C:/path/to/your/coss-mcp"
}

If your host cannot set cwd (Windows example):

"coss-mcp": {
  "type": "stdio",
  "command": "cmd",
  "args": ["/c", "cd /d C:\\path\\to\\your\\coss-mcp && npm run dev"]
}

After build, you can run directly:

  • node dist/server.js

Tools

  • ping — health check, echoes pong.
  • fetch_coss_page — fetches https://coss.com/<path>, extracts page title and readable text (scripts/styles removed, whitespace collapsed, truncated to ~8k chars).
  • list_coss_ui_docs — lists the Coss UI docs from https://coss.com/ui/llms.txt.
  • fetch_coss_ui_doc — fetches a specific Coss UI doc. Pass a relative path like components/button.md or a full URL from the listing.

Development notes

  • Logging: for stdio transports, writing to stdout breaks JSON-RPC; startup messages are sent to stderr via console.error.
  • Tests: npm test runs html extraction and Coss UI listing parsers.
  • Type checking/build: npm run build.

Contributing

See CONTRIBUTING.md for pull request and development guidelines.

License

MIT. See LICENSE.