
mcp index
mcp index page
Repository Info
About This Server
mcp index page
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Next.js静态网站 - Cloudflare Pages部署模板
这是一个使用Next.js构建的静态网站项目,专为Cloudflare Pages部署而优化。
项目特点
- 使用最新版Next.js构建
- 配置为静态导出模式,适用于Cloudflare Pages
- 包含响应式UI设计(使用Tailwind CSS)
- 针对Cloudflare优化的缓存和安全头设置
- 包含中文本地化设置
快速开始
本地开发
- 克隆项目
git clone <your-repo-url>
cd <your-repo-name>
- 安装依赖
npm install
- 启动开发服务器
npm run dev
- 在浏览器中访问
http://localhost:3000
构建项目
npm run build
构建完成后,静态文件将生成在 .next/ 和 out/ 目录中。
部署到Cloudflare Pages
方法1:通过GitHub部署
- 将项目推送到GitHub仓库
- 登录Cloudflare Dashboard
- 进入Pages选项
- 点击"创建项目"
- 选择"连接到Git"
- 选择您的GitHub仓库
- 设置部署配置:
- 构建命令:
npm run build - 输出目录:
out - 构建系统版本:选择最新版本
- 构建命令:
- 点击"保存并部署"
方法2:通过直接上传部署
- 构建项目
npm run build
- 安装Cloudflare CLI (Wrangler)
npm install -g wrangler
- 认证并部署
wrangler login
wrangler pages publish out
项目结构
├── public/ # 静态资源
│ ├── _headers # Cloudflare安全头配置
│ └── _routes.json # Cloudflare路由配置
├── src/
│ ├── app/ # Next.js App Router
│ │ ├── layout.tsx # 主布局文件
│ │ └── page.tsx # 首页
│ └── ...
├── next.config.ts # Next.js配置
└── ...
技术栈
- Next.js - React框架
- Tailwind CSS - CSS框架
- TypeScript - 类型安全的JavaScript
- Cloudflare Pages - 静态网站托管平台
自定义与扩展
- 修改
src/app/page.tsx以更新首页内容 - 在
src/app/目录中添加新的页面 - 更新
public/_headers以自定义安全头 - 在
public/中添加其他静态资源
许可证
MIT
Quick Start
Clone the repository
git clone https://github.com/cnmcp-com/mcp-indexInstall dependencies
cd mcp-index
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.