Skip to content

Commit 4af77fa

Browse files
committed
fix stdio mcp startup
Signed-off-by: phernandez <paul@basicmachines.co>
1 parent f001fe3 commit 4af77fa

4 files changed

Lines changed: 41 additions & 61 deletions

File tree

.env.oauth.example

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
# Enable OAuth authentication
55
FASTMCP_AUTH_ENABLED=true
66

7-
# OAuth provider type: basic, github, or google
7+
# OAuth provider type: basic, github, google, or supabase
88
# - basic: Built-in OAuth provider with in-memory storage
99
# - github: Integrate with GitHub OAuth
10-
# - google: Integrate with Google OAuth
10+
# - google: Integrate with Google OAuth
11+
# - supabase: Integrate with Supabase Auth (recommended for production)
1112
FASTMCP_AUTH_PROVIDER=basic
1213

1314
# OAuth issuer URL (your MCP server URL)
@@ -44,4 +45,11 @@ FASTMCP_AUTH_VALID_SCOPES=read,write,admin
4445

4546
# Google OAuth settings (if using google provider)
4647
# GOOGLE_CLIENT_ID=your-google-client-id
47-
# GOOGLE_CLIENT_SECRET=your-google-client-secret
48+
# GOOGLE_CLIENT_SECRET=your-google-client-secret
49+
50+
# Supabase settings (if using supabase provider)
51+
# SUPABASE_URL=https://your-project.supabase.co
52+
# SUPABASE_ANON_KEY=your-anon-key
53+
# SUPABASE_SERVICE_KEY=your-service-key # Optional, for admin operations
54+
# SUPABASE_JWT_SECRET=your-jwt-secret # Optional, for token validation
55+
# SUPABASE_ALLOWED_CLIENTS=client1,client2 # Comma-separated list of allowed client IDs

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ dependencies = [
3030
"alembic>=1.14.1",
3131
"qasync>=0.27.1",
3232
"pillow>=11.1.0",
33-
"python-liquid>=2.0.1",
3433
"pybars3>=0.9.7",
3534
"fastmcp>=2.3.4",
3635
"pyjwt>=2.10.1",

src/basic_memory/cli/commands/mcp.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ def run_file_sync():
7878
if transport == "stdio":
7979
mcp_server.run(
8080
transport=transport,
81-
host=host,
8281
)
8382
elif transport == "streamable-http" or transport == "sse":
8483
mcp_server.run(

uv.lock

Lines changed: 30 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)