Document Schema Specifications MCP Server

Kumpulan skema dokumen untuk menstandarisasi dokument

Dokumentasi

Document Schema Specifications

A comprehensive collection of document schemas for standardizing project documentation across different types of software projects.

โœจ Key Features

  • ๐Ÿ“‹ Document Schema Collection - 10+ schemas covering all aspects of project documentation
  • ๐ŸŒ GitHub API Integration - 191 templates from official GitHub repositories
  • ๐Ÿ” Real-time Validation - Automated document structure checking
  • ๐Ÿ“ฆ NPX Ready - Easy installation and execution via npx
  • ๐Ÿค– AI-Friendly - Designed for seamless AI assistant integration
  • โšก Template Generation - Instant creation of standardized documents

๐Ÿš€ Quick Start with NPX

# Install and run the MCP server globally
npx @scriptonbasestar/sb-schema-doc-server

# Generate a MIT license
echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "generate_license", "arguments": {"license_type": "mit", "author": "Your Name", "output_path": "LICENSE"}}}' | npx @scriptonbasestar/sb-schema-doc-server

# Generate a Node.js .gitignore
echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "generate_gitignore", "arguments": {"gitignore_type": "Node", "output_path": ".gitignore"}}}' | npx @scriptonbasestar/sb-schema-doc-server

# List all available templates
echo '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "list_templates", "arguments": {}}}' | npx @scriptonbasestar/sb-schema-doc-server

๐Ÿ“‹ GitHub API Integration

๐Ÿ”„ Real-time Template Access

๐Ÿ›ก๏ธ Fallback System

  • Primary: GitHub API for latest templates
  • Fallback: Local templates when API unavailable
  • Zero configuration required

๐Ÿ“ Schema Collection

This project provides schemas for the following document types:

  • README - Project introduction and setup instructions
  • API Documentation - Code interface documentation
  • Architecture - System design and component structure
  • Features - User-facing functionality descriptions
  • Tech Stack - Technology choices and dependencies
  • TODO - Active development tasks and tracking
  • Backlog - Future ideas and deferred features
  • Changelog - Version history and changes
  • Contributing - Contribution guidelines and setup
  • Prompts - AI prompt templates and standards

๐Ÿš€ Usage

Manual Implementation

  1. Browse the schemas in the schemas/ directory
  2. Copy the relevant schema structure to your project
  3. Fill in the content according to the specified format

With MCP Server (Recommended)

Use our Model Context Protocol server with 9 powerful tools:

๐Ÿ”ง Installation Options

# Option 1: NPX (Recommended)
npx @scriptonbasestar/sb-schema-doc-server

# Option 2: Global Installation
npm install -g @scriptonbasestar/sb-schema-doc-server
document-schema-doc-server

# Option 3: Local Development
git clone https://github.com/archmagece/mcp-schema-specs.git
cd mcp-schema-specs/doc-server
npm install && npm run build && npm start

๐Ÿ› ๏ธ MCP Server Tools (9 Total)

๐Ÿ“‹ Document Tools:

  • validate_document - Validate documents against schemas
  • generate_template - Create new document templates
  • list_schemas - List available document schemas
  • analyze_project_docs - Assess documentation completeness

๐Ÿ“„ License Tools:

  • generate_license - Generate license files (36+ templates from GitHub)
  • list_license_templates - List all available license templates

๐Ÿšซ Gitignore Tools:

  • generate_gitignore - Generate .gitignore files (155+ templates from GitHub)
  • list_gitignore_templates - List all available gitignore templates

๐Ÿ“Š General Tools:

  • list_templates - List all available templates (schemas + licenses + gitignores)

๐Ÿ”Œ Claude Desktop Integration

Add to your MCP settings (claude_desktop_config.json):

{
  "mcpServers": {
    "sb-schema-server": {
      "command": "npx",
      "args": ["@scriptonbasestar/sb-schema-doc-server"]
    }
  }
}

๐Ÿ“‚ File Structure

mcp-schema-specs/
โ”œโ”€โ”€ schemas/                    # Document and template specifications
โ”‚   โ”œโ”€โ”€ docs/                   # Document schema definitions
โ”‚   โ”‚   โ”œโ”€โ”€ schema.readme.md   # README structure
โ”‚   โ”‚   โ”œโ”€โ”€ schema.api.md      # API documentation
โ”‚   โ”‚   โ””โ”€โ”€ ...                # Other schema files
โ”‚   โ””โ”€โ”€ templates/             # Local template fallbacks
โ”‚       โ”œโ”€โ”€ licenses/          # License templates
โ”‚       โ””โ”€โ”€ gitignore/         # Gitignore templates
โ”œโ”€โ”€ doc-server/                # MCP server implementation
โ”‚   โ”œโ”€โ”€ src/index.ts          # Server source code
โ”‚   โ”œโ”€โ”€ package.json          # NPM package configuration
โ”‚   โ”œโ”€โ”€ README.md             # Server documentation
โ”‚   โ””โ”€โ”€ build/                # Compiled JavaScript
โ””โ”€โ”€ README.md                  # Project overview

๐Ÿ“ฆ NPM Package

The MCP server is published as @scriptonbasestar/sb-schema-doc-server:

๐Ÿค Contributing

Please read our Contributing Guidelines for details on our code of conduct and the process for submitting pull requests.

๐Ÿ“„ License

MIT License - see the LICENSE file for details.