|
| 1 | +# MCP Server Generator Documentation |
| 2 | + |
| 3 | +This is the official documentation website for **MCP Server Generator**, a modern CLI tool for generating and extending production-ready Model Context Protocol (MCP) servers. |
| 4 | + |
| 5 | +🌐 **Live Documentation**: [mcp-server-generator.com](https://mcp-server-generator.com) |
| 6 | + |
| 7 | +## About |
| 8 | + |
| 9 | +This documentation site provides comprehensive guides, examples, and API references for: |
| 10 | + |
| 11 | +- **🚀 Project Generation** - Creating new MCP servers with comprehensive features |
| 12 | +- **➕ Component Extension** - Adding tools, resources, prompts, services, transports, and utilities |
| 13 | +- **📚 Developer Guides** - Installation, CLI commands, and best practices |
| 14 | +- **🔧 API Reference** - Complete technical documentation |
| 15 | +- **💡 Examples** - Real-world use cases and implementation patterns |
| 16 | + |
| 17 | +## Built With |
| 18 | + |
| 19 | +This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator that provides: |
| 20 | + |
| 21 | +- **📱 Responsive Design** - Works on all devices |
| 22 | +- **🌙 Dark/Light Mode** - Theme switching support |
| 23 | +- **🔍 Built-in Search** - Fast content discovery |
| 24 | +- **📖 Versioning** - Multiple documentation versions |
| 25 | +- **🌐 Internationalization** - Multi-language support |
| 26 | + |
| 27 | +## Development |
| 28 | + |
| 29 | +### Prerequisites |
| 30 | + |
| 31 | +- **Node.js 18+** - [Download from nodejs.org](https://nodejs.org/) |
| 32 | +- **npm** or **yarn** - Package manager |
| 33 | + |
| 34 | +### Installation |
| 35 | + |
| 36 | +```bash |
| 37 | +# Clone the repository |
| 38 | +git clone https://github.com/LinuxDevil/Create-MCP.git |
| 39 | +cd Create-MCP/docs |
| 40 | + |
| 41 | +# Install dependencies |
| 42 | +npm install |
| 43 | +# or |
| 44 | +yarn install |
| 45 | +``` |
| 46 | + |
| 47 | +### Local Development |
| 48 | + |
| 49 | +```bash |
| 50 | +# Start development server |
| 51 | +npm start |
| 52 | +# or |
| 53 | +yarn start |
| 54 | +``` |
| 55 | + |
| 56 | +This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. |
| 57 | + |
| 58 | +**Local URL**: http://localhost:3000 |
| 59 | + |
| 60 | +### Build |
| 61 | + |
| 62 | +```bash |
| 63 | +# Generate static content |
| 64 | +npm run build |
| 65 | +# or |
| 66 | +yarn build |
| 67 | +``` |
| 68 | + |
| 69 | +This command generates static content into the `build` directory and can be served using any static contents hosting service. |
| 70 | + |
| 71 | +### Deployment |
| 72 | + |
| 73 | +#### GitHub Pages |
| 74 | + |
| 75 | +```bash |
| 76 | +# Using SSH |
| 77 | +USE_SSH=true npm run deploy |
| 78 | +# or |
| 79 | +USE_SSH=true yarn deploy |
| 80 | + |
| 81 | +# Using HTTPS |
| 82 | +GIT_USER=<Your GitHub username> npm run deploy |
| 83 | +# or |
| 84 | +GIT_USER=<Your GitHub username> yarn deploy |
| 85 | +``` |
| 86 | + |
| 87 | +#### Other Hosting Services |
| 88 | + |
| 89 | +The `build` directory can be deployed to: |
| 90 | +- **Vercel** - `vercel --prod` |
| 91 | +- **Netlify** - Drag and drop `build` folder |
| 92 | +- **AWS S3** - Upload `build` contents |
| 93 | +- **Cloudflare Pages** - Connect GitHub repository |
| 94 | + |
| 95 | +## Documentation Structure |
| 96 | + |
| 97 | +``` |
| 98 | +docs/ |
| 99 | +├── intro.md # Getting started |
| 100 | +├── installation.md # Installation guide |
| 101 | +├── cli-commands.md # CLI reference |
| 102 | +├── examples.md # Usage examples |
| 103 | +├── components/ # Component guides |
| 104 | +│ └── overview.md # Component overview |
| 105 | +├── api/ # API reference |
| 106 | +│ └── overview.md # API documentation |
| 107 | +blog/ # Blog posts |
| 108 | +├── authors.yml # Author information |
| 109 | +└── 2025-09-25-component-extension-release.md |
| 110 | +``` |
| 111 | + |
| 112 | +## Contributing to Documentation |
| 113 | + |
| 114 | +We welcome contributions to improve the documentation: |
| 115 | + |
| 116 | +### Content Updates |
| 117 | + |
| 118 | +1. **Fork** the repository |
| 119 | +2. **Create** a feature branch: `git checkout -b docs/improve-examples` |
| 120 | +3. **Edit** markdown files in the `docs/` directory |
| 121 | +4. **Test** locally: `npm start` |
| 122 | +5. **Commit** changes: `git commit -m 'Improve examples documentation'` |
| 123 | +6. **Push** to branch: `git push origin docs/improve-examples` |
| 124 | +7. **Open** a Pull Request |
| 125 | + |
| 126 | +### Adding New Pages |
| 127 | + |
| 128 | +1. **Create** new `.md` file in appropriate directory |
| 129 | +2. **Update** `sidebars.ts` to include the new page |
| 130 | +3. **Add** internal links from related pages |
| 131 | +4. **Test** navigation and links locally |
| 132 | + |
| 133 | +### Blog Posts |
| 134 | + |
| 135 | +1. **Create** new file: `blog/YYYY-MM-DD-post-title.md` |
| 136 | +2. **Add** frontmatter with title, authors, tags |
| 137 | +3. **Write** content with code examples |
| 138 | +4. **Update** `authors.yml` if adding new author |
| 139 | + |
| 140 | +### Style Guide |
| 141 | + |
| 142 | +- **Use** clear, concise language |
| 143 | +- **Include** code examples for technical concepts |
| 144 | +- **Add** emojis for visual appeal (sparingly) |
| 145 | +- **Structure** content with proper headings |
| 146 | +- **Link** to related documentation |
| 147 | + |
| 148 | +## Links |
| 149 | + |
| 150 | +- **🏠 Homepage**: [mcp-server-generator.com](https://mcp-server-generator.com) |
| 151 | +- **📦 NPM Package**: [mcp-server-generator](https://www.npmjs.com/package/mcp-server-generator) |
| 152 | +- **🐙 GitHub Repository**: [LinuxDevil/Create-MCP](https://github.com/LinuxDevil/Create-MCP) |
| 153 | +- **🐛 Issues**: [GitHub Issues](https://github.com/LinuxDevil/Create-MCP/issues) |
| 154 | +- **💬 Discussions**: [GitHub Discussions](https://github.com/LinuxDevil/Create-MCP/discussions) |
| 155 | +- **🌐 MCP Protocol**: [modelcontextprotocol.io](https://modelcontextprotocol.io) |
| 156 | + |
| 157 | +## License |
| 158 | + |
| 159 | +This documentation is part of the MCP Server Generator project and is licensed under the MIT License. See the [LICENSE](../LICENSE) file for details. |
0 commit comments