Contributing to Documentation
Thank you for your interest in improving MCPProxy documentation!
Quick Edits
Every documentation page has an "Edit this page" link at the bottom. Click it to:
- Open the file on GitHub
- Make your changes in the web editor
- Submit a pull request
Local Development
For larger changes, set up local development:
Prerequisites
- Node.js 18+
- Git
Setup
# Clone the repository
git clone https://github.com/smart-mcp-proxy/mcpproxy-go.git
cd mcpproxy-go
# Install documentation dependencies
make docs-setup
# Start local development server
make docs-dev
Open http://localhost:3000 to preview your changes with hot reload.
Build
Before submitting a PR, verify the build succeeds:
make docs-build
Documentation Structure
docs/
├── getting-started/ # Installation and quick start
├── configuration/ # Config file and env vars
├── cli/ # CLI command reference
├── api/ # REST API and MCP protocol
├── web-ui/ # Web dashboard docs
├── features/ # Feature documentation
├── images/ # Screenshots and diagrams
└── contributing.md # This file
Writing Guidelines
Frontmatter
Every markdown file needs frontmatter:
---
id: page-id
title: Page Title
sidebar_label: Short Label
sidebar_position: 1
description: Brief description for SEO
keywords: [keyword1, keyword2]
---
Style
- Use clear, concise language
- Include code examples for technical content
- Add screenshots for UI features
- Link to related documentation
Code Blocks
Specify the language for syntax highlighting:
```bash
mcpproxy serve
```
```json
{
"key": "value"
}
```
Pull Request Process
- Fork the repository
- Create a feature branch:
git checkout -b docs/my-improvement - Make your changes
- Test locally:
make docs-build - Commit:
git commit -m "docs: improve X documentation" - Push and create a PR
Commit Messages
Use conventional commits for documentation:
docs: add new section about Xdocs: fix typo in configuration guidedocs: improve clarity of quick start
Getting Help
- Open an issue for questions
- Join discussions on GitHub
- Check existing documentation for examples