Skip to content

Commit 108a3fd

Browse files
committed
feat: add main entry points for MetricFlow MCP server in SSE and STDIO modes, update .gitignore and README
1 parent d5fbb5e commit 108a3fd

File tree

7 files changed

+7
-6
lines changed

7 files changed

+7
-6
lines changed

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ cython_debug/
174174
.abstra/
175175

176176
# Visual Studio Code
177-
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
177+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
178178
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
179-
# and can be added to the global gitignore or merged into this file. However, if you prefer,
179+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
180180
# you could uncomment the following to ignore the enitre vscode folder
181181
# .vscode/
182182

@@ -191,4 +191,5 @@ cython_debug/
191191
# exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
192192
# refer to https://docs.cursor.com/context/ignore-files
193193
.cursorignore
194-
.cursorindexingignore
194+
.cursorindexingignore
195+
.DS_Store

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ For integration with Claude Desktop (or any other MCP Client tool), use STDIO mo
7171

7272
```bash
7373
uvx --env-file /path/to/.env mcp-metricflow
74+
7475
```
7576

7677
Add this configuration to the respective client's config file:

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies = [
1414
]
1515

1616
[project.scripts]
17-
mcp-metricflow = "src.main_stdio:main"
17+
mcp-metricflow = "main.main_stdio:main"
1818

1919
[project.optional-dependencies]
2020
dev = [
@@ -40,7 +40,6 @@ build-backend = "pdm.backend"
4040

4141
[tool.pdm]
4242
version = {source = "scm"}
43-
package = false
4443

4544
[tool.ruff]
4645
line-length = 120

src/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/main/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Entry point."""
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)