@rashidazarang/airtable-mcp 2.2.2 โ 3.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.
- package/README.md +160 -30
- package/airtable_simple_production.js +610 -66
- package/dist/airtable-mcp-server.js +660 -0
- package/dist/airtable-mcp-server.js.map +1 -0
- package/dist/test-suite.js +421 -0
- package/dist/test-suite.js.map +1 -0
- package/examples/typescript/advanced-ai-prompts.ts +447 -0
- package/examples/typescript/basic-usage.ts +174 -0
- package/examples/typescript/claude-desktop-config.json +29 -0
- package/package.json +32 -5
- package/tsconfig.json +38 -0
- package/types/ai-prompts.d.ts +321 -0
- package/types/airtable-mcp-server.d.ts +52 -0
- package/types/index.d.ts +357 -0
- package/types/test-suite.d.ts +33 -0
- package/types/tools.d.ts +514 -0
package/README.md
CHANGED
|
@@ -3,21 +3,35 @@
|
|
|
3
3
|
[](https://archestra.ai/mcp-catalog/rashidazarang__airtable-mcp)
|
|
4
4
|
[](https://smithery.ai/server/@rashidazarang/airtable-mcp)
|
|
5
5
|

|
|
6
|
-
[](https://github.com/rashidazarang/airtable-mcp)
|
|
7
|
+
[](https://www.typescriptlang.org/)
|
|
8
|
+
[](https://github.com/rashidazarang/airtable-mcp)
|
|
9
|
+
[](https://github.com/rashidazarang/airtable-mcp)
|
|
8
10
|
[](https://modelcontextprotocol.io/)
|
|
9
11
|
|
|
10
|
-
|
|
12
|
+
๐ค **Revolutionary AI Agent v3.1.0** - Advanced AI-powered Airtable MCP server with **TypeScript support**, comprehensive intelligence capabilities, predictive analytics, and enterprise automation features.
|
|
11
13
|
|
|
12
|
-
## ๐ Latest:
|
|
14
|
+
## ๐ Latest: TypeScript Support v3.1.0
|
|
13
15
|
|
|
14
|
-
**
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
16
|
+
**Enterprise-Grade Type Safety** with full backward compatibility:
|
|
17
|
+
- ๐ท **TypeScript Implementation** - Complete type-safe server with strict validation
|
|
18
|
+
- ๐ **Comprehensive Type Definitions** - All 33 tools and 10 AI prompts fully typed
|
|
19
|
+
- ๐ก๏ธ **Compile-Time Safety** - Catch errors before runtime with advanced type checking
|
|
20
|
+
- ๐ฏ **Developer Experience** - IntelliSense, auto-completion, and refactoring support
|
|
21
|
+
- ๐ **Dual Distribution** - Use with JavaScript or TypeScript, your choice
|
|
22
|
+
- ๐ **Type Documentation** - Self-documenting APIs through comprehensive type definitions
|
|
23
|
+
|
|
24
|
+
## ๐ค AI Intelligence Suite
|
|
25
|
+
|
|
26
|
+
**Complete AI-Powered Intelligence** with enterprise capabilities:
|
|
27
|
+
- ๐ค **10 AI Prompt Templates** - Advanced analytics, predictions, and automation
|
|
28
|
+
- ๐ฎ **Predictive Analytics** - Forecasting and trend analysis with confidence intervals
|
|
29
|
+
- ๐ฃ๏ธ **Natural Language Processing** - Query your data using human language
|
|
30
|
+
- ๐ **Business Intelligence** - Automated insights and recommendations
|
|
31
|
+
- ๐๏ธ **Smart Schema Design** - AI-optimized database architecture
|
|
32
|
+
- โก **Workflow Automation** - Intelligent process optimization
|
|
33
|
+
- ๐ **Data Quality Auditing** - Comprehensive quality assessment and fixes
|
|
34
|
+
- ๐ **Statistical Analysis** - Advanced analytics with significance testing
|
|
21
35
|
|
|
22
36
|
## โจ Features
|
|
23
37
|
|
|
@@ -63,13 +77,25 @@
|
|
|
63
77
|
|
|
64
78
|
Choose one of these installation methods:
|
|
65
79
|
|
|
66
|
-
####
|
|
80
|
+
#### ๐ท TypeScript Users (Recommended for Development)
|
|
67
81
|
|
|
68
82
|
```bash
|
|
83
|
+
# Install with TypeScript support
|
|
69
84
|
npm install -g @rashidazarang/airtable-mcp
|
|
85
|
+
|
|
86
|
+
# For development with types
|
|
87
|
+
npm install --save-dev typescript @types/node
|
|
70
88
|
```
|
|
71
89
|
|
|
72
|
-
####
|
|
90
|
+
#### ๐ฆ JavaScript Users (Production Ready)
|
|
91
|
+
|
|
92
|
+
**Option A: Install via NPM (Recommended)**
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
npm install -g @rashidazarang/airtable-mcp
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
**Option B: Clone from GitHub**
|
|
73
99
|
|
|
74
100
|
```bash
|
|
75
101
|
git clone https://github.com/rashidazarang/airtable-mcp.git
|
|
@@ -90,7 +116,35 @@ AIRTABLE_BASE_ID=your_base_id_here
|
|
|
90
116
|
|
|
91
117
|
### Step 4: Configure Your MCP Client
|
|
92
118
|
|
|
93
|
-
####
|
|
119
|
+
#### ๐ท TypeScript Configuration (Enhanced Developer Experience)
|
|
120
|
+
|
|
121
|
+
Add to your Claude Desktop configuration file with TypeScript binary:
|
|
122
|
+
|
|
123
|
+
**MacOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
124
|
+
**Windows**: `%APPDATA%\\Claude\\claude_desktop_config.json`
|
|
125
|
+
|
|
126
|
+
```json
|
|
127
|
+
{
|
|
128
|
+
"mcpServers": {
|
|
129
|
+
"airtable-typescript": {
|
|
130
|
+
"command": "npx",
|
|
131
|
+
"args": [
|
|
132
|
+
"@rashidazarang/airtable-mcp",
|
|
133
|
+
"--token",
|
|
134
|
+
"YOUR_AIRTABLE_TOKEN",
|
|
135
|
+
"--base",
|
|
136
|
+
"YOUR_BASE_ID"
|
|
137
|
+
],
|
|
138
|
+
"env": {
|
|
139
|
+
"NODE_ENV": "production",
|
|
140
|
+
"LOG_LEVEL": "INFO"
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
#### ๐ฆ JavaScript Configuration (Standard)
|
|
94
148
|
|
|
95
149
|
Add to your Claude Desktop configuration file:
|
|
96
150
|
|
|
@@ -139,7 +193,39 @@ After configuration, restart Claude Desktop or your MCP client to load the Airta
|
|
|
139
193
|
|
|
140
194
|
Once configured, you can interact with your Airtable data naturally:
|
|
141
195
|
|
|
142
|
-
###
|
|
196
|
+
### ๐ท TypeScript Development
|
|
197
|
+
|
|
198
|
+
```typescript
|
|
199
|
+
import {
|
|
200
|
+
AirtableMCPServer,
|
|
201
|
+
ListRecordsInput,
|
|
202
|
+
AnalyzeDataPrompt
|
|
203
|
+
} from '@rashidazarang/airtable-mcp/types';
|
|
204
|
+
|
|
205
|
+
const server = new AirtableMCPServer();
|
|
206
|
+
|
|
207
|
+
// Type-safe data operations
|
|
208
|
+
const params: ListRecordsInput = {
|
|
209
|
+
table: 'Tasks',
|
|
210
|
+
maxRecords: 10,
|
|
211
|
+
filterByFormula: "Status = 'Active'"
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
const records = await server.handleToolCall('list_records', params);
|
|
215
|
+
|
|
216
|
+
// Type-safe AI analytics
|
|
217
|
+
const analysis: AnalyzeDataPrompt = {
|
|
218
|
+
table: 'Sales',
|
|
219
|
+
analysis_type: 'predictive',
|
|
220
|
+
confidence_level: 0.95
|
|
221
|
+
};
|
|
222
|
+
|
|
223
|
+
const insights = await server.handlePromptGet('analyze_data', analysis);
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
### ๐ฆ Natural Language Interactions
|
|
227
|
+
|
|
228
|
+
**Basic Operations**
|
|
143
229
|
```
|
|
144
230
|
"Show me all records in the Projects table"
|
|
145
231
|
"Create a new task with priority 'High' and due date tomorrow"
|
|
@@ -149,7 +235,7 @@ Once configured, you can interact with your Airtable data naturally:
|
|
|
149
235
|
"Search for records where Status equals 'Active'"
|
|
150
236
|
```
|
|
151
237
|
|
|
152
|
-
|
|
238
|
+
**Webhook Operations (v1.4.0+)**
|
|
153
239
|
```
|
|
154
240
|
"Create a webhook for my table that notifies https://my-app.com/webhook"
|
|
155
241
|
"List all active webhooks in my base"
|
|
@@ -157,7 +243,7 @@ Once configured, you can interact with your Airtable data naturally:
|
|
|
157
243
|
"Delete webhook ach123xyz"
|
|
158
244
|
```
|
|
159
245
|
|
|
160
|
-
|
|
246
|
+
**Schema Management (v1.5.0+)**
|
|
161
247
|
```
|
|
162
248
|
"List all my accessible Airtable bases"
|
|
163
249
|
"Show me the complete schema for this base"
|
|
@@ -167,7 +253,7 @@ Once configured, you can interact with your Airtable data naturally:
|
|
|
167
253
|
"What field types are available in Airtable?"
|
|
168
254
|
```
|
|
169
255
|
|
|
170
|
-
|
|
256
|
+
**Batch Operations & Attachments (v1.6.0+)**
|
|
171
257
|
```
|
|
172
258
|
"Create 5 new records at once in the Tasks table"
|
|
173
259
|
"Update multiple records with new status values"
|
|
@@ -248,13 +334,19 @@ Once configured, you can interact with your Airtable data naturally:
|
|
|
248
334
|
| `list_collaborators` | View base collaborators and their permission levels |
|
|
249
335
|
| `list_shares` | List shared views and their public configurations |
|
|
250
336
|
|
|
251
|
-
### ๐ค AI
|
|
252
|
-
| Prompt | Description |
|
|
253
|
-
|
|
254
|
-
| `analyze_data` |
|
|
255
|
-
| `create_report` |
|
|
256
|
-
| `data_insights` |
|
|
257
|
-
| `optimize_workflow` |
|
|
337
|
+
### ๐ค AI Intelligence Suite (10 prompts) - **Revolutionary v3.0.0**
|
|
338
|
+
| Prompt | Description | Enterprise Features |
|
|
339
|
+
|--------|-------------|-------------------|
|
|
340
|
+
| `analyze_data` | Advanced statistical analysis with ML insights | Confidence intervals, anomaly detection |
|
|
341
|
+
| `create_report` | Intelligent report generation with recommendations | Multi-stakeholder customization, ROI analysis |
|
|
342
|
+
| `data_insights` | Business intelligence and pattern discovery | Cross-table correlations, predictive indicators |
|
|
343
|
+
| `optimize_workflow` | AI-powered automation recommendations | Change management, implementation roadmaps |
|
|
344
|
+
| `smart_schema_design` | Database optimization with best practices | Compliance-aware (GDPR, HIPAA), scalability planning |
|
|
345
|
+
| `data_quality_audit` | Comprehensive quality assessment and fixes | Automated remediation, governance frameworks |
|
|
346
|
+
| `predictive_analytics` | Forecasting and trend prediction | Multiple algorithms, uncertainty quantification |
|
|
347
|
+
| `natural_language_query` | Process human questions intelligently | Context awareness, confidence scoring |
|
|
348
|
+
| `smart_data_transformation` | AI-assisted data processing | Quality rules, audit trails, optimization |
|
|
349
|
+
| `automation_recommendations` | Workflow optimization suggestions | Technical feasibility, cost-benefit analysis |
|
|
258
350
|
|
|
259
351
|
## ๐ง Advanced Configuration
|
|
260
352
|
|
|
@@ -304,7 +396,28 @@ If you cloned the repository:
|
|
|
304
396
|
|
|
305
397
|
## ๐งช Testing
|
|
306
398
|
|
|
307
|
-
|
|
399
|
+
### ๐ท TypeScript Testing
|
|
400
|
+
|
|
401
|
+
Run the comprehensive TypeScript test suite:
|
|
402
|
+
|
|
403
|
+
```bash
|
|
404
|
+
# Install dependencies first
|
|
405
|
+
npm install
|
|
406
|
+
|
|
407
|
+
# Run TypeScript type checking
|
|
408
|
+
npm run test:types
|
|
409
|
+
|
|
410
|
+
# Run full TypeScript test suite
|
|
411
|
+
npm run test:ts
|
|
412
|
+
|
|
413
|
+
# Build and test TypeScript server
|
|
414
|
+
npm run build
|
|
415
|
+
npm run start:ts
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
### ๐ฆ JavaScript Testing
|
|
419
|
+
|
|
420
|
+
Run the comprehensive test suite to verify all 33 tools:
|
|
308
421
|
|
|
309
422
|
```bash
|
|
310
423
|
# Set environment variables first
|
|
@@ -318,7 +431,15 @@ node airtable_simple.js &
|
|
|
318
431
|
./test_v1.6.0_comprehensive.sh
|
|
319
432
|
```
|
|
320
433
|
|
|
321
|
-
The test suite validates:
|
|
434
|
+
The TypeScript test suite validates:
|
|
435
|
+
- **Type Safety**: Compile-time validation of all interfaces
|
|
436
|
+
- **Enterprise Testing**: 33 tools with strict type checking
|
|
437
|
+
- **AI Prompt Validation**: All 10 AI templates with proper typing
|
|
438
|
+
- **Error Handling**: Type-safe error management
|
|
439
|
+
- **Performance**: Concurrent operations with type safety
|
|
440
|
+
- **Integration**: Full MCP protocol compliance
|
|
441
|
+
|
|
442
|
+
The JavaScript test suite validates:
|
|
322
443
|
- All 33 tools with real API calls
|
|
323
444
|
- Complete CRUD operations
|
|
324
445
|
- Advanced schema management
|
|
@@ -355,7 +476,14 @@ lsof -ti:8010 | xargs kill -9
|
|
|
355
476
|
|
|
356
477
|
## ๐ Documentation
|
|
357
478
|
|
|
358
|
-
|
|
479
|
+
### ๐ท TypeScript Documentation
|
|
480
|
+
- ๐ [TypeScript Examples](./examples/typescript/) - Complete type-safe usage examples
|
|
481
|
+
- ๐๏ธ [Type Definitions](./types/) - Comprehensive type definitions for all features
|
|
482
|
+
- ๐งช [TypeScript Testing](./src/test-suite.ts) - Enterprise-grade testing framework
|
|
483
|
+
|
|
484
|
+
### ๐ฆ General Documentation
|
|
485
|
+
- ๐ [Release Notes v3.1.0](./RELEASE_NOTES_v3.1.0.md) - **Latest TypeScript release**
|
|
486
|
+
- [Release Notes v1.6.0](./RELEASE_NOTES_v1.6.0.md) - Major feature release
|
|
359
487
|
- [Release Notes v1.5.0](./RELEASE_NOTES_v1.5.0.md)
|
|
360
488
|
- [Release Notes v1.4.0](./RELEASE_NOTES_v1.4.0.md)
|
|
361
489
|
- [Detailed Setup Guide](./CLAUDE_INTEGRATION.md)
|
|
@@ -364,7 +492,9 @@ lsof -ti:8010 | xargs kill -9
|
|
|
364
492
|
|
|
365
493
|
## ๐ฆ Version History
|
|
366
494
|
|
|
367
|
-
- **
|
|
495
|
+
- **v3.1.0** (2025-08-16) - ๐ท **TypeScript Support**: Enterprise-grade type safety, comprehensive type definitions, dual JS/TS distribution
|
|
496
|
+
- **v3.0.0** (2025-08-16) - ๐ค **Revolutionary AI Agent**: 10 intelligent prompts, predictive analytics, natural language processing
|
|
497
|
+
- **v2.2.3** (2025-08-16) - ๐ **Security release**: Final XSS vulnerability fixes and enhanced validation
|
|
368
498
|
- **v2.2.0** (2025-08-16) - ๐ **Major release**: Complete MCP 2024-11-05 protocol implementation
|
|
369
499
|
- **v1.6.0** (2025-08-15) - ๐ **Major release**: Added batch operations & attachment management (33 total tools)
|
|
370
500
|
- **v1.5.0** (2025-08-15) - Added comprehensive schema management (23 total tools)
|
|
@@ -394,4 +524,4 @@ MIT License - see [LICENSE](./LICENSE) file for details
|
|
|
394
524
|
|
|
395
525
|
---
|
|
396
526
|
|
|
397
|
-
**Version**:
|
|
527
|
+
**Version**: 3.1.0 | **Status**: ๐ท TypeScript + ๐ค AI Agent | **MCP Protocol**: 2024-11-05 Complete | **Type Safety**: Enterprise-Grade | **Intelligence**: 10 AI Prompts | **Last Updated**: August 16, 2025
|