@carbonvoice/cv-mcp-server 1.0.11 → 1.0.12
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/package.json +1 -1
- package/readme.md +198 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbonvoice/cv-mcp-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"description": "Server implementation for integrating with Carbon Voice's API, providing tools and endpoints for voice messaging, conversations, and workspace management through MCP (Model Context Protocol)",
|
|
5
5
|
"author": "Carbon Voice",
|
|
6
6
|
"license": "ISC",
|
package/readme.md
ADDED
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
# Carbon Voice MCP Server
|
|
2
|
+
|
|
3
|
+
A Model Context Protocol (MCP) server implementation for integrating with Carbon Voice's API, providing AI assistants with comprehensive tools for voice messaging, conversations, and workspace management.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- **Message Management**: Create, list, and retrieve voice messages, conversation messages, and direct messages
|
|
8
|
+
- **User Operations**: Search and retrieve user information
|
|
9
|
+
- **Conversation Management**: Access and manage conversations and their participants
|
|
10
|
+
- **Folder Operations**: Create, organize, move, and manage folders and their contents
|
|
11
|
+
- **Workspace Administration**: Get workspace information
|
|
12
|
+
- **AI Actions**: Run AI prompts and retrieve AI-generated responses
|
|
13
|
+
- **Attachment Support**: Add link attachments to messages
|
|
14
|
+
|
|
15
|
+
## Prerequisites
|
|
16
|
+
|
|
17
|
+
### API Key Required
|
|
18
|
+
|
|
19
|
+
To use this MCP server, you need a Carbon Voice API key. Please contact the Carbon Voice development team to request your API key:
|
|
20
|
+
|
|
21
|
+
**📧 Contact**: devsupport@phononx.com
|
|
22
|
+
|
|
23
|
+
## Configuration
|
|
24
|
+
|
|
25
|
+
### For Cursor
|
|
26
|
+
|
|
27
|
+
1. Open Cursor
|
|
28
|
+
2. Go to **Cursor Settings** > **Features** > **Model Context Protocol**
|
|
29
|
+
3. Add a new MCP server configuration:
|
|
30
|
+
|
|
31
|
+
```json
|
|
32
|
+
{
|
|
33
|
+
"mcpServers": {
|
|
34
|
+
"Carbon-Voice": {
|
|
35
|
+
"command": "npx",
|
|
36
|
+
"env": {
|
|
37
|
+
"CARBON_VOICE_API_KEY": "your_api_key_here"
|
|
38
|
+
},
|
|
39
|
+
"args": ["-y", "@carbonvoice/cv-mcp-server"]
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
4. Replace `"your_api_key_here"` with your actual Carbon Voice API key
|
|
46
|
+
5. Save and restart Cursor
|
|
47
|
+
|
|
48
|
+
### For Claude Desktop
|
|
49
|
+
|
|
50
|
+
1. Open your Claude Desktop configuration file:
|
|
51
|
+
|
|
52
|
+
- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
53
|
+
- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
|
|
54
|
+
|
|
55
|
+
2. Add the Carbon Voice MCP server configuration:
|
|
56
|
+
|
|
57
|
+
```json
|
|
58
|
+
{
|
|
59
|
+
"mcpServers": {
|
|
60
|
+
"Carbon-Voice": {
|
|
61
|
+
"command": "npx",
|
|
62
|
+
"env": {
|
|
63
|
+
"CARBON_VOICE_API_KEY": "your_api_key_here"
|
|
64
|
+
},
|
|
65
|
+
"args": ["-y", "@carbonvoice/cv-mcp-server"]
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
3. Replace `"your_api_key_here"` with your actual Carbon Voice API key
|
|
72
|
+
4. Save the file and restart Claude Desktop
|
|
73
|
+
|
|
74
|
+
## Available Tools
|
|
75
|
+
|
|
76
|
+
### Messages
|
|
77
|
+
|
|
78
|
+
- **`list_messages`** - List messages with date filtering (max 31-day range)
|
|
79
|
+
- **`get_message`** - Retrieve a specific message by ID
|
|
80
|
+
- **`get_recent_messages`** - Get the 10 most recent messages with full context
|
|
81
|
+
- **`create_conversation_message`** - Send a message to a conversation
|
|
82
|
+
- **`create_direct_message`** - Send direct messages to users or groups
|
|
83
|
+
- **`create_voicememo_message`** - Create voice memo messages
|
|
84
|
+
- **`add_attachments_to_message`** - Add link attachments to existing messages
|
|
85
|
+
|
|
86
|
+
### Users
|
|
87
|
+
|
|
88
|
+
- **`get_user`** - Retrieve user information by ID
|
|
89
|
+
- **`search_user`** - Find a user by phone number or email
|
|
90
|
+
- **`search_users`** - Search multiple users by various identifiers
|
|
91
|
+
|
|
92
|
+
### Conversations
|
|
93
|
+
|
|
94
|
+
- **`list_conversations`** - Get all conversations from the last 6 months
|
|
95
|
+
- **`get_conversation`** - Retrieve conversation details by ID
|
|
96
|
+
- **`get_conversation_users`** - Get all users in a conversation
|
|
97
|
+
|
|
98
|
+
### Folders
|
|
99
|
+
|
|
100
|
+
- **`get_workspace_folders_and_message_counts`** - Get folder and message statistics
|
|
101
|
+
- **`get_root_folders`** - List root folders for a workspace
|
|
102
|
+
- **`create_folder`** - Create new folders
|
|
103
|
+
- **`get_folder`** - Retrieve folder information
|
|
104
|
+
- **`get_folder_with_messages`** - Get folder with its messages
|
|
105
|
+
- **`update_folder_name`** - Rename folders
|
|
106
|
+
- **`delete_folder`** - Delete folders (⚠️ destructive operation)
|
|
107
|
+
- **`move_folder`** - Move folders between locations
|
|
108
|
+
- **`move_message_to_folder`** - Organize messages into folders
|
|
109
|
+
|
|
110
|
+
### Workspace
|
|
111
|
+
|
|
112
|
+
- **`get_workspaces_basic_info`** - Get basic workspace information
|
|
113
|
+
|
|
114
|
+
### AI Actions
|
|
115
|
+
|
|
116
|
+
- **`list_ai_actions`** - List available AI prompts/actions
|
|
117
|
+
- **`run_ai_action`** - Execute AI actions on messages
|
|
118
|
+
- **`run_ai_action_for_shared_link`** - Run AI actions on shared content
|
|
119
|
+
- **`get_ai_action_responses`** - Retrieve AI-generated responses
|
|
120
|
+
|
|
121
|
+
## Usage Examples
|
|
122
|
+
|
|
123
|
+
### Getting Started
|
|
124
|
+
|
|
125
|
+
After configuration, you can interact with Carbon Voice through your AI assistant. Here are some example requests:
|
|
126
|
+
|
|
127
|
+
```
|
|
128
|
+
"Show me my recent messages"
|
|
129
|
+
"Create a voice memo about today's meeting"
|
|
130
|
+
"Search for user john@example.com"
|
|
131
|
+
"Show me my workspace information"
|
|
132
|
+
"List my conversations from this week"
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Working with Folders
|
|
136
|
+
|
|
137
|
+
```
|
|
138
|
+
"Create a folder called 'Project Updates'"
|
|
139
|
+
"Move message ID 12345 to the Project Updates folder"
|
|
140
|
+
"Show me all messages in the Marketing folder"
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
### AI Actions
|
|
144
|
+
|
|
145
|
+
```
|
|
146
|
+
"Run a summary AI action on message ID 67890"
|
|
147
|
+
"List all available AI prompts"
|
|
148
|
+
"Get AI responses for conversation ID 123"
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
## Error Handling
|
|
152
|
+
|
|
153
|
+
The server includes comprehensive error handling and logging. Errors are returned in a structured format that includes:
|
|
154
|
+
|
|
155
|
+
- Error messages
|
|
156
|
+
- HTTP status codes
|
|
157
|
+
- Request context
|
|
158
|
+
- Debugging information
|
|
159
|
+
|
|
160
|
+
## Development
|
|
161
|
+
|
|
162
|
+
### Building from Source
|
|
163
|
+
|
|
164
|
+
```bash
|
|
165
|
+
npm run build
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### Running in Development Mode
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
npm run auto:build # Watch mode with auto-rebuild
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
### Linting
|
|
175
|
+
|
|
176
|
+
```bash
|
|
177
|
+
npm run lint:fix
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
### Testing with MCP Inspector
|
|
181
|
+
|
|
182
|
+
```bash
|
|
183
|
+
npm run mcp:inspector
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
## Support
|
|
187
|
+
|
|
188
|
+
- **Issues**: [GitHub Issues](https://github.com/PhononX/cv-mcp-server/issues)
|
|
189
|
+
- **API Key Requests**: devsupport@phononx.com
|
|
190
|
+
- **Website**: [https://getcarbon.app](https://getcarbon.app)
|
|
191
|
+
|
|
192
|
+
## License
|
|
193
|
+
|
|
194
|
+
ISC License - See LICENSE file for details.
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
**Note**: This MCP server requires a valid Carbon Voice API key to function. Please ensure you have obtained your API key from the Carbon Voice team before attempting to use the server.
|