@deventerprisesoftware/scrapi-mcp 0.2.2 → 0.2.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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import { z } from "zod";
8
8
  const PORT = process.env.PORT || 5000;
9
9
  const SCRAPI_API_KEY = process.env.SCRAPI_API_KEY || "00000000-0000-0000-0000-000000000000";
10
10
  const SCRAPI_SERVER_NAME = "ScrAPI MCP Server";
11
- const SCRAPI_SERVER_VERSION = "0.2.2";
11
+ const SCRAPI_SERVER_VERSION = "0.2.3";
12
12
  const app = express();
13
13
  app.use(cors({
14
14
  origin: "*",
@@ -136,8 +136,8 @@ export default function createServer({ config, }) {
136
136
  }
137
137
  try {
138
138
  const requestBody = JSON.stringify(body);
139
- console.log(`Using ScrAPI on URL: ${url} with format: ${format}`);
140
- console.log(`Request body: ${requestBody}`);
139
+ console.error(`Using ScrAPI on URL: ${url} with format: ${format}`);
140
+ console.error(`Request body: ${requestBody}`);
141
141
  const response = await fetch("https://api.scrapi.tech/v1/scrape", {
142
142
  method: "POST",
143
143
  headers: {
@@ -225,7 +225,7 @@ async function main() {
225
225
  if (transport === "http") {
226
226
  // Run in HTTP mode
227
227
  app.listen(PORT, () => {
228
- console.log(`ScrAPI MCP HTTP Server version ${SCRAPI_SERVER_VERSION} listening on port ${PORT}`);
228
+ console.error(`ScrAPI MCP HTTP Server version ${SCRAPI_SERVER_VERSION} listening on port ${PORT}`);
229
229
  });
230
230
  }
231
231
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deventerprisesoftware/scrapi-mcp",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "MCP server for using ScrAPI to scrape web pages.",
5
5
  "keywords": [
6
6
  "mcp",