architectgbt-mcp 0.2.2 → 0.2.3
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 +150 -135
- package/dist/tools/list-models.js +2 -2
- package/package.json +1 -1
- package/src/tools/list-models.ts +2 -2
package/README.md
CHANGED
|
@@ -1,189 +1,162 @@
|
|
|
1
1
|
# ArchitectGBT MCP Server
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**Model Context Protocol (MCP) server for AI model recommendations and code templates.**
|
|
4
4
|
|
|
5
|
-
Get instant AI model recommendations
|
|
5
|
+
Get instant AI model recommendations for your projects directly in Cursor IDE or Claude Desktop. Compare **50+ models** from OpenAI, Anthropic, Google, Meta, and Mistral with pricing, capabilities, and production-ready code templates.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
- 🎯 **Smart Recommendations** - Get the best AI model for your use case
|
|
10
|
-
- 📝 **Code Templates** - Production-ready integration code
|
|
11
|
-
- 📊 **Model Database** - Compare 50+ AI models with pricing
|
|
12
|
-
|
|
13
|
-
## Installation
|
|
7
|
+
[](https://www.npmjs.com/package/architectgbt-mcp)
|
|
8
|
+
[](https://opensource.org/licenses/MIT)
|
|
14
9
|
|
|
15
|
-
|
|
10
|
+
## Features
|
|
16
11
|
|
|
17
|
-
|
|
12
|
+
### 🎯 AI Model Recommendations
|
|
13
|
+
- **Personalized suggestions** based on your project description
|
|
14
|
+
- **Budget optimization** (low/medium/high/unlimited)
|
|
15
|
+
- **Priority matching** (cost/speed/quality/balanced)
|
|
16
|
+
- **Smart analysis** with reasoning, pros/cons, and alternatives
|
|
17
|
+
- **Cost estimates** with realistic token usage calculations
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"args": ["-y", "architectgbt-mcp"]
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
```
|
|
19
|
+
### 📊 Model Database
|
|
20
|
+
- **50+ AI models** across all major providers
|
|
21
|
+
- **Real-time pricing** per 1M tokens (input/output)
|
|
22
|
+
- **Detailed specs** (context windows, capabilities, speed rankings)
|
|
23
|
+
- **Provider filtering** (OpenAI, Anthropic, Google, Meta, Mistral)
|
|
29
24
|
|
|
30
|
-
|
|
25
|
+
### 💻 Code Templates
|
|
26
|
+
- **Production-ready integrations** for Anthropic, OpenAI, and Google
|
|
27
|
+
- **TypeScript and Python** support
|
|
28
|
+
- **Complete examples** with installation, env setup, and usage
|
|
29
|
+
- **Best practices** including error handling and streaming
|
|
31
30
|
|
|
32
|
-
|
|
31
|
+
## Quick Start
|
|
33
32
|
|
|
34
|
-
|
|
33
|
+
### For Cursor IDE
|
|
35
34
|
|
|
35
|
+
1. Create `.cursor/mcp.json` in your project:
|
|
36
36
|
```json
|
|
37
37
|
{
|
|
38
38
|
"mcpServers": {
|
|
39
39
|
"architectgbt": {
|
|
40
40
|
"command": "npx",
|
|
41
|
-
"args": ["architectgbt-mcp"]
|
|
41
|
+
"args": ["-y", "architectgbt-mcp@latest"]
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
2. Restart Cursor
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
3. Ask Claude:
|
|
50
|
+
- "Recommend an AI model for a customer support chatbot"
|
|
51
|
+
- "Show me all available AI models"
|
|
52
|
+
- "Give me Claude Sonnet code in TypeScript"
|
|
50
53
|
|
|
51
|
-
|
|
52
|
-
{
|
|
53
|
-
"mcpServers": {
|
|
54
|
-
"architectgbt": {
|
|
55
|
-
"command": "npx",
|
|
56
|
-
"args": ["architectgbt-mcp"]
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
```
|
|
54
|
+
## Pricing
|
|
61
55
|
|
|
62
|
-
|
|
56
|
+
| Tier | Recommendations | Cost | API Key |
|
|
57
|
+
|------|----------------|------|---------|
|
|
58
|
+
| **Free** | 3/day | $0 | Not needed |
|
|
59
|
+
| **Pro** | Unlimited | $15/month | Required |
|
|
63
60
|
|
|
64
|
-
|
|
61
|
+
[Get your API key →](https://architectgbt.com/dashboard/settings)
|
|
65
62
|
|
|
66
|
-
|
|
63
|
+
## Tools
|
|
67
64
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
- "Show me all models"
|
|
71
|
-
- "What OpenAI models are available?"
|
|
65
|
+
### `list_models`
|
|
66
|
+
Lists all 50+ available AI models with pricing.
|
|
72
67
|
|
|
73
|
-
**Example output:**
|
|
74
|
-
```
|
|
75
|
-
## 📊 Available AI Models
|
|
76
|
-
|
|
77
|
-
| Model | Provider | Input $/1M | Output $/1M |
|
|
78
|
-
|-------|----------|------------|-------------|
|
|
79
|
-
| Claude Haiku 4.5 | Anthropic | $0.80 | $4.00 |
|
|
80
|
-
| Claude Opus 4.5 | Anthropic | $15.00 | $75.00 |
|
|
81
|
-
| Claude Sonnet 4.5 | Anthropic | $3.00 | $15.00 |
|
|
82
|
-
| GPT-4o | OpenAI | $2.50 | $10.00 |
|
|
83
|
-
| GPT-4o mini | OpenAI | $0.15 | $0.60 |
|
|
84
|
-
...
|
|
85
|
-
|
|
86
|
-
*Showing 10 models. Use `get_ai_recommendation` for personalized suggestions.*
|
|
87
68
|
```
|
|
69
|
+
User: "Show me all AI models"
|
|
88
70
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
71
|
+
Response:
|
|
72
|
+
Available AI Models (50 total)
|
|
73
|
+
======================================================================
|
|
92
74
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
- "Python code for OpenAI GPT-4"
|
|
99
|
-
- "Gemini integration in TypeScript"
|
|
100
|
-
|
|
101
|
-
**Example output:**
|
|
102
|
-
```typescript
|
|
103
|
-
// ✅ Installation
|
|
104
|
-
npm install @anthropic-ai/sdk
|
|
105
|
-
|
|
106
|
-
// 🔑 Environment Variables
|
|
107
|
-
ANTHROPIC_API_KEY=your_api_key_here
|
|
108
|
-
|
|
109
|
-
// 📦 Code
|
|
110
|
-
import Anthropic from '@anthropic-ai/sdk';
|
|
111
|
-
|
|
112
|
-
const client = new Anthropic({
|
|
113
|
-
apiKey: process.env.ANTHROPIC_API_KEY,
|
|
114
|
-
});
|
|
75
|
+
Anthropic:
|
|
76
|
+
• Claude Haiku 4.5 $ 0.80 / $ 4.00 (in/out per 1M tokens)
|
|
77
|
+
• Claude Sonnet 4.5 $ 3.00 / $ 15.00 (in/out per 1M tokens)
|
|
78
|
+
...
|
|
79
|
+
```
|
|
115
80
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
messages: [
|
|
120
|
-
{ role: 'user', content: 'Hello, Claude!' }
|
|
121
|
-
],
|
|
122
|
-
});
|
|
81
|
+
**Parameters:**
|
|
82
|
+
- `provider` (optional): Filter by "OpenAI" | "Anthropic" | "Google" | "Meta" | "Mistral"
|
|
83
|
+
- `limit` (optional): Number of models (default: 50)
|
|
123
84
|
|
|
124
|
-
|
|
85
|
+
### `get_ai_recommendation`
|
|
86
|
+
Get personalized AI model recommendations.
|
|
125
87
|
|
|
126
|
-
// 💡 Usage Tips
|
|
127
|
-
// - Use streaming for real-time responses
|
|
128
|
-
// - Add system prompts for better control
|
|
129
|
-
// - Handle rate limits with retries
|
|
130
88
|
```
|
|
89
|
+
User: "I need an AI for a chatbot handling 10k requests/day"
|
|
131
90
|
|
|
132
|
-
|
|
91
|
+
Response:
|
|
92
|
+
🎯 AI Model Recommendation — Analysis Complete!
|
|
133
93
|
|
|
134
|
-
|
|
94
|
+
✨ TOP MATCH (94% match)
|
|
135
95
|
|
|
136
|
-
|
|
96
|
+
Claude Haiku 4.5
|
|
97
|
+
Provider: Anthropic
|
|
98
|
+
Estimated Cost: $0.0240
|
|
99
|
+
Context Window: 200,000 tokens
|
|
137
100
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
- "Recommend a model for code generation on a budget"
|
|
141
|
-
- "Best model for document analysis with 100K context?"
|
|
101
|
+
💡 Why this model?
|
|
102
|
+
Perfect for customer support with fast responses, strong reasoning...
|
|
142
103
|
|
|
143
|
-
|
|
104
|
+
✅ Pros:
|
|
105
|
+
• Extremely fast (sub-second)
|
|
106
|
+
• Cost-effective at scale
|
|
107
|
+
...
|
|
144
108
|
```
|
|
145
|
-
❌ Authentication Required
|
|
146
109
|
|
|
147
|
-
|
|
110
|
+
**Parameters:**
|
|
111
|
+
- `prompt` (required): Your project description
|
|
112
|
+
- `budget` (optional): "low" | "medium" | "high" | "unlimited"
|
|
113
|
+
- `priority` (optional): "cost" | "speed" | "quality" | "balanced"
|
|
148
114
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
3. Use the website directly for personalized recommendations
|
|
115
|
+
### `get_code_template`
|
|
116
|
+
Get production-ready code templates.
|
|
152
117
|
|
|
153
|
-
|
|
154
|
-
-
|
|
155
|
-
-
|
|
118
|
+
**Parameters:**
|
|
119
|
+
- `provider` (required): "anthropic" | "openai" | "google"
|
|
120
|
+
- `language` (required): "typescript" | "python"
|
|
156
121
|
|
|
157
|
-
|
|
158
|
-
I recommend visiting the website for a personalized analysis with cost estimates and reasoning.
|
|
159
|
-
```
|
|
122
|
+
## Installation Options
|
|
160
123
|
|
|
161
|
-
|
|
124
|
+
### Option 1: Cursor IDE (Recommended)
|
|
162
125
|
|
|
163
|
-
|
|
164
|
-
# Install dependencies
|
|
165
|
-
npm install
|
|
126
|
+
See Quick Start above.
|
|
166
127
|
|
|
167
|
-
|
|
168
|
-
npm run dev
|
|
128
|
+
### Option 2: Claude Desktop
|
|
169
129
|
|
|
170
|
-
|
|
171
|
-
|
|
130
|
+
**macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
131
|
+
**Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
|
|
172
132
|
|
|
173
|
-
|
|
174
|
-
|
|
133
|
+
```json
|
|
134
|
+
{
|
|
135
|
+
"mcpServers": {
|
|
136
|
+
"architectgbt": {
|
|
137
|
+
"command": "npx",
|
|
138
|
+
"args": ["-y", "architectgbt-mcp@latest"],
|
|
139
|
+
"env": {
|
|
140
|
+
"ARCHITECTGBT_API_KEY": "your_key_here"
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
175
145
|
```
|
|
176
146
|
|
|
177
|
-
|
|
147
|
+
### Option 3: Unlimited Access (API Key)
|
|
178
148
|
|
|
179
|
-
|
|
149
|
+
Add your API key to `.cursor/mcp.json`:
|
|
180
150
|
|
|
181
151
|
```json
|
|
182
152
|
{
|
|
183
153
|
"mcpServers": {
|
|
184
154
|
"architectgbt": {
|
|
185
|
-
"command": "
|
|
186
|
-
"args": ["
|
|
155
|
+
"command": "npx",
|
|
156
|
+
"args": ["-y", "architectgbt-mcp@latest"],
|
|
157
|
+
"env": {
|
|
158
|
+
"ARCHITECTGBT_API_KEY": "agbt_your_key_here"
|
|
159
|
+
}
|
|
187
160
|
}
|
|
188
161
|
}
|
|
189
162
|
}
|
|
@@ -191,15 +164,57 @@ To test locally before publishing, update your MCP config to point to the built
|
|
|
191
164
|
|
|
192
165
|
## Environment Variables
|
|
193
166
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
| `ARCHITECTGBT_API_URL` | API base URL | `https://architectgbt.com` |
|
|
167
|
+
- `ARCHITECTGBT_API_KEY` - Your API key for unlimited access (optional)
|
|
168
|
+
- `ARCHITECTGBT_API_URL` - Custom API URL (default: https://architectgbt.com)
|
|
197
169
|
|
|
198
|
-
##
|
|
170
|
+
## Troubleshooting
|
|
171
|
+
|
|
172
|
+
### "Daily Limit Reached"
|
|
173
|
+
You've used 3 free recommendations. Options:
|
|
174
|
+
1. Wait for daily reset (midnight UTC)
|
|
175
|
+
2. [Get API key](https://architectgbt.com/dashboard/settings) for unlimited access
|
|
199
176
|
|
|
200
|
-
|
|
177
|
+
### "API Key Invalid"
|
|
178
|
+
1. Check key starts with `agbt_`
|
|
179
|
+
2. Regenerate from [Settings](https://architectgbt.com/dashboard/settings)
|
|
180
|
+
3. Ensure it's in the `env` section of your config
|
|
181
|
+
|
|
182
|
+
### Models Not Showing
|
|
183
|
+
1. Check internet connection
|
|
184
|
+
2. Verify: https://architectgbt.com/api/models
|
|
185
|
+
3. Try: `npx architectgbt-mcp@latest` manually
|
|
186
|
+
|
|
187
|
+
### MCP Not Loading
|
|
188
|
+
1. Node.js >= 18.0.0 required
|
|
189
|
+
2. Check config JSON syntax
|
|
190
|
+
3. Restart Cursor after changes
|
|
191
|
+
|
|
192
|
+
## Development
|
|
193
|
+
|
|
194
|
+
```bash
|
|
195
|
+
git clone https://github.com/yourusername/architectgbt-mcp.git
|
|
196
|
+
cd architectgbt-mcp
|
|
197
|
+
npm install
|
|
198
|
+
npm run build
|
|
199
|
+
npm run dev
|
|
200
|
+
```
|
|
201
201
|
|
|
202
202
|
## Links
|
|
203
203
|
|
|
204
|
-
- [
|
|
205
|
-
- [
|
|
204
|
+
- **Website**: [architectgbt.com](https://architectgbt.com)
|
|
205
|
+
- **Docs**: [architectgbt.com/docs/mcp-integration](https://architectgbt.com/docs/mcp-integration)
|
|
206
|
+
- **API Keys**: [architectgbt.com/dashboard/settings](https://architectgbt.com/dashboard/settings)
|
|
207
|
+
- **NPM**: [npmjs.com/package/architectgbt-mcp](https://www.npmjs.com/package/architectgbt-mcp)
|
|
208
|
+
|
|
209
|
+
## Support
|
|
210
|
+
|
|
211
|
+
- **Email**: hello@architectgbt.com
|
|
212
|
+
- **Issues**: [GitHub](https://github.com/yourusername/architectgbt-mcp/issues)
|
|
213
|
+
|
|
214
|
+
## License
|
|
215
|
+
|
|
216
|
+
MIT © ArchitectGBT
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
|
|
220
|
+
**Built with ❤️ for developers who ship fast**
|
|
@@ -13,7 +13,7 @@ export const listModelsTool = {
|
|
|
13
13
|
},
|
|
14
14
|
limit: {
|
|
15
15
|
type: "number",
|
|
16
|
-
description: "Maximum number of models to return (default:
|
|
16
|
+
description: "Maximum number of models to return (default: 50)",
|
|
17
17
|
},
|
|
18
18
|
},
|
|
19
19
|
required: [],
|
|
@@ -23,7 +23,7 @@ const InputSchema = z.object({
|
|
|
23
23
|
provider: z
|
|
24
24
|
.enum(["OpenAI", "Anthropic", "Google", "Meta", "Mistral", "all"])
|
|
25
25
|
.optional(),
|
|
26
|
-
limit: z.number().default(
|
|
26
|
+
limit: z.number().default(50),
|
|
27
27
|
});
|
|
28
28
|
export async function handleListModels(args) {
|
|
29
29
|
const input = InputSchema.parse(args);
|
package/package.json
CHANGED
package/src/tools/list-models.ts
CHANGED
|
@@ -16,7 +16,7 @@ export const listModelsTool = {
|
|
|
16
16
|
},
|
|
17
17
|
limit: {
|
|
18
18
|
type: "number",
|
|
19
|
-
description: "Maximum number of models to return (default:
|
|
19
|
+
description: "Maximum number of models to return (default: 50)",
|
|
20
20
|
},
|
|
21
21
|
},
|
|
22
22
|
required: [],
|
|
@@ -27,7 +27,7 @@ const InputSchema = z.object({
|
|
|
27
27
|
provider: z
|
|
28
28
|
.enum(["OpenAI", "Anthropic", "Google", "Meta", "Mistral", "all"])
|
|
29
29
|
.optional(),
|
|
30
|
-
limit: z.number().default(
|
|
30
|
+
limit: z.number().default(50),
|
|
31
31
|
});
|
|
32
32
|
|
|
33
33
|
export async function handleListModels(args: unknown) {
|