@dynamic-mockups/mcp 1.0.2 → 1.0.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 +0 -48
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -90,54 +90,6 @@ Ask your AI assistant:
|
|
|
90
90
|
| API info | "What are the rate limits and supported file formats for Dynamic Mockups?" |
|
|
91
91
|
| Print files | "Export print-ready files at 300 DPI for my poster mockup" |
|
|
92
92
|
|
|
93
|
-
## Development
|
|
94
|
-
|
|
95
|
-
### Local Installation
|
|
96
|
-
|
|
97
|
-
```bash
|
|
98
|
-
git clone https://github.com/dynamic-mockups/mcp.git
|
|
99
|
-
cd mcp-server
|
|
100
|
-
npm install
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
### Run Locally (stdio mode - default)
|
|
104
|
-
|
|
105
|
-
```bash
|
|
106
|
-
DYNAMIC_MOCKUPS_API_KEY=your_key npm start
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
### Run Locally (HTTP mode)
|
|
110
|
-
|
|
111
|
-
```bash
|
|
112
|
-
DYNAMIC_MOCKUPS_API_KEY=your_key npm run start:http
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
### Development Mode (with auto-reload)
|
|
116
|
-
|
|
117
|
-
```bash
|
|
118
|
-
# stdio mode
|
|
119
|
-
DYNAMIC_MOCKUPS_API_KEY=your_key npm run dev
|
|
120
|
-
|
|
121
|
-
# HTTP mode
|
|
122
|
-
DYNAMIC_MOCKUPS_API_KEY=your_key npm run dev:http
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
### Use Local Version in MCP Client
|
|
126
|
-
|
|
127
|
-
```json
|
|
128
|
-
{
|
|
129
|
-
"mcpServers": {
|
|
130
|
-
"dynamic-mockups": {
|
|
131
|
-
"command": "node",
|
|
132
|
-
"args": ["/path/to/mcp-server/src/index.js"],
|
|
133
|
-
"env": {
|
|
134
|
-
"DYNAMIC_MOCKUPS_API_KEY": "your_api_key_here"
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
```
|
|
140
|
-
|
|
141
93
|
## Error Handling
|
|
142
94
|
|
|
143
95
|
The server returns clear error messages for common issues:
|