-
Notifications
You must be signed in to change notification settings - Fork 117
Expand file tree
/
Copy pathweb-fetch.json
More file actions
101 lines (101 loc) · 2.77 KB
/
Copy pathweb-fetch.json
File metadata and controls
101 lines (101 loc) · 2.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "web-fetch",
"description": "A Model Context Protocol (MCP) server for fetching webpages including html/pdf/plain text type content.",
"display_name": "Web Fetch",
"repository": {
"type": "git",
"url": "https://github.com/pathintegral-institute/mcp.science"
},
"homepage": "https://github.com/pathintegral-institute/mcp.science/tree/main/servers/web-fetch",
"author": {
"name": "pathintegral-institute"
},
"license": "MIT",
"tags": [
"web",
"fetch",
"html",
"pdf",
"text"
],
"arguments": {
"user_agent": {
"description": "Custom user-agent for fetching web content",
"required": false,
"example": "ModelContextProtocol/1.0 (User-Specified; +https://github.com/modelcontextprotocol/servers)"
}
},
"installations": {
"uvx": {
"type": "uvx",
"command": "uvx",
"args": [
"mcp_web_fetch"
],
"description": "Run using uv (recommended)"
},
"docker": {
"type": "docker",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/mcp-servers/fetch:latest"
],
"description": "Run using Docker"
}
},
"examples": [
{
"title": "Fetch PDF content",
"description": "Fetch PDF content from a URL",
"prompt": "fetch web from url: https://proceedings.neurips.cc/paper_files/paper/2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf"
},
{
"title": "Fetch HTML content",
"description": "Fetch HTML content from a website",
"prompt": "fetch web from url: https://example.com"
},
{
"title": "Fetch raw content",
"description": "Fetch raw content from a URL",
"prompt": "fetch web from url: https://example.com/data.json with raw=true"
},
{
"title": "Fetch with custom user-agent",
"description": "Fetch content with a custom user-agent (requires server configuration)",
"prompt": "fetch web from url: https://example.com using a mobile browser user-agent"
}
],
"categories": [
"Web Services"
],
"tools": [
{
"name": "fetch-web",
"description": "Fetch URL and return content according to its content type. Returns parsed content by default or raw content if specified.",
"prompt": "Fetch web from url: https://example.com",
"inputSchema": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "URL to fetch",
"format": "uri",
"minLength": 1
},
"raw": {
"type": "boolean",
"description": "Whether to return raw content",
"default": false
}
}
},
"required": [
"url"
]
}
],
"is_official": true
}