Skip to content

Commit d5ff241

Browse files
committed
Init thirdweb-dev/ai (python)
0 parents  commit d5ff241

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+79256
-0
lines changed

.gitignore

Lines changed: 206 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,206 @@
1+
.DS_Store
2+
node_modules
3+
.turbo
4+
*.log
5+
.next
6+
dist
7+
dist-ssr
8+
*.local
9+
.env
10+
.cache
11+
server/dist
12+
public/dist
13+
.idea/
14+
.yalc/
15+
yalc.lock
16+
./build/
17+
playwright-report/
18+
.env/
19+
20+
# codecov binary
21+
codecov
22+
23+
# Remove sitemap files (generated at build time)
24+
sitemap*.xml
25+
26+
*storybook.log
27+
storybook-static
28+
.aider*
29+
30+
tsconfig.tsbuildinfo
31+
32+
### python
33+
# Byte-compiled / optimized / DLL files
34+
__pycache__/
35+
*.py[cod]
36+
*$py.class
37+
38+
# C extensions
39+
*.so
40+
41+
# Distribution / packaging
42+
.Python
43+
build/
44+
develop-eggs/
45+
dist/
46+
downloads/
47+
eggs/
48+
.eggs/
49+
lib/
50+
lib64/
51+
parts/
52+
sdist/
53+
var/
54+
wheels/
55+
share/python-wheels/
56+
*.egg-info/
57+
.installed.cfg
58+
*.egg
59+
MANIFEST
60+
61+
# PyInstaller
62+
# Usually these files are written by a python script from a template
63+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
64+
*.manifest
65+
*.spec
66+
67+
# Installer logs
68+
pip-log.txt
69+
pip-delete-this-directory.txt
70+
71+
# Unit test / coverage reports
72+
htmlcov/
73+
.tox/
74+
.nox/
75+
.coverage
76+
.coverage.*
77+
.cache
78+
nosetests.xml
79+
coverage.xml
80+
*.cover
81+
*.py,cover
82+
.hypothesis/
83+
.pytest_cache/
84+
cover/
85+
86+
# Translations
87+
*.mo
88+
*.pot
89+
90+
# Django stuff:
91+
*.log
92+
local_settings.py
93+
db.sqlite3
94+
db.sqlite3-journal
95+
96+
# Flask stuff:
97+
instance/
98+
.webassets-cache
99+
100+
# Scrapy stuff:
101+
.scrapy
102+
103+
# Sphinx documentation
104+
docs/_build/
105+
106+
# PyBuilder
107+
.pybuilder/
108+
target/
109+
110+
# Jupyter Notebook
111+
.ipynb_checkpoints
112+
113+
# IPython
114+
profile_default/
115+
ipython_config.py
116+
117+
# pyenv
118+
# For a library or package, you might want to ignore these files since the code is
119+
# intended to run in multiple environments; otherwise, check them in:
120+
# .python-version
121+
122+
# pipenv
123+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
124+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
125+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
126+
# install all needed dependencies.
127+
#Pipfile.lock
128+
129+
# UV
130+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
131+
# This is especially recommended for binary packages to ensure reproducibility, and is more
132+
# commonly ignored for libraries.
133+
#uv.lock
134+
135+
# poetry
136+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
137+
# This is especially recommended for binary packages to ensure reproducibility, and is more
138+
# commonly ignored for libraries.
139+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
140+
#poetry.lock
141+
142+
# pdm
143+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
144+
#pdm.lock
145+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
146+
# in version control.
147+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
148+
.pdm.toml
149+
.pdm-python
150+
.pdm-build/
151+
152+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
153+
__pypackages__/
154+
155+
# Celery stuff
156+
celerybeat-schedule
157+
celerybeat.pid
158+
159+
# SageMath parsed files
160+
*.sage.py
161+
162+
# Environments
163+
.env
164+
.venv
165+
env/
166+
venv/
167+
ENV/
168+
env.bak/
169+
venv.bak/
170+
171+
# Spyder project settings
172+
.spyderproject
173+
.spyproject
174+
175+
# Rope project settings
176+
.ropeproject
177+
178+
# mkdocs documentation
179+
/site
180+
181+
# mypy
182+
.mypy_cache/
183+
.dmypy.json
184+
dmypy.json
185+
186+
# Pyre type checker
187+
.pyre/
188+
189+
# pytype static type analyzer
190+
.pytype/
191+
192+
# Cython debug symbols
193+
cython_debug/
194+
195+
# PyCharm
196+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
197+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
198+
# and can be added to the global gitignore or merged into this file. For a more nuclear
199+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
200+
#.idea/
201+
202+
# Ruff stuff:
203+
.ruff_cache/
204+
205+
# PyPI configuration file
206+
.pypirc

README.md

Whitespace-only changes.

mcp-server/package.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "@thirdweb-dev/mcp",
3+
"version": "0.0.1",
4+
"description": "MCP server for thirdweb products",
5+
"license": "Apache-2.0",
6+
"author": "thirdweb (https://thirdweb.com)",
7+
"homepage": "https://thirdweb.com",
8+
"type": "module",
9+
"files": [
10+
"dist"
11+
],
12+
"scripts": {
13+
"build": "pnpm build:types && pnpm build:cjs && pnpm build:esm",
14+
"build:cjs": "tsc --noCheck --project ./tsconfig.build.json --module commonjs --outDir ./dist/cjs --verbatimModuleSyntax false && printf '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json",
15+
"build:esm": "tsc --noCheck --project ./tsconfig.build.json --module es2020 --outDir ./dist/esm && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./dist/esm/package.json",
16+
"build:types": "tsc --project ./tsconfig.build.json --module esnext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap",
17+
"watch": "tsc --watch",
18+
"start": "node dist/index.js",
19+
"start:stdio": "node dist/stdio.js",
20+
"start:sse": "node dist/sse.js"
21+
},
22+
"dependencies": {
23+
"@modelcontextprotocol/sdk": "1.6.1",
24+
"zod": "^3.24.2",
25+
"zod-to-json-schema": "^3.24.2"
26+
},
27+
"devDependencies": {
28+
"typescript": "^5.8.2"
29+
}
30+
}
31+

0 commit comments

Comments
 (0)