Skip to content

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

CapabilityDescription
AI Documentation GenerationInteractive workflow to create docs tailored to your audience
Batch UploadUpload multiple files with automatic chunking and embedding
Smart SyncOnly upload files that have changed (content hash comparison)
State TrackingLocal state file tracks sync status of each document

Quick Start

  1. Install: npx @cyborg-sdk/mcp
  2. Configure your IDE (see Installation)
  3. Run generate_documentation prompt in Claude Code
  4. Upload with upload_docs tool
  5. 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

ToolDescription
upload_docsUpload documentation files to Cyborg backend
sync_docsDetect and sync documentation changes
update_docUpdate a single documentation file
delete_docDelete a documentation file from backend

Available Resources

ResourceDescription
docs://filesList all documentation files
docs://files/{path}Read content of a specific file
docs://statusGet sync status of all files

Next Steps

Built with VitePress