web2mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@web2mcpgenerate an MCP server for the GitHub API"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Web2MCP
Turn any website into a standalone MCP server.
AI Agent Auto-Install: Point your agent to this repo and say "install web2mcp" — it will read this README, detect your MCP client (Kilo/Claude Desktop), and configure itself automatically.
Features
Discovery - Analyze websites: JSON-LD, API endpoints, HTML forms, headings, links
OpenAPI Detection - Auto-detect and parse OpenAPI/Swagger specs
Code Generation - Generate complete MCP server projects from any website
Credential Management - Encrypted storage for API keys, tokens, cookies, OAuth
Multi-Protocol - Works with any HTTP API (REST, GraphQL, etc.)
Related MCP server: Scrapi MCP Server
Quick Install (AI Agent)
If you're an AI agent installing this for a user:
# Detect OS and MCP client, then auto-configure
git clone https://github.com/Xzeroone/web2mcp.git /tmp/web2mcp
cd /tmp/web2mcp
# Install Python package
pip install -e .
# Detect MCP client and configure
if [ -f ~/.config/kilo/kilo.jsonc ]; then
# Kilo config - add web2mcp entry
cat >> ~/.config/kilo/kilo.jsonc << 'EOF'
,
"web2mcp": {
"type": "local",
"command": ["python", "-m", "web2mcp"],
"enabled": true
}
EOF
elif [ -f ~/Library/Application\ Support/Claude/claude_desktop_config.json ]; then
# Claude Desktop config
echo '{"mcpServers": {"web2mcp": {"command": "python", "args": ["-m", "web2mcp"]}}}' >> ~/Library/Application\ Support/Claude/claude_desktop_config.json
fiManual Install
Prerequisites
Python 3.10+
pip
Option 1: pip (No build required)
pip install web2mcpOption 2: Local Install from Source
git clone https://github.com/Xzeroone/web2mcp.git
cd web2mcp
pip install -e .Option 3: pip install from git
pip install git+https://github.com/Xzeroone/web2mcp.gitThen configure your MCP client:
Kilo (Recommended)
// ~/.config/kilo/kilo.jsonc
{
"mcp": {
"web2mcp": {
"type": "local",
"command": ["python", "-m", "web2mcp"],
"enabled": true
}
}
}Claude Desktop
// ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"web2mcp": {
"command": "python",
"args": ["-m", "web2mcp"]
}
}
}Available Tools
Tool | Description |
| Analyze a website |
| Make HTTP requests with auto-injected auth |
| Manage credentials (save/load/list/delete) |
| OAuth 2.0 flow helper |
| Parse OpenAPI/Swagger specs |
| Infer JSON schema from endpoints |
| Parse sitemap.xml |
| Extract HTML forms |
| Fetch GitHub READMEs |
| Generate a standalone MCP server |
Usage
As an MCP Server (stdio)
web2mcp
# or
python -m web2mcpGenerate an MCP Server for Any Site
# Generate an MCP server for GitHub
web2mcp_generate url=https://api.github.com name=mcp-github
# Generate an MCP server for Stripe
web2mcp_generate url=https://api.stripe.com name=mcp-stripe
# Output to specific directory
web2mcp_generate url=https://api.example.com output_dir=./my-mcpsStore Credentials
# Save API key
web2mcp_auth_store domain=api.github.com action=save headers='{"Authorization": "Bearer ghp_xxx"}'
# Save OAuth token
web2mcp_auth_store domain=api.stripe.com action=save oauth_token=sk_live_xxx oauth_type=Bearer
# List stored credentials
web2mcp_auth_store action=listHow It Works
Discover - Web2MCP analyzes the target website
Detect - Looks for OpenAPI specs at standard locations (
/openapi.json,/swagger.json, etc.)Generate - Creates a complete MCP server project with typed tools per endpoint
Use - Install, build, and run the generated MCP server
Generated MCP Servers
The generated MCP servers:
Are standalone Python projects
Share web2mcp's credential store (auth set up once works everywhere)
Auto-inject credentials for every request
Include typed tools for each API endpoint (if OpenAPI spec found)
Fall back to generic HTTP tools if no spec available
Development
pip install -e ".[dev]"
python -m web2mcpLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceA powerful MCP server for fetching and transforming web content into various formats (HTML, JSON, Markdown, Plain Text) with ease.Last updated48,61441MIT
- AlicenseAqualityCmaintenanceMCP server that converts URLs to clean Markdown/Text for LLM agents.Last updated5705MIT
- Alicense-qualityBmaintenanceA lightweight MCP server for parsing HTML, fetching URLs, rendering terminal-style screenshots, and executing JavaScript on static HTML without external dependencies.Last updated3MIT
- AlicenseAqualityBmaintenanceA lightweight MCP server that gives AI assistants real-time web search and URL reading — no API keys required.Last updated2GPL 3.0
Related MCP Connectors
Free remote MCP server for fetching public web pages through a rotating proxy pool.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
MCP server for URL shortening and management
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Xzeroone/web2mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server