🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

frontrun-mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

frontrun-mcp-server - npm Package Compare versions

Comparing version
2.3.1
to
2.3.2
+19
-6
index.js

@@ -28,8 +28,21 @@ #!/usr/bin/env node

if (args[0] === '--setup' || args[0] === '--setup-code') {
const apiKey = args[1];
let apiKey = args[1];
// If no key provided, use saved credentials from --login
if (!apiKey || !apiKey.startsWith('sig_')) {
console.error('\n Usage:');
console.error(' npx frontrun-mcp-server --setup YOUR_API_KEY');
console.error(' npx frontrun-mcp-server --setup-code YOUR_API_KEY\n');
console.error(' Get your API key at https://frontrun.vc → Settings → API Keys\n');
const credsDir = join(homedir(), '.frontrun');
const credsPath = join(credsDir, 'credentials.json');
try {
if (existsSync(credsPath)) {
const creds = JSON.parse(readFileSync(credsPath, 'utf8'));
if (creds.api_key) {
apiKey = creds.api_key;
console.log(`\n Using saved credentials${creds.user ? ` (${creds.user})` : ''}`);
}
}
} catch {}
}
if (!apiKey || !apiKey.startsWith('sig_')) {
console.error('\n No API key found. Either:');
console.error(' 1. Log in first: npx frontrun-mcp-server --login');
console.error(' 2. Pass a key: npx frontrun-mcp-server --setup YOUR_API_KEY\n');
process.exit(1);

@@ -295,3 +308,3 @@ }

name: 'frontrun',
version: '2.3.1',
version: '2.3.2',
});

@@ -298,0 +311,0 @@

{
"name": "frontrun-mcp-server",
"version": "2.3.1",
"version": "2.3.2",
"description": "Frontrun MCP Server — VC follow signal intelligence, company research, and deal discovery for AI agents. 29 tools.",

@@ -5,0 +5,0 @@ "type": "module",