alterlab-mcp-server 1.11.1 → 1.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.js +1 -1
- package/dist/index.js +1 -1
- package/dist/shared/tool-definitions.json +56 -0
- package/package.json +1 -1
- package/server.json +2 -2
package/dist/client.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.AlterLabClient = void 0;
|
|
4
4
|
// Read version from package.json at build time is complex with ESM,
|
|
5
5
|
// so we hardcode it and keep in sync with package.json.
|
|
6
|
-
const VERSION = "1.11.
|
|
6
|
+
const VERSION = "1.11.3";
|
|
7
7
|
const MAX_RETRIES = 2;
|
|
8
8
|
class AlterLabClient {
|
|
9
9
|
apiKey;
|
package/dist/index.js
CHANGED
|
@@ -60,7 +60,7 @@ function createServer(config) {
|
|
|
60
60
|
const client = new client_js_1.AlterLabClient(config);
|
|
61
61
|
const server = new mcp_js_1.McpServer({
|
|
62
62
|
name: "alterlab",
|
|
63
|
-
version: "1.11.
|
|
63
|
+
version: "1.11.3",
|
|
64
64
|
});
|
|
65
65
|
// Register tools
|
|
66
66
|
server.tool("alterlab_scrape", (0, descriptions_js_1.toolDescription)("alterlab_scrape", scrape_js_1.scrapeDescription), scrape_js_1.scrapeSchema.shape, (params) => (0, scrape_js_1.handleScrape)(client, params));
|
|
@@ -1906,6 +1906,62 @@
|
|
|
1906
1906
|
"email"
|
|
1907
1907
|
]
|
|
1908
1908
|
}
|
|
1909
|
+
},
|
|
1910
|
+
{
|
|
1911
|
+
"name": "alterlab_create_api_key",
|
|
1912
|
+
"summary": "Create the AlterLab API key for this machine, if the user ticked 'Also create an API key' when approving the MCP connection",
|
|
1913
|
+
"description": "Create one scoped, spend-capped API key (ALTERLAB_API_KEY) for the SDK and REST API on this machine. Works only when the user ticked \"Also create an API key for this machine\" on the OAuth approval screen, so no second approval is needed. Skip it if a key is already configured. The key is labeled with your client name, carries the same read/write permissions and daily spend cap as this connection (never billing), and is revocable from the dashboard. The plaintext is returned once: store it in the environment immediately without printing it. A repeat call returns key metadata only. If it fails with a permission error, the box was not ticked: use alterlab_create_account instead.",
|
|
1914
|
+
"inputSchema": {
|
|
1915
|
+
"type": "object",
|
|
1916
|
+
"properties": {}
|
|
1917
|
+
}
|
|
1918
|
+
},
|
|
1919
|
+
{
|
|
1920
|
+
"name": "search_alterlab",
|
|
1921
|
+
"summary": "Search everything AlterLab publishes (docs, blog, guides, comparisons, changelog); free, no API key",
|
|
1922
|
+
"description": "Use this to look up how to do something with AlterLab (API parameters, SDKs, MCP setup, pricing, error codes, migration from Firecrawl/ScrapingBee/Apify) or to find a guide for scraping a specific site. Searches the docs, blog, glossary, comparisons, scrape guides and changelog. Free: needs no API key and never uses credits. Returns the best matches as title, short snippet, url and markdown_url; pass a url to read_alterlab_page to read the full page as markdown.",
|
|
1923
|
+
"inputSchema": {
|
|
1924
|
+
"type": "object",
|
|
1925
|
+
"properties": {
|
|
1926
|
+
"q": {
|
|
1927
|
+
"type": "string",
|
|
1928
|
+
"minLength": 1,
|
|
1929
|
+
"maxLength": 200,
|
|
1930
|
+
"description": "What you want to know, in plain words (for example: how to scrape amazon product data)."
|
|
1931
|
+
},
|
|
1932
|
+
"type": {
|
|
1933
|
+
"type": "string",
|
|
1934
|
+
"description": "Optional content type filter: docs, blog, how-to, scrape, comparison, glossary, answers, changelog or pricing. Omit to search everything."
|
|
1935
|
+
},
|
|
1936
|
+
"limit": {
|
|
1937
|
+
"type": "integer",
|
|
1938
|
+
"minimum": 1,
|
|
1939
|
+
"maximum": 20,
|
|
1940
|
+
"description": "Maximum number of results. Default: 8."
|
|
1941
|
+
}
|
|
1942
|
+
},
|
|
1943
|
+
"required": [
|
|
1944
|
+
"q"
|
|
1945
|
+
]
|
|
1946
|
+
}
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
"name": "read_alterlab_page",
|
|
1950
|
+
"summary": "Read one AlterLab docs, blog or guide page as markdown; free, no API key",
|
|
1951
|
+
"description": "Use this after search_alterlab to read the full text of one AlterLab page as markdown, so you can follow the documented steps instead of guessing. Pass the url of a search result. Only pages on alterlab.io that search_alterlab can return are readable. Free: needs no API key and never uses credits.",
|
|
1952
|
+
"inputSchema": {
|
|
1953
|
+
"type": "object",
|
|
1954
|
+
"properties": {
|
|
1955
|
+
"url": {
|
|
1956
|
+
"type": "string",
|
|
1957
|
+
"format": "uri",
|
|
1958
|
+
"description": "An alterlab.io page URL taken from the url field of a search_alterlab result."
|
|
1959
|
+
}
|
|
1960
|
+
},
|
|
1961
|
+
"required": [
|
|
1962
|
+
"url"
|
|
1963
|
+
]
|
|
1964
|
+
}
|
|
1909
1965
|
}
|
|
1910
1966
|
]
|
|
1911
1967
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "alterlab-mcp-server",
|
|
3
3
|
"mcpName": "io.alterlab/mcp-server",
|
|
4
|
-
"version": "1.11.
|
|
4
|
+
"version": "1.11.3",
|
|
5
5
|
"description": "MCP server for web scraping, structured data extraction, and screenshots \u2014 give Claude, Cursor, Windsurf, and AI agents the ability to scrape any website with automatic anti-bot bypass",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
package/server.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-16/server.schema.json",
|
|
3
3
|
"name": "io.alterlab/mcp-server",
|
|
4
|
-
"version": "1.11.
|
|
4
|
+
"version": "1.11.3",
|
|
5
5
|
"description": "Web scraping MCP server — scrape, extract structured data, screenshot any site with anti-bot bypass.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"url": "https://github.com/RapierCraft/alterlab-mcp-server",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "alterlab-mcp-server",
|
|
14
|
-
"version": "1.11.
|
|
14
|
+
"version": "1.11.3",
|
|
15
15
|
"runtimeHint": "node",
|
|
16
16
|
"transport": {
|
|
17
17
|
"type": "stdio"
|