anymcp 0.2.0
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/LICENSE +21 -0
- package/README.md +159 -0
- package/dist/main.bundle.mjs +5808 -0
- package/package.json +65 -0
- package/server.json +72 -0
package/package.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "anymcp",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Self-contained MCP server that turns any website into a runnable MCP server, in-process. Host-as-brain by default (no API key); optional OpenAI/Anthropic/Gemini/Groq/Ollama/... or a custom inference URL.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "Franck Fongang",
|
|
8
|
+
"homepage": "https://github.com/Francklin9999/mcpify/tree/main/services/forge-mcp-local#readme",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/Francklin9999/mcpify.git",
|
|
12
|
+
"directory": "services/forge-mcp-local"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/Francklin9999/mcpify/issues"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"mcp",
|
|
19
|
+
"model-context-protocol",
|
|
20
|
+
"mcp-server",
|
|
21
|
+
"code-generation",
|
|
22
|
+
"scraper",
|
|
23
|
+
"ai-tools",
|
|
24
|
+
"llm"
|
|
25
|
+
],
|
|
26
|
+
"engines": {
|
|
27
|
+
"node": ">=20"
|
|
28
|
+
},
|
|
29
|
+
"bin": {
|
|
30
|
+
"anymcp": "dist/main.bundle.mjs"
|
|
31
|
+
},
|
|
32
|
+
"files": [
|
|
33
|
+
"dist/main.bundle.mjs",
|
|
34
|
+
"server.json",
|
|
35
|
+
"README.md",
|
|
36
|
+
"LICENSE"
|
|
37
|
+
],
|
|
38
|
+
"publishConfig": {
|
|
39
|
+
"access": "public"
|
|
40
|
+
},
|
|
41
|
+
"scripts": {
|
|
42
|
+
"build": "npm run build --workspace=@mcp/generator && tsc -p tsconfig.json",
|
|
43
|
+
"bundle": "npm run build && esbuild src/main.ts --bundle --platform=node --format=esm --target=node20 --outfile=dist/main.bundle.mjs --external:@modelcontextprotocol/sdk --external:zod --external:openai --external:@anthropic-ai/sdk --external:@google/generative-ai --external:playwright",
|
|
44
|
+
"start": "node dist/src/main.js",
|
|
45
|
+
"prepublishOnly": "npm run bundle",
|
|
46
|
+
"test": "npm run build && node test/providers.mjs && node test/scraper-select.mjs && node test/persistence.mjs && node test/smoke.mjs && node test/emit.mjs && node test/local-e2e.mjs && node test/security.mjs"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@anthropic-ai/sdk": "^0.54.0",
|
|
50
|
+
"@google/generative-ai": "^0.24.0",
|
|
51
|
+
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
52
|
+
"openai": "^6.39.1",
|
|
53
|
+
"zod": "^3.25.0"
|
|
54
|
+
},
|
|
55
|
+
"optionalDependencies": {
|
|
56
|
+
"playwright": "^1.54.2"
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"@mcp/generator": "0.0.0",
|
|
60
|
+
"@mcp/types": "0.0.0",
|
|
61
|
+
"@types/node": "^22.0.0",
|
|
62
|
+
"esbuild": "^0.25.12",
|
|
63
|
+
"typescript": "^5.7.0"
|
|
64
|
+
}
|
|
65
|
+
}
|
package/server.json
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
|
+
"name": "io.github.Francklin9999/mcpify",
|
|
4
|
+
"title": "anymcp",
|
|
5
|
+
"description": "Turn any website into a runnable MCP server, in-process. Host-as-brain by default (no API key); optional OpenAI/Anthropic/Gemini/Groq/Ollama/custom inference.",
|
|
6
|
+
"version": "0.2.0",
|
|
7
|
+
"repository": {
|
|
8
|
+
"url": "https://github.com/Francklin9999/mcpify",
|
|
9
|
+
"source": "github"
|
|
10
|
+
},
|
|
11
|
+
"websiteUrl": "https://github.com/Francklin9999/mcpify/tree/main/services/forge-mcp-local#readme",
|
|
12
|
+
"packages": [
|
|
13
|
+
{
|
|
14
|
+
"registryType": "npm",
|
|
15
|
+
"registryBaseUrl": "https://registry.npmjs.org",
|
|
16
|
+
"identifier": "anymcp",
|
|
17
|
+
"version": "0.2.0",
|
|
18
|
+
"transport": { "type": "stdio" },
|
|
19
|
+
"environmentVariables": [
|
|
20
|
+
{
|
|
21
|
+
"name": "FORGE_INFERENCE",
|
|
22
|
+
"description": "Server-side inference for forge_generate: host (default, no key) | heuristic | openai | claude | gemini | groq | together | openrouter | deepseek | mistral | fireworks | xai | ollama | lmstudio | vllm | openai-compatible | http. Accepts provider/model too.",
|
|
23
|
+
"isRequired": false,
|
|
24
|
+
"default": "host"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "FORGE_MODEL",
|
|
28
|
+
"description": "Override the model for the selected provider.",
|
|
29
|
+
"isRequired": false
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "OPENAI_API_KEY",
|
|
33
|
+
"description": "API key when FORGE_INFERENCE=openai.",
|
|
34
|
+
"isRequired": false,
|
|
35
|
+
"isSecret": true
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "ANTHROPIC_API_KEY",
|
|
39
|
+
"description": "API key when FORGE_INFERENCE=claude.",
|
|
40
|
+
"isRequired": false,
|
|
41
|
+
"isSecret": true
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "GEMINI_API_KEY",
|
|
45
|
+
"description": "API key when FORGE_INFERENCE=gemini.",
|
|
46
|
+
"isRequired": false,
|
|
47
|
+
"isSecret": true
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "FORGE_OPENAI_BASE_URL",
|
|
51
|
+
"description": "Base URL when FORGE_INFERENCE=openai-compatible (any OpenAI-compatible endpoint).",
|
|
52
|
+
"isRequired": false
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "FORGE_INFERENCE_URL",
|
|
56
|
+
"description": "Custom inference endpoint when FORGE_INFERENCE=http (bring your own logic).",
|
|
57
|
+
"isRequired": false
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "MCP_FORGE_HOME",
|
|
61
|
+
"description": "Where generated servers + registry.json are written (default ~/.mcp-forge).",
|
|
62
|
+
"isRequired": false
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "SCRAPER_URL",
|
|
66
|
+
"description": "Optional: use a full Playwright scraper service for JS-rendered sites instead of the built-in static-fetch capture.",
|
|
67
|
+
"isRequired": false
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
}
|