0nmcp 1.0.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 +31 -0
- package/README.md +233 -0
- package/catalog.js +433 -0
- package/cli.js +324 -0
- package/connections.js +234 -0
- package/crm.js +661 -0
- package/index.js +270 -0
- package/orchestrator.js +447 -0
- package/package.json +72 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 0nORK
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
───────────────────────────────────────────────────────────────────────────────
|
|
24
|
+
|
|
25
|
+
TRADEMARK NOTICE
|
|
26
|
+
|
|
27
|
+
"0nORK", "0nMCP", ".0n", and "The .0n Standard" are trademarks of 0nORK.
|
|
28
|
+
|
|
29
|
+
While this software is freely usable under the MIT License, the trademarks are
|
|
30
|
+
protected. Unauthorized use of these marks to imply endorsement or official
|
|
31
|
+
status is prohibited.
|
package/README.md
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://0nmcp.com/logo.svg" alt="0nMCP" width="200" />
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<h1 align="center">0nMCP</h1>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<strong>Universal AI API Orchestrator</strong>
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
Connect your apps. Say what you want. AI does the rest.
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
<p align="center">
|
|
16
|
+
<a href="https://www.npmjs.com/package/0nmcp"><img src="https://img.shields.io/npm/v/0nmcp.svg?style=flat-square" alt="npm version"></a>
|
|
17
|
+
<a href="https://github.com/0nork/0nmcp/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/0nmcp.svg?style=flat-square" alt="license"></a>
|
|
18
|
+
<a href="https://discord.gg/0nmcp"><img src="https://img.shields.io/discord/0000000000?style=flat-square&logo=discord&logoColor=white&label=discord&color=5865F2" alt="discord"></a>
|
|
19
|
+
</p>
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## What is 0nMCP?
|
|
24
|
+
|
|
25
|
+
0nMCP is an MCP (Model Context Protocol) server that connects Claude to 17+ external services. Instead of copy-pasting API calls, just tell Claude what you want:
|
|
26
|
+
|
|
27
|
+
> "Invoice John for $500 and notify #sales on Slack"
|
|
28
|
+
|
|
29
|
+
Claude orchestrates the API calls automatically.
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Quick Start
|
|
34
|
+
|
|
35
|
+
### 1. Install
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
npx 0nmcp init
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### 2. Configure Claude Desktop
|
|
42
|
+
|
|
43
|
+
Add to your `claude_desktop_config.json`:
|
|
44
|
+
|
|
45
|
+
```json
|
|
46
|
+
{
|
|
47
|
+
"mcpServers": {
|
|
48
|
+
"0nmcp": {
|
|
49
|
+
"command": "npx",
|
|
50
|
+
"args": ["-y", "0nmcp"]
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
**Location:**
|
|
57
|
+
- macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
58
|
+
- Windows: `%APPDATA%\Claude\claude_desktop_config.json`
|
|
59
|
+
|
|
60
|
+
### 3. Connect Services
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
npx 0nmcp connect
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### 4. Restart Claude Desktop
|
|
67
|
+
|
|
68
|
+
Now ask Claude:
|
|
69
|
+
> "List my Stripe customers"
|
|
70
|
+
> "Send a message to #general saying hello"
|
|
71
|
+
> "Create a contact in my CRM for john@acme.com"
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## Supported Services (17+)
|
|
76
|
+
|
|
77
|
+
| Category | Services |
|
|
78
|
+
|----------|----------|
|
|
79
|
+
| **Payments** | Stripe |
|
|
80
|
+
| **Communication** | Slack, Discord, Twilio |
|
|
81
|
+
| **Email** | SendGrid, Resend |
|
|
82
|
+
| **AI** | OpenAI, Anthropic |
|
|
83
|
+
| **Database** | Airtable, Notion, Supabase |
|
|
84
|
+
| **Dev Tools** | GitHub, Linear |
|
|
85
|
+
| **E-commerce** | Shopify |
|
|
86
|
+
| **CRM** | HubSpot, GoHighLevel |
|
|
87
|
+
| **Scheduling** | Calendly, Google Calendar |
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## How It Works
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
|
|
95
|
+
│ You (Claude) │────▶│ 0nMCP │────▶│ Your APIs │
|
|
96
|
+
│ "Invoice John │ │ 1. Parse intent │ │ 17+ services │
|
|
97
|
+
│ for $500 and │ │ 2. Plan steps │ │ 100+ endpoints │
|
|
98
|
+
│ notify #sales" │ │ 3. Execute APIs │ │ │
|
|
99
|
+
│ │◀────│ 4. Chain data │◀────│ │
|
|
100
|
+
└─────────────────┘ └──────────────────┘ └─────────────────┘
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
**Two Modes:**
|
|
104
|
+
- **AI Mode**: With Anthropic API key, Claude plans multi-step tasks
|
|
105
|
+
- **Keyword Mode**: Without AI key, uses smart pattern matching
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
## The .0n Standard
|
|
110
|
+
|
|
111
|
+
0nMCP uses the `.0n` standard for configuration. All your connections live in `~/.0n/`:
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
~/.0n/
|
|
115
|
+
├── config.json # Global settings
|
|
116
|
+
├── connections/ # API credentials
|
|
117
|
+
│ ├── stripe.0n
|
|
118
|
+
│ ├── slack.0n
|
|
119
|
+
│ └── ...
|
|
120
|
+
├── workflows/ # Saved automations
|
|
121
|
+
├── snapshots/ # CRM configs
|
|
122
|
+
└── history/ # Execution logs
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
**[Learn more about .0n →](https://github.com/0nork/0n-spec)**
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## Available Tools
|
|
130
|
+
|
|
131
|
+
### Connection Management
|
|
132
|
+
- `connect_service` - Add new service
|
|
133
|
+
- `list_connections` - Show connected services
|
|
134
|
+
- `disconnect_service` - Remove service
|
|
135
|
+
|
|
136
|
+
### Service Actions
|
|
137
|
+
- `list_services` - Available services
|
|
138
|
+
- `get_service_actions` - Actions for a service
|
|
139
|
+
- `execute` - Run specific action
|
|
140
|
+
|
|
141
|
+
### Orchestration
|
|
142
|
+
- `orchestrate` - Multi-step natural language tasks
|
|
143
|
+
|
|
144
|
+
### CRM Tools (GoHighLevel)
|
|
145
|
+
- `crm_snapshot_deploy` - Deploy .0n snapshot
|
|
146
|
+
- `crm_contact_upsert` - Create/update contact
|
|
147
|
+
- `crm_opportunity_create` - Create deal
|
|
148
|
+
- `crm_tag_contact` - Tag management
|
|
149
|
+
- `crm_task_create` - Create follow-ups
|
|
150
|
+
- `crm_message_send` - Send SMS/email
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
## CLI Commands
|
|
155
|
+
|
|
156
|
+
```bash
|
|
157
|
+
npx 0nmcp # Start MCP server (for Claude)
|
|
158
|
+
npx 0nmcp init # Initialize ~/.0n
|
|
159
|
+
npx 0nmcp connect # Interactive setup
|
|
160
|
+
npx 0nmcp list # Show connections
|
|
161
|
+
npx 0nmcp migrate # Migrate from .0nmcp
|
|
162
|
+
npx 0nmcp help # Show help
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
## Examples
|
|
168
|
+
|
|
169
|
+
### Invoice + Notify
|
|
170
|
+
```
|
|
171
|
+
"Create a Stripe invoice for $500 to john@acme.com
|
|
172
|
+
and send a message to #sales saying 'New invoice created'"
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
### CRM Automation
|
|
176
|
+
```
|
|
177
|
+
"Add john@acme.com to my CRM, tag them as 'Hot Lead',
|
|
178
|
+
and create a follow-up task for tomorrow"
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
### Deploy CRM Setup
|
|
182
|
+
```
|
|
183
|
+
"Deploy the sales-machine.0n snapshot to my CRM"
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## Advanced: AI Mode
|
|
189
|
+
|
|
190
|
+
Connect Anthropic for intelligent multi-step orchestration:
|
|
191
|
+
|
|
192
|
+
```bash
|
|
193
|
+
npx 0nmcp connect
|
|
194
|
+
# Choose: anthropic
|
|
195
|
+
# Enter your API key
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
Now Claude can plan complex workflows automatically.
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
|
|
202
|
+
## Security
|
|
203
|
+
|
|
204
|
+
- Credentials stored locally in `~/.0n/connections/`
|
|
205
|
+
- No data sent to 0nORK servers
|
|
206
|
+
- Uses standard MCP stdio transport
|
|
207
|
+
- You control which services are connected
|
|
208
|
+
|
|
209
|
+
---
|
|
210
|
+
|
|
211
|
+
## Links
|
|
212
|
+
|
|
213
|
+
- **Website**: [0nmcp.com](https://0nmcp.com)
|
|
214
|
+
- **Documentation**: [0nmcp.com/docs](https://0nmcp.com/docs)
|
|
215
|
+
- **GitHub**: [github.com/0nork/0nmcp](https://github.com/0nork/0nmcp)
|
|
216
|
+
- **Discord**: [discord.gg/0nmcp](https://discord.gg/0nmcp)
|
|
217
|
+
- **The .0n Standard**: [github.com/0nork/0n-spec](https://github.com/0nork/0n-spec)
|
|
218
|
+
|
|
219
|
+
---
|
|
220
|
+
|
|
221
|
+
## License
|
|
222
|
+
|
|
223
|
+
MIT License - see [LICENSE](LICENSE)
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
<p align="center">
|
|
228
|
+
<strong>0nMCP</strong>
|
|
229
|
+
<br>
|
|
230
|
+
<em>Connect your apps. Say what you want. AI does the rest.</em>
|
|
231
|
+
<br><br>
|
|
232
|
+
<a href="https://0nork.com">0nORK — AI Orchestration Infrastructure</a>
|
|
233
|
+
</p>
|