@vibeprospecting/vpai 0.1.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.
Files changed (4) hide show
  1. package/README.md +164 -0
  2. package/dist/vpai +0 -0
  3. package/dist/vpai.js +37149 -0
  4. package/package.json +44 -0
package/README.md ADDED
@@ -0,0 +1,164 @@
1
+ # vpai
2
+
3
+ **Vibe Prospecting** – Power your chat with B2B data to create lead lists, research companies, personalize your outreach, and more.
4
+
5
+ Search any company or professional to access emails, phone numbers, roles, growth signals, tech stack details, business events, website changes, and more. Use it to find qualified leads, research prospects, create personalized outreach, or identify talent, all directly within your chat. Vibe Prospecting provides fresh and compliant B2B data through a complete enrichment hub.
6
+
7
+ **Developed by:** [vibeprospecting.ai](https://vibeprospecting.ai)
8
+
9
+ **MCP endpoint:** [mcp.explorium.ai/mcp](https://mcp.explorium.ai/mcp)
10
+
11
+ ---
12
+
13
+ ## Quick Start
14
+
15
+ ```bash
16
+ # Install globally
17
+ npm install -g @vibeprospecting/vpai
18
+
19
+ # Authenticate (once; opens browser)
20
+ mcporter auth vpai
21
+
22
+ # Run
23
+ vpai --help
24
+ vpai match-business --args '{"businesses_to_match":[{"name":"Google"}]}'
25
+ ```
26
+
27
+ ---
28
+
29
+ ## Installation
30
+
31
+ ### From npm
32
+
33
+ ```bash
34
+ npm install -g @vibeprospecting/vpai
35
+ ```
36
+
37
+ ### From source
38
+
39
+ ```bash
40
+ git clone <repo>
41
+ cd mcp-cli
42
+ npm install
43
+ npm run build
44
+ ```
45
+
46
+ Produces:
47
+
48
+ - `dist/vpai.js` – Bun bundle (requires Bun runtime)
49
+ - `dist/vpai` – Standalone executable (no runtime; Linux/macOS)
50
+
51
+ ### Run without installing
52
+
53
+ ```bash
54
+ npm run call -- <command> [options]
55
+ # or
56
+ bun dist/vpai.js <command> [options]
57
+ ```
58
+
59
+ ---
60
+
61
+ ## Prerequisites
62
+
63
+ - [Bun](https://bun.sh) (for build) or Node.js
64
+ - OAuth access to Explorium MCP
65
+
66
+ ---
67
+
68
+ ## Usage
69
+
70
+ ### Workflow
71
+
72
+ 1. `vpai --help` – List tools and descriptions
73
+ 2. `vpai <tool> --all-parameters` – Inspect input/output JSON schema
74
+ 3. `vpai <tool> --args '<json>'` – Execute with JSON arguments
75
+
76
+ ### Examples
77
+
78
+ ```bash
79
+ # Resolve business IDs
80
+ vpai match-business --args '{"businesses_to_match":[{"name":"Amazon","domain":"amazon.com"}]}'
81
+
82
+ # Search businesses
83
+ vpai fetch-businesses --args '{"country_code":{"values":["US"]},"company_size":{"values":["51-200"]}}'
84
+
85
+ # Enrich a business
86
+ vpai enrich-business --args '{"business_ids":["biz_xxx"],"enrichments":["firmographics","technographics"]}'
87
+
88
+ # Get autocomplete values (required before some filters)
89
+ vpai autocomplete --args '{"field":"linkedin_category","query":"software"}'
90
+ ```
91
+
92
+ ### Flags
93
+
94
+ | Flag | Description |
95
+ |------|-------------|
96
+ | `--args '<json>'` | Tool arguments as JSON |
97
+ | `--all-parameters` | Print input/output schema |
98
+ | `--json` | Output schema as JSON |
99
+
100
+ ---
101
+
102
+ ## Tools
103
+
104
+ | Command | Description |
105
+ |---------|-------------|
106
+ | `match-business` | Resolve business IDs from names/domains |
107
+ | `fetch-businesses` | Search businesses by filters |
108
+ | `fetch-businesses-statistics` | Aggregated business insights |
109
+ | `fetch-businesses-events` | Business events in bulk |
110
+ | `enrich-business` | Enrich business data |
111
+ | `match-prospects` | Resolve prospect IDs |
112
+ | `fetch-prospects` | Search prospects by filters |
113
+ | `fetch-prospects-events` | Prospect events |
114
+ | `fetch-prospects-statistics` | Aggregated prospect insights |
115
+ | `enrich-prospects` | Enrich prospect data |
116
+ | `autocomplete` | Get valid filter values |
117
+ | `web-search` | Web search |
118
+
119
+ ---
120
+
121
+ ## Production
122
+
123
+ ### Standalone binary
124
+
125
+ The compiled `dist/vpai` binary is self-contained. Deploy by copying it to the target system; no Node/Bun or config files required.
126
+
127
+ ```bash
128
+ # Copy to PATH
129
+ cp dist/vpai /usr/local/bin/vpai
130
+ # or
131
+ cp dist/vpai ~/bin/vpai
132
+ ```
133
+
134
+ ### Auth
135
+
136
+ Tokens are stored by mcporter. Run `mcporter auth vpai` once per environment. For CI or headless use, configure mcporter accordingly.
137
+
138
+ ### Config
139
+
140
+ MCP server URL, OAuth settings, and timeout are embedded in the build (`src/embedded-config.ts`). No external config files.
141
+
142
+ ---
143
+
144
+ ## Project Structure
145
+
146
+ ```
147
+ mcp-cli/
148
+ ├── src/
149
+ │ ├── cli.ts # Entry point
150
+ │ ├── proxy.ts # Tool registration
151
+ │ ├── config.ts # Config loader
152
+ │ ├── embedded-config.ts # MCP URL, OAuth, timeout
153
+ │ ├── runtime.ts # mcporter runtime
154
+ │ ├── executors/ # Tool execution
155
+ │ ├── output/ # Result and schema printing
156
+ │ └── schemas/ # Schema resolution
157
+ └── dist/ # Build output
158
+ ```
159
+
160
+ ---
161
+
162
+ ## Dependencies
163
+
164
+ - [mcporter](https://github.com/mcporter/mcporter) – MCP client with OAuth
package/dist/vpai ADDED
Binary file