mcpresso 0.1.0__tar.gz

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.
@@ -0,0 +1,18 @@
1
+ # MCPresso Environment Configuration
2
+ # Copy this file to .env and fill in your values
3
+
4
+ # Anthropic API Key (required)
5
+ ANTHROPIC_API_KEY=your_anthropic_api_key_here
6
+
7
+ # MCPresso Settings (optional)
8
+ MCPRESSO_MODEL=claude-sonnet-4-20250514
9
+ MCPRESSO_MAX_TOKENS=8192
10
+ MCPRESSO_REGISTRY_DIR=~/.mcpresso/registry
11
+ MCPRESSO_LOG_LEVEL=INFO
12
+
13
+ # Registry Settings (optional)
14
+ MCPRESSO_SIMILARITY_THRESHOLD_ADAPT=0.85
15
+ MCPRESSO_SIMILARITY_THRESHOLD_SEED=0.60
16
+
17
+ # Benchmark Settings (optional)
18
+ MCPRESSO_BENCHMARK_OUTPUT_DIR=./benchmark_results
@@ -0,0 +1,243 @@
1
+ # =============================================================================
2
+ # MCPresso — .gitignore
3
+ # "Brew your MCP server in under 60 seconds"
4
+ # =============================================================================
5
+
6
+ # ---------------------------------------------------------------------------
7
+ # MCPresso runtime artifacts
8
+ # ---------------------------------------------------------------------------
9
+
10
+ # API keys — never commit!
11
+ .env
12
+ *.env
13
+ .env.local
14
+ .env.production
15
+
16
+ # MCPresso local registry (user-specific, contains generated code)
17
+ .mcpresso/
18
+ ~/.mcpresso/
19
+
20
+ # Generated MCP servers (user-brewed output)
21
+ brewed_server.py
22
+ *_server_brewed.py
23
+ *_server_generated.py
24
+
25
+ # Generated client scripts
26
+ client_*.py
27
+
28
+ # Generated test suites
29
+ test_*_server.py
30
+
31
+ # Benchmark output reports
32
+ benchmark_results_*.json
33
+ benchmark_report_*.json
34
+
35
+ # Validation JSON reports
36
+ *_validation_report.json
37
+ report.json
38
+
39
+ # ---------------------------------------------------------------------------
40
+ # Python
41
+ # ---------------------------------------------------------------------------
42
+
43
+ # Byte-compiled / optimized / DLL files
44
+ __pycache__/
45
+ *.py[cod]
46
+ *$py.class
47
+ *.pyc
48
+ *.pyo
49
+ *.pyd
50
+
51
+ # Distribution / build
52
+ dist/
53
+ build/
54
+ *.egg-info/
55
+ *.egg
56
+ MANIFEST
57
+ .eggs/
58
+ wheels/
59
+ *.whl
60
+ *.tar.gz
61
+ *.zip
62
+
63
+ # Virtual environments
64
+ .venv/
65
+ venv/
66
+ env/
67
+ ENV/
68
+ .virtualenv/
69
+ virtualenvs/
70
+ .conda/
71
+ conda-env/
72
+
73
+ # Type checking
74
+ .mypy_cache/
75
+ .dmypy.json
76
+ dmypy.json
77
+ .pytype/
78
+ .pyre/
79
+
80
+ # Test & coverage
81
+ .pytest_cache/
82
+ .coverage
83
+ .coverage.*
84
+ htmlcov/
85
+ coverage.xml
86
+ *.cover
87
+ nosetests.xml
88
+ test-results/
89
+ test_results/
90
+ junit.xml
91
+
92
+ # Profiling
93
+ *.prof
94
+ *.lprof
95
+
96
+ # ---------------------------------------------------------------------------
97
+ # Jupyter Notebooks
98
+ # ---------------------------------------------------------------------------
99
+
100
+ .ipynb_checkpoints/
101
+ *.ipynb
102
+
103
+ # ---------------------------------------------------------------------------
104
+ # Sentence Transformers / HuggingFace model cache
105
+ # ---------------------------------------------------------------------------
106
+
107
+ # If someone accidentally downloads models into the repo dir
108
+ models/
109
+ .cache/huggingface/
110
+ sentence_transformers_cache/
111
+
112
+ # ---------------------------------------------------------------------------
113
+ # IDEs & Editors
114
+ # ---------------------------------------------------------------------------
115
+
116
+ # VS Code
117
+ .vscode/
118
+ *.code-workspace
119
+ .history/
120
+
121
+ # PyCharm / IntelliJ
122
+ .idea/
123
+ *.iml
124
+ *.iws
125
+ *.ipr
126
+ out/
127
+
128
+ # Vim / Neovim
129
+ *.swp
130
+ *.swo
131
+ *~
132
+ .netrwhist
133
+
134
+ # Emacs
135
+ *#
136
+ .#*
137
+ \#*\#
138
+
139
+ # Sublime Text
140
+ *.sublime-project
141
+ *.sublime-workspace
142
+
143
+ # macOS
144
+ .DS_Store
145
+ .AppleDouble
146
+ .LSOverride
147
+ Icon?
148
+ ._*
149
+ .Spotlight-V100
150
+ .Trashes
151
+
152
+ # Windows
153
+ Thumbs.db
154
+ Thumbs.db:encryptable
155
+ ehthumbs.db
156
+ ehthumbs_vista.db
157
+ Desktop.ini
158
+ $RECYCLE.BIN/
159
+ *.lnk
160
+
161
+ # Linux
162
+ *~
163
+ .fuse_hidden*
164
+ .directory
165
+ .Trash-*
166
+ .nfs*
167
+
168
+ # ---------------------------------------------------------------------------
169
+ # Logs
170
+ # ---------------------------------------------------------------------------
171
+
172
+ *.log
173
+ *.log.*
174
+ logs/
175
+ log/
176
+ mcpresso.log
177
+ mcpresso_*.log
178
+
179
+ # ---------------------------------------------------------------------------
180
+ # Temporary / scratch files
181
+ # ---------------------------------------------------------------------------
182
+
183
+ *.tmp
184
+ *.temp
185
+ *.bak
186
+ *.orig
187
+ *.swp
188
+ scratch/
189
+ tmp/
190
+ temp/
191
+ sandbox/
192
+
193
+ # ---------------------------------------------------------------------------
194
+ # Secrets & credentials
195
+ # ---------------------------------------------------------------------------
196
+
197
+ *.pem
198
+ *.key
199
+ *.p12
200
+ *.pfx
201
+ *.crt
202
+ *.cer
203
+ secrets.json
204
+ credentials.json
205
+ service_account.json
206
+ .secrets/
207
+
208
+ # ---------------------------------------------------------------------------
209
+ # Docker (if ever containerised)
210
+ # ---------------------------------------------------------------------------
211
+
212
+ .dockerignore
213
+ docker-compose.override.yml
214
+
215
+ # ---------------------------------------------------------------------------
216
+ # Documentation build output
217
+ # ---------------------------------------------------------------------------
218
+
219
+ docs/_build/
220
+ docs/site/
221
+ site/
222
+ _site/
223
+
224
+ # ---------------------------------------------------------------------------
225
+ # Node (if any frontend tooling is added)
226
+ # ---------------------------------------------------------------------------
227
+
228
+ node_modules/
229
+ npm-debug.log*
230
+ yarn-debug.log*
231
+ yarn-error.log*
232
+ .npm
233
+ .yarn/
234
+
235
+ # ---------------------------------------------------------------------------
236
+ # Keep these (force-track important examples)
237
+ # ---------------------------------------------------------------------------
238
+
239
+ # The sample servers shipped with the repo ARE tracked
240
+ !calc_server.py
241
+ !demo_server.py
242
+ !github_server.py
243
+ !brewed_server.py
mcpresso-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 MCPresso Team
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.