justinwongcn
MCP Serverjustinwongcnpublic

web_to_code_mcp

基于Go语言的网页解析和代码生成工具,支持MCP服务调用。

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Go
Language
Apache License 2.0
License

About This Server

基于Go语言的网页解析和代码生成工具,支持MCP服务调用。

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

Web to Code MCP

项目简介

这是一个基于Go语言的网页转代码工具,通过MCP服务提供网页内容解析和代码生成功能。

核心功能

  • 解析网页内容并提取主要文本
  • 根据指定编程语言生成代码
  • 自动添加详细注释和错误处理
  • 支持通过MCP服务远程调用

安装指南

  1. 确保已安装Go 1.24或更高版本
  2. 克隆项目仓库
  3. 安装依赖:
go mod download

使用方法

  1. 启动服务:
go run main.go
  1. 通过MCP客户端调用web_to_code工具
  2. 提供网页URL和目标编程语言

MCP 配置

{
   "mcpServers": { 
     "web_to_code": { 
       "url": "http://127.0.0.1:8080/sse" 
     } 
   } 
}

依赖

  • github.com/PuerkitoBio/goquery
  • github.com/ThinkInAIXYZ/go-mcp

许可证

MIT License (见LICENSE文件)

Quick Start

1

Clone the repository

git clone https://github.com/justinwongcn/web_to_code_mcp
2

Install dependencies

cd web_to_code_mcp
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerjustinwongcn
Repoweb_to_code_mcp
LanguageGo
LicenseApache License 2.0
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation