Skip to content

Commit cc97757

Browse files
Copilotilyazub
andcommitted
Add LICENSE and Dockerfile for Glama compatibility
Co-authored-by: ilyazub <282605+ilyazub@users.noreply.github.com>
1 parent 43cd7ff commit cc97757

File tree

3 files changed

+83
-0
lines changed

3 files changed

+83
-0
lines changed

.dockerignore

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Git files
2+
.git
3+
.gitignore
4+
5+
# Python
6+
__pycache__
7+
*.py[cod]
8+
*$py.class
9+
*.so
10+
.Python
11+
*.egg-info
12+
dist
13+
build
14+
*.egg
15+
16+
# Virtual environments
17+
.env
18+
.venv
19+
env/
20+
venv/
21+
ENV/
22+
env.bak/
23+
venv.bak/
24+
25+
# IDE
26+
.vscode/
27+
.idea/
28+
*.swp
29+
*.swo
30+
*~
31+
32+
# OS
33+
.DS_Store
34+
Thumbs.db
35+
36+
# Other
37+
scratch/
38+
README.md
39+
.python-version
40+
uv.lock
41+
smithery.yaml

Dockerfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Use Python 3.13 slim image for smaller size
2+
FROM python:3.13-slim
3+
4+
# Set working directory
5+
WORKDIR /app
6+
7+
# Copy project files
8+
COPY pyproject.toml ./
9+
COPY src/ ./src/
10+
11+
# Install dependencies
12+
RUN pip install --no-cache-dir google-search-results>=2.4.2 "mcp[cli]>=1.3.0" python-dotenv httpx
13+
14+
# Set environment variables
15+
ENV PYTHONUNBUFFERED=1
16+
17+
# Expose the MCP server (stdio mode doesn't need ports, but keeping for future HTTP mode)
18+
# No EXPOSE needed for stdio mode
19+
20+
# Run the server
21+
CMD ["python", "-m", "src.serpapi-mcp-server.server"]

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Ilya Zub
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.

0 commit comments

Comments
 (0)