@aventurevc/mcp-server 0.8.237 → 0.8.238
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/chunks/{help-intent-mWukB1eR.js → help-intent-B2MgcsB6.js} +1 -1
- package/dist/chunks/mcp-generation-contract-DMZzSi2x.js +1 -0
- package/dist/chunks/{oauth-discovery-C4Lo6dIK.js → oauth-discovery-Xa1GYPXk.js} +1 -1
- package/dist/chunks/{openapi-call-B9zrl6Yl.js → openapi-call-CKyNW1sE.js} +2 -2
- package/dist/chunks/openapi-snapshot-iDmJkw4j.js +1 -0
- package/dist/chunks/{request-replay-B983xJ-7.js → request-replay-BFjYWNP9.js} +1 -1
- package/dist/chunks/{streamable-http-Mc_ecgj4.js → streamable-http-CvE7Emcw.js} +45 -45
- package/dist/mcp-server/index.js +1 -1
- package/package.json +3 -3
- package/dist/chunks/mcp-generation-contract-BqIIjhgK.js +0 -1
- package/dist/chunks/openapi-snapshot-BZ96PbpK.js +0 -1
package/dist/mcp-server/index.js
CHANGED
|
@@ -11,4 +11,4 @@ Environment:
|
|
|
11
11
|
AVENTURE_MCP_PORT Select the HTTP listening port.
|
|
12
12
|
AVENTURE_MCP_PATH Select the MCP route.
|
|
13
13
|
AVENTURE_MCP_JSON_LIMIT Limit request body size.
|
|
14
|
-
`).parseAsync()).opts(),[{describeError:o,logError:s,logInfo:c,shutdownLogging:l,useServerProcessLogging:u},{AUTH_SECRET_NAME:d},{metricsScrapeSecretFromEnvironment:f},{catalogOAuthDiscovery:p},{captureSentryException:m,initializeSentry:h,shutdownSentry:g},{HOSTED_REQUEST_DEADLINE_MS:_,startStreamableHttpServer:v}]=await Promise.all([import(`../chunks/logging-CgYAFXRk.js`),import(`../chunks/env-INx_D4Zq.js`),import(`../chunks/private-telemetry-credential-DbamSREI.js`),import(`../chunks/oauth-discovery-
|
|
14
|
+
`).parseAsync()).opts(),[{describeError:o,logError:s,logInfo:c,shutdownLogging:l,useServerProcessLogging:u},{AUTH_SECRET_NAME:d},{metricsScrapeSecretFromEnvironment:f},{catalogOAuthDiscovery:p},{captureSentryException:m,initializeSentry:h,shutdownSentry:g},{HOSTED_REQUEST_DEADLINE_MS:_,startStreamableHttpServer:v}]=await Promise.all([import(`../chunks/logging-CgYAFXRk.js`),import(`../chunks/env-INx_D4Zq.js`),import(`../chunks/private-telemetry-credential-DbamSREI.js`),import(`../chunks/oauth-discovery-Xa1GYPXk.js`),import(`../chunks/sentry-BbZQYSQu.js`),import(`../chunks/streamable-http-CvE7Emcw.js`)]),y=_+5e3;u(),await h(),delete process.env[d.authToken];var b=E(),x=process.env.AVENTURE_MCP_PATH??`/mcp`,S=process.env.AVENTURE_MCP_JSON_LIMIT??`10mb`,C=f()||void 0,w=!1;function T(e){Promise.allSettled([l(),g()]).then(e=>{for(let t of e){if(t.status!==`rejected`)continue;let e=o(t.reason);process.stderr.write(`${i.bin[0]} telemetry shutdown failed: ${e}\n`)}}).catch(e=>{let t=o(e);process.stderr.write(`${i.bin[0]} telemetry shutdown failed: ${t}\n`)}).finally(()=>process.exit(e))}v({port:b,host:a,path:x,resolveOAuthDiscovery:p(),jsonBodyLimit:S,metricsScrapeSecret:C}).then(e=>{c({component:`aventure-mcp-server`,event:`server_listening`,fields:{port:b,path:x}}),process.stdout.write(`${i.bin[0]} listening at http://localhost:${b}${x}\n`);let t=t=>{if(w)return;w=!0,c({component:`aventure-mcp-server`,event:`server_shutdown_started`,fields:{signal:t}});let n=setTimeout(()=>{s({component:`aventure-mcp-server`,event:`server_shutdown_timeout`,message:`MCP server did not drain before the platform forced-shutdown window`,fields:{signal:t,forceExitMs:y}}),T(1)},y);n.unref(),e.close().then(()=>{clearTimeout(n),c({component:`aventure-mcp-server`,event:`server_shutdown_completed`,fields:{signal:t}}),T(0)}).catch(e=>{let r=o(e);clearTimeout(n),s({component:`aventure-mcp-server`,event:`server_shutdown_failed`,message:r,fields:{signal:t},error:e}),T(1)})};for(let e of[`SIGTERM`,`SIGINT`])process.on(e,t)},async e=>{let t=o(e);m(e,`server_start_failed`),s({component:`aventure-mcp-server`,event:`server_start_failed`,message:t,error:e}),process.stderr.write(`${i.bin[0]} failed to start: ${t}\n`),T(1)});function E(){let e=process.env.AVENTURE_MCP_PORT??process.env.PORT??`3333`,t=Number(e);if(!Number.isInteger(t)||t<1||t>r)throw Error(`Invalid MCP server port: ${e}`);return t}export{};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aventurevc/mcp-server",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.238",
|
|
4
4
|
"mcpName": "io.github.aventurevc/aventure-mcp",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "MCP server that gives AI assistants access to aVenture research data on companies, people, funding, and news.",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
},
|
|
30
30
|
"aventurePublicApi": {
|
|
31
31
|
"repository": "aventurevc/aventure-docs",
|
|
32
|
-
"commit": "
|
|
32
|
+
"commit": "a5192a5c04c70c7a3ebba014127b37824df99bc9",
|
|
33
33
|
"openapiPath": "openapi/openapi.json",
|
|
34
|
-
"openapiSha256": "
|
|
34
|
+
"openapiSha256": "c0f68ac9d4a9c7c47df8883314cba367cc7550b5f6691863b399c6b2db7a27c2"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {}
|
|
37
37
|
}
|