architectgbt-mcp 0.2.2 → 0.2.4
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 +157 -117
- 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,205 +1,245 @@
|
|
|
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
|
+
|
|
7
|
+
[](https://www.npmjs.com/package/architectgbt-mcp)
|
|
8
|
+
[](https://opensource.org/licenses/MIT)
|
|
6
9
|
|
|
7
10
|
## Features
|
|
8
11
|
|
|
9
|
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
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
|
+
|
|
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)
|
|
24
|
+
|
|
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
|
|
12
30
|
|
|
13
31
|
## Installation
|
|
14
32
|
|
|
15
|
-
###
|
|
16
|
-
|
|
17
|
-
Add to your `~/.cursor/mcp.json` (or `C:\Users\YourName\.cursor\mcp.json` on Windows):
|
|
33
|
+
### Cursor IDE
|
|
18
34
|
|
|
35
|
+
1. Create `.cursor/mcp.json` in your project:
|
|
19
36
|
```json
|
|
20
37
|
{
|
|
21
38
|
"mcpServers": {
|
|
22
39
|
"architectgbt": {
|
|
23
40
|
"command": "npx",
|
|
24
|
-
"args": ["-y", "architectgbt-mcp"]
|
|
41
|
+
"args": ["-y", "architectgbt-mcp@latest"]
|
|
25
42
|
}
|
|
26
43
|
}
|
|
27
44
|
}
|
|
28
45
|
```
|
|
29
46
|
|
|
30
|
-
|
|
47
|
+
2. Restart Cursor
|
|
48
|
+
|
|
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"
|
|
53
|
+
|
|
54
|
+
### Claude Desktop
|
|
31
55
|
|
|
32
|
-
|
|
56
|
+
**macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
33
57
|
|
|
34
|
-
|
|
58
|
+
**Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
|
|
35
59
|
|
|
36
60
|
```json
|
|
37
61
|
{
|
|
38
62
|
"mcpServers": {
|
|
39
63
|
"architectgbt": {
|
|
40
64
|
"command": "npx",
|
|
41
|
-
"args": ["architectgbt-mcp"]
|
|
65
|
+
"args": ["-y", "architectgbt-mcp@latest"]
|
|
42
66
|
}
|
|
43
67
|
}
|
|
44
68
|
}
|
|
45
69
|
```
|
|
46
70
|
|
|
47
|
-
###
|
|
71
|
+
### VS Code (with Continue or other MCP extensions)
|
|
48
72
|
|
|
49
|
-
|
|
73
|
+
Install an MCP-compatible extension, then add to settings:
|
|
50
74
|
|
|
51
75
|
```json
|
|
52
76
|
{
|
|
53
|
-
"
|
|
77
|
+
"mcp.servers": {
|
|
54
78
|
"architectgbt": {
|
|
55
79
|
"command": "npx",
|
|
56
|
-
"args": ["architectgbt-mcp"]
|
|
80
|
+
"args": ["-y", "architectgbt-mcp@latest"]
|
|
57
81
|
}
|
|
58
82
|
}
|
|
59
83
|
}
|
|
60
84
|
```
|
|
61
85
|
|
|
62
|
-
|
|
86
|
+
### Zed Editor
|
|
63
87
|
|
|
64
|
-
|
|
88
|
+
Add to `~/.config/zed/settings.json`:
|
|
89
|
+
|
|
90
|
+
```json
|
|
91
|
+
{
|
|
92
|
+
"context_servers": {
|
|
93
|
+
"architectgbt": {
|
|
94
|
+
"command": "npx",
|
|
95
|
+
"args": ["-y", "architectgbt-mcp@latest"]
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
```
|
|
65
100
|
|
|
66
|
-
|
|
101
|
+
### Any MCP-Compatible Client
|
|
67
102
|
|
|
68
|
-
|
|
69
|
-
- "List all Anthropic models"
|
|
70
|
-
- "Show me all models"
|
|
71
|
-
- "What OpenAI models are available?"
|
|
103
|
+
This server follows the [Model Context Protocol](https://modelcontextprotocol.io) standard and works with any MCP-compatible client. Run it via stdio:
|
|
72
104
|
|
|
73
|
-
|
|
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.*
|
|
105
|
+
```bash
|
|
106
|
+
npx architectgbt-mcp@latest
|
|
87
107
|
```
|
|
88
108
|
|
|
89
|
-
###
|
|
109
|
+
### With API Key (Unlimited Access)
|
|
90
110
|
|
|
91
|
-
|
|
111
|
+
Add your API key to any config above:
|
|
92
112
|
|
|
93
|
-
|
|
94
|
-
|
|
113
|
+
```json
|
|
114
|
+
{
|
|
115
|
+
"mcpServers": {
|
|
116
|
+
"architectgbt": {
|
|
117
|
+
"command": "npx",
|
|
118
|
+
"args": ["-y", "architectgbt-mcp@latest"],
|
|
119
|
+
"env": {
|
|
120
|
+
"ARCHITECTGBT_API_KEY": "agbt_your_key_here"
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
```
|
|
95
126
|
|
|
96
|
-
|
|
97
|
-
- "Give me a TypeScript template for Claude"
|
|
98
|
-
- "Python code for OpenAI GPT-4"
|
|
99
|
-
- "Gemini integration in TypeScript"
|
|
127
|
+
## Pricing
|
|
100
128
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
129
|
+
| Tier | Recommendations | Cost | API Key |
|
|
130
|
+
|------|----------------|------|---------|
|
|
131
|
+
| **Free** | 3/day | $0 | Not needed |
|
|
132
|
+
| **Pro** | Unlimited | $15/month | Required |
|
|
105
133
|
|
|
106
|
-
|
|
107
|
-
ANTHROPIC_API_KEY=your_api_key_here
|
|
134
|
+
[Get your API key →](https://architectgbt.com/dashboard/settings)
|
|
108
135
|
|
|
109
|
-
|
|
110
|
-
import Anthropic from '@anthropic-ai/sdk';
|
|
136
|
+
## Tools
|
|
111
137
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
});
|
|
138
|
+
### `list_models`
|
|
139
|
+
Lists all 50+ available AI models with pricing.
|
|
115
140
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
max_tokens: 1024,
|
|
119
|
-
messages: [
|
|
120
|
-
{ role: 'user', content: 'Hello, Claude!' }
|
|
121
|
-
],
|
|
122
|
-
});
|
|
141
|
+
```
|
|
142
|
+
User: "Show me all AI models"
|
|
123
143
|
|
|
124
|
-
|
|
144
|
+
Response:
|
|
145
|
+
Available AI Models (50 total)
|
|
146
|
+
======================================================================
|
|
125
147
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
148
|
+
Anthropic:
|
|
149
|
+
• Claude Haiku 4.5 $ 0.80 / $ 4.00 (in/out per 1M tokens)
|
|
150
|
+
• Claude Sonnet 4.5 $ 3.00 / $ 15.00 (in/out per 1M tokens)
|
|
151
|
+
...
|
|
130
152
|
```
|
|
131
153
|
|
|
154
|
+
**Parameters:**
|
|
155
|
+
- `provider` (optional): Filter by "OpenAI" | "Anthropic" | "Google" | "Meta" | "Mistral"
|
|
156
|
+
- `limit` (optional): Number of models (default: 50)
|
|
157
|
+
|
|
132
158
|
### `get_ai_recommendation`
|
|
159
|
+
Get personalized AI model recommendations.
|
|
160
|
+
|
|
161
|
+
```
|
|
162
|
+
User: "I need an AI for a chatbot handling 10k requests/day"
|
|
163
|
+
|
|
164
|
+
Response:
|
|
165
|
+
🎯 AI Model Recommendation — Analysis Complete!
|
|
133
166
|
|
|
134
|
-
|
|
167
|
+
✨ TOP MATCH (94% match)
|
|
135
168
|
|
|
136
|
-
|
|
169
|
+
Claude Haiku 4.5
|
|
170
|
+
Provider: Anthropic
|
|
171
|
+
Estimated Cost: $0.0240
|
|
172
|
+
Context Window: 200,000 tokens
|
|
137
173
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
- "Recommend a model for code generation on a budget"
|
|
141
|
-
- "Best model for document analysis with 100K context?"
|
|
174
|
+
💡 Why this model?
|
|
175
|
+
Perfect for customer support with fast responses, strong reasoning...
|
|
142
176
|
|
|
143
|
-
|
|
177
|
+
✅ Pros:
|
|
178
|
+
• Extremely fast (sub-second)
|
|
179
|
+
• Cost-effective at scale
|
|
180
|
+
...
|
|
144
181
|
```
|
|
145
|
-
❌ Authentication Required
|
|
146
182
|
|
|
147
|
-
|
|
183
|
+
**Parameters:**
|
|
184
|
+
- `prompt` (required): Your project description
|
|
185
|
+
- `budget` (optional): "low" | "medium" | "high" | "unlimited"
|
|
186
|
+
- `priority` (optional): "cost" | "speed" | "quality" | "balanced"
|
|
148
187
|
|
|
149
|
-
|
|
150
|
-
2. Sign up for a free account (free tier available!)
|
|
151
|
-
3. Use the website directly for personalized recommendations
|
|
188
|
+
- `language` (required): "typescript" | "python"
|
|
152
189
|
|
|
153
|
-
|
|
154
|
-
- Use `list_models` to browse available models
|
|
155
|
-
- Use `get_code_template` to get integration code for any model
|
|
190
|
+
## Environment Variables
|
|
156
191
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
192
|
+
- `ARCHITECTGBT_API_KEY` - Your API key for unlimited access (optional)
|
|
193
|
+
- `ARCHITECTGBT_API_URL` - Custom API URL (default: https://architectgbt.com)
|
|
194
|
+
|
|
195
|
+
## Troubleshooting
|
|
196
|
+
|
|
197
|
+
### "Daily Limit Reached"
|
|
198
|
+
You've used 3 free recommendations. Options:
|
|
199
|
+
1. Wait for daily reset (midnight UTC)
|
|
200
|
+
2. [Get API key](https://architectgbt.com/dashboard/settings) for unlimited access
|
|
201
|
+
|
|
202
|
+
### "API Key Invalid"
|
|
203
|
+
1. Check key starts with `agbt_`
|
|
204
|
+
2. Regenerate from [Settings](https://architectgbt.com/dashboard/settings)
|
|
205
|
+
3. Ensure it's in the `env` section of your config
|
|
206
|
+
|
|
207
|
+
### Models Not Showing
|
|
208
|
+
1. Check internet connection
|
|
209
|
+
2. Verify: https://architectgbt.com/api/models
|
|
210
|
+
3. Try: `npx architectgbt-mcp@latest` manually
|
|
211
|
+
|
|
212
|
+
### MCP Not Loading
|
|
213
|
+
1. Node.js >= 18.0.0 required
|
|
214
|
+
2. Check config JSON syntax
|
|
215
|
+
3. Restart Cursor after changes
|
|
160
216
|
|
|
161
217
|
## Development
|
|
162
218
|
|
|
163
219
|
```bash
|
|
164
|
-
|
|
220
|
+
git clone https://github.com/yourusername/architectgbt-mcp.git
|
|
221
|
+
cd architectgbt-mcp
|
|
165
222
|
npm install
|
|
166
|
-
|
|
167
|
-
# Run in development mode
|
|
168
|
-
npm run dev
|
|
169
|
-
|
|
170
|
-
# Build for production
|
|
171
223
|
npm run build
|
|
172
|
-
|
|
173
|
-
# Start production server
|
|
174
|
-
npm start
|
|
224
|
+
npm run dev
|
|
175
225
|
```
|
|
176
226
|
|
|
177
|
-
##
|
|
178
|
-
|
|
179
|
-
To test locally before publishing, update your MCP config to point to the built file:
|
|
227
|
+
## Links
|
|
180
228
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
"command": "node",
|
|
186
|
-
"args": ["C:/Users/pravi/workspacenew/architectgbt-mcp/dist/index.js"]
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
```
|
|
229
|
+
- **Website**: [architectgbt.com](https://architectgbt.com)
|
|
230
|
+
- **Docs**: [architectgbt.com/docs/mcp-integration](https://architectgbt.com/docs/mcp-integration)
|
|
231
|
+
- **API Keys**: [architectgbt.com/dashboard/settings](https://architectgbt.com/dashboard/settings)
|
|
232
|
+
- **NPM**: [npmjs.com/package/architectgbt-mcp](https://www.npmjs.com/package/architectgbt-mcp)
|
|
191
233
|
|
|
192
|
-
##
|
|
234
|
+
## Support
|
|
193
235
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
| `ARCHITECTGBT_API_URL` | API base URL | `https://architectgbt.com` |
|
|
236
|
+
- **Email**: hello@architectgbt.com
|
|
237
|
+
- **Issues**: [GitHub](https://github.com/yourusername/architectgbt-mcp/issues)
|
|
197
238
|
|
|
198
239
|
## License
|
|
199
240
|
|
|
200
|
-
MIT
|
|
241
|
+
MIT © ArchitectGBT
|
|
201
242
|
|
|
202
|
-
|
|
243
|
+
---
|
|
203
244
|
|
|
204
|
-
|
|
205
|
-
- [MCP Documentation](https://modelcontextprotocol.io)
|
|
245
|
+
**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) {
|