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 CHANGED
@@ -1,205 +1,245 @@
1
1
  # ArchitectGBT MCP Server
2
2
 
3
- AI model recommendation engine for Cursor, Claude Desktop, and Windsurf.
3
+ **Model Context Protocol (MCP) server for AI model recommendations and code templates.**
4
4
 
5
- Get instant AI model recommendations without leaving your IDE.
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
+ [![npm version](https://img.shields.io/npm/v/architectgbt-mcp.svg)](https://www.npmjs.com/package/architectgbt-mcp)
8
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
9
 
7
10
  ## Features
8
11
 
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
+ ### 🎯 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
- ### For Cursor
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
- **Important:** Restart Cursor completely after adding the configuration.
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
- ### For Claude Desktop
56
+ **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
33
57
 
34
- Add to your Claude Desktop config (`%APPDATA%\Claude\claude_desktop_config.json` on Windows):
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
- ### For Windsurf
71
+ ### VS Code (with Continue or other MCP extensions)
48
72
 
49
- Add to your MCP configuration:
73
+ Install an MCP-compatible extension, then add to settings:
50
74
 
51
75
  ```json
52
76
  {
53
- "mcpServers": {
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
- ## Available Tools
86
+ ### Zed Editor
63
87
 
64
- ### `list_models`
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
- List available AI models with pricing information.
101
+ ### Any MCP-Compatible Client
67
102
 
68
- **Example prompts:**
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
- **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.*
105
+ ```bash
106
+ npx architectgbt-mcp@latest
87
107
  ```
88
108
 
89
- ### `get_code_template`
109
+ ### With API Key (Unlimited Access)
90
110
 
91
- Get production-ready integration code for any AI model.
111
+ Add your API key to any config above:
92
112
 
93
- **Supported providers:** Anthropic (Claude), OpenAI (GPT), Google (Gemini)
94
- **Languages:** TypeScript, Python
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
- **Example prompts:**
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
- **Example output:**
102
- ```typescript
103
- // Installation
104
- npm install @anthropic-ai/sdk
129
+ | Tier | Recommendations | Cost | API Key |
130
+ |------|----------------|------|---------|
131
+ | **Free** | 3/day | $0 | Not needed |
132
+ | **Pro** | Unlimited | $15/month | Required |
105
133
 
106
- // 🔑 Environment Variables
107
- ANTHROPIC_API_KEY=your_api_key_here
134
+ [Get your API key →](https://architectgbt.com/dashboard/settings)
108
135
 
109
- // 📦 Code
110
- import Anthropic from '@anthropic-ai/sdk';
136
+ ## Tools
111
137
 
112
- const client = new Anthropic({
113
- apiKey: process.env.ANTHROPIC_API_KEY,
114
- });
138
+ ### `list_models`
139
+ Lists all 50+ available AI models with pricing.
115
140
 
116
- const message = await client.messages.create({
117
- model: 'claude-3-5-sonnet-20241022',
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
- console.log(message.content);
144
+ Response:
145
+ Available AI Models (50 total)
146
+ ======================================================================
125
147
 
126
- // 💡 Usage Tips
127
- // - Use streaming for real-time responses
128
- // - Add system prompts for better control
129
- // - Handle rate limits with retries
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
- Get personalized AI model recommendations based on your project description.
167
+ TOP MATCH (94% match)
135
168
 
136
- **Note:** Requires authentication. For full recommendations with cost analysis and reasoning, visit [architectgbt.com](https://architectgbt.com) and sign up for a free account.
169
+ Claude Haiku 4.5
170
+ Provider: Anthropic
171
+ Estimated Cost: $0.0240
172
+ Context Window: 200,000 tokens
137
173
 
138
- **Example prompts:**
139
- - "What AI model should I use for a customer support chatbot?"
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
- **Example response:**
177
+ Pros:
178
+ • Extremely fast (sub-second)
179
+ • Cost-effective at scale
180
+ ...
144
181
  ```
145
- ❌ Authentication Required
146
182
 
147
- The ArchitectGBT API requires authentication. To get AI model recommendations:
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
- 1. Visit https://architectgbt.com
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
- Alternatively, you can:
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
- For your query: "customer support chatbot"
158
- I recommend visiting the website for a personalized analysis with cost estimates and reasoning.
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
- # Install dependencies
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
- ## Local Testing
178
-
179
- To test locally before publishing, update your MCP config to point to the built file:
227
+ ## Links
180
228
 
181
- ```json
182
- {
183
- "mcpServers": {
184
- "architectgbt": {
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
- ## Environment Variables
234
+ ## Support
193
235
 
194
- | Variable | Description | Default |
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
- ## Links
243
+ ---
203
244
 
204
- - [ArchitectGBT Website](https://architectgbt.com)
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: 10)",
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(10),
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "architectgbt-mcp",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "Model Context Protocol server for ArchitectGBT - AI architecture recommendations",
5
5
  "type": "module",
6
6
  "bin": {
@@ -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: 10)",
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(10),
30
+ limit: z.number().default(50),
31
31
  });
32
32
 
33
33
  export async function handleListModels(args: unknown) {