MCP Server Overview
The Cyborg MCP (Model Context Protocol) server enables AI-powered documentation management directly from Claude Code or Cursor. Generate, upload, and sync documentation without leaving your IDE.
What is MCP?
MCP is a protocol that allows AI assistants to interact with external tools and resources. The Cyborg MCP server provides tools for:
- Generating documentation from your codebase
- Uploading documentation to the Cyborg platform
- Syncing changes as your code evolves
- Managing individual documents
Key Capabilities
| Capability | Description |
|---|---|
| AI Documentation Generation | Interactive workflow to create docs tailored to your audience |
| Batch Upload | Upload multiple files with automatic chunking and embedding |
| Smart Sync | Only upload files that have changed (content hash comparison) |
| State Tracking | Local state file tracks sync status of each document |
Quick Start
- Install:
npx @cyborg-sdk/mcp - Configure your IDE (see Installation)
- Run
generate_documentationprompt in Claude Code - Upload with
upload_docstool - Keep in sync with
sync_docs
Architecture
The MCP server maintains a local state file (.cyborg-state.json) that tracks:
- Document IDs from the backend
- Content hashes for change detection
- Last sync timestamps
This enables efficient syncing—only modified files are uploaded.
Available Tools
| Tool | Description |
|---|---|
upload_docs | Upload documentation files to Cyborg backend |
sync_docs | Detect and sync documentation changes |
update_doc | Update a single documentation file |
delete_doc | Delete a documentation file from backend |
Available Resources
| Resource | Description |
|---|---|
docs://files | List all documentation files |
docs://files/{path} | Read content of a specific file |
docs://status | Get sync status of all files |
Next Steps
- Installation - Set up the MCP server
- Generate Docs - Create documentation from code
- Upload Docs - Push docs to Cyborg
- Sync Docs - Keep docs in sync