Skip to content

Commit eec6726

Browse files
committed
chore: add packaging, license, and gitignore; untrack build artifacts
- pyproject.toml with deps, ruff and pytest config - MIT LICENSE file - .gitignore for Python caches, venvs, runtime artifacts - remove committed __pycache__ and .DS_Store from the index git log --oneline -1
1 parent b29a0c8 commit eec6726

15 files changed

Lines changed: 85 additions & 0 deletions

‎.DS_Store‎

-6 KB
Binary file not shown.

‎.gitignore‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Python
2+
__pycache__/
3+
*.py[cod]
4+
*.egg-info/
5+
.eggs/
6+
build/
7+
dist/
8+
.venv/
9+
venv/
10+
11+
# OS
12+
.DS_Store
13+
Thumbs.db
14+
15+
# Tooling
16+
.pytest_cache/
17+
.ruff_cache/
18+
.mypy_cache/
19+
.coverage
20+
htmlcov/
21+
22+
# ThinkMCP runtime artifacts
23+
reports/
24+
thinkmcp_memory.db
25+
26+
# Secrets
27+
.env

‎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) 2026 ThinkMCP contributors
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.
-145 Bytes
Binary file not shown.
-9.54 KB
Binary file not shown.
-3.92 KB
Binary file not shown.
-4.96 KB
Binary file not shown.

‎pyproject.toml‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[build-system]
2+
requires = ["setuptools>=68"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "thinkmcp"
7+
version = "0.2.0"
8+
description = "Local-first thinking-augmented MCP research agent powered by Ollama + Qwen 3"
9+
readme = "README.md"
10+
license = { file = "LICENSE" }
11+
requires-python = ">=3.10"
12+
dependencies = [
13+
"mcp>=1.2.0",
14+
"ollama>=0.5.2",
15+
"streamlit>=1.35.0",
16+
]
17+
18+
[project.optional-dependencies]
19+
dev = [
20+
"pytest>=8.0",
21+
"ruff>=0.4",
22+
]
23+
24+
[tool.setuptools]
25+
packages = ["server", "server.tools", "agent", "transport"]
26+
27+
[tool.pytest.ini_options]
28+
testpaths = ["tests"]
29+
addopts = "-q"
30+
31+
[tool.ruff]
32+
line-length = 100
33+
target-version = "py310"
34+
35+
[tool.ruff.lint]
36+
select = ["E", "F", "W", "I"]
37+
ignore = ["E501"]

‎server/__init__.py‎

Whitespace-only changes.
-8.35 KB
Binary file not shown.

0 commit comments

Comments
 (0)