cortexdb-mcp 0.2.0__tar.gz → 0.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,6 +7,6 @@ COPY cortexdb_mcp/ cortexdb_mcp/
7
7
 
8
8
  RUN pip install --no-cache-dir .
9
9
 
10
- ENV CORTEXDB_URL=http://localhost:3141
10
+ ENV CORTEXDB_URL=https://api.cortexdb.ai
11
11
 
12
12
  CMD ["cortexdb-mcp"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cortexdb-mcp
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: MCP Server for CortexDB — expose memory operations to AI agents
5
5
  License-Expression: MIT
6
6
  Requires-Python: >=3.10
@@ -28,7 +28,7 @@ uvx --from . cortexdb-mcp
28
28
  Set your environment variables:
29
29
 
30
30
  ```bash
31
- export CORTEXDB_URL="https://api.cortexdb.ai" # or http://localhost:3141
31
+ export CORTEXDB_URL="https://api.cortexdb.ai"
32
32
  export CORTEXDB_API_KEY="cx_live_your_key_here"
33
33
  ```
34
34
 
@@ -132,13 +132,6 @@ Add to `.vscode/mcp.json` in your project or `~/.vscode/mcp.json` globally:
132
132
  }
133
133
  ```
134
134
 
135
- ### Docker
136
-
137
- ```bash
138
- docker build -t cortexdb-mcp .
139
- docker run -e CORTEXDB_URL=https://api.cortexdb.ai -e CORTEXDB_API_KEY=cx_live_... cortexdb-mcp
140
- ```
141
-
142
135
  ## Tools
143
136
 
144
137
  ### Memory Operations
@@ -211,7 +204,7 @@ Pre-built prompt templates:
211
204
 
212
205
  | Environment Variable | Default | Description |
213
206
  |---|---|---|
214
- | `CORTEXDB_URL` | `http://localhost:3141` | CortexDB server URL |
207
+ | `CORTEXDB_URL` | `https://api.cortexdb.ai` | CortexDB server URL |
215
208
  | `CORTEXDB_API_KEY` | (none) | API key for authentication |
216
209
  | `CORTEXDB_TIMEOUT` | `30.0` | HTTP request timeout (seconds) |
217
210
 
@@ -242,19 +235,6 @@ The assistant calls `entity_get` or `entity_edges` to traverse relationships.
242
235
 
243
236
  Uses the `deployment_review` prompt to check for recent incidents, dependencies, and risks.
244
237
 
245
- ## Development
246
-
247
- ```bash
248
- # Install in dev mode
249
- pip install -e ".[dev]"
250
-
251
- # Run tests
252
- pytest
253
-
254
- # Run the server locally
255
- CORTEXDB_URL=http://localhost:3141 CORTEXDB_API_KEY=test cortexdb-mcp
256
- ```
257
-
258
238
  ## Architecture
259
239
 
260
240
  ```
@@ -15,7 +15,7 @@ uvx --from . cortexdb-mcp
15
15
  Set your environment variables:
16
16
 
17
17
  ```bash
18
- export CORTEXDB_URL="https://api.cortexdb.ai" # or http://localhost:3141
18
+ export CORTEXDB_URL="https://api.cortexdb.ai"
19
19
  export CORTEXDB_API_KEY="cx_live_your_key_here"
20
20
  ```
21
21
 
@@ -119,13 +119,6 @@ Add to `.vscode/mcp.json` in your project or `~/.vscode/mcp.json` globally:
119
119
  }
120
120
  ```
121
121
 
122
- ### Docker
123
-
124
- ```bash
125
- docker build -t cortexdb-mcp .
126
- docker run -e CORTEXDB_URL=https://api.cortexdb.ai -e CORTEXDB_API_KEY=cx_live_... cortexdb-mcp
127
- ```
128
-
129
122
  ## Tools
130
123
 
131
124
  ### Memory Operations
@@ -198,7 +191,7 @@ Pre-built prompt templates:
198
191
 
199
192
  | Environment Variable | Default | Description |
200
193
  |---|---|---|
201
- | `CORTEXDB_URL` | `http://localhost:3141` | CortexDB server URL |
194
+ | `CORTEXDB_URL` | `https://api.cortexdb.ai` | CortexDB server URL |
202
195
  | `CORTEXDB_API_KEY` | (none) | API key for authentication |
203
196
  | `CORTEXDB_TIMEOUT` | `30.0` | HTTP request timeout (seconds) |
204
197
 
@@ -229,19 +222,6 @@ The assistant calls `entity_get` or `entity_edges` to traverse relationships.
229
222
 
230
223
  Uses the `deployment_review` prompt to check for recent incidents, dependencies, and risks.
231
224
 
232
- ## Development
233
-
234
- ```bash
235
- # Install in dev mode
236
- pip install -e ".[dev]"
237
-
238
- # Run tests
239
- pytest
240
-
241
- # Run the server locally
242
- CORTEXDB_URL=http://localhost:3141 CORTEXDB_API_KEY=test cortexdb-mcp
243
- ```
244
-
245
225
  ## Architecture
246
226
 
247
227
  ```
@@ -1,3 +1,3 @@
1
1
  """CortexDB MCP Server -- expose CortexDB memory operations to AI agents via MCP."""
2
2
 
3
- __version__ = "0.2.0"
3
+ __version__ = "0.2.1"
@@ -6,7 +6,7 @@ display proactive insights. Results are cached with a configurable TTL (default
6
6
 
7
7
  Configuration is read from environment variables:
8
8
 
9
- - ``CORTEXDB_URL`` -- CortexDB base URL (default ``http://localhost:3141``)
9
+ - ``CORTEXDB_URL`` -- CortexDB base URL (default ``https://api.cortexdb.ai``)
10
10
  - ``CORTEXDB_API_KEY`` -- Optional bearer token
11
11
  - ``CORTEXDB_TENANT_ID``-- Optional tenant scope
12
12
  - ``INSIGHTS_CACHE_TTL``-- Cache lifetime in seconds (default ``300``)
@@ -34,7 +34,7 @@ logger = logging.getLogger("cortexdb_mcp.api")
34
34
  # Configuration
35
35
  # ---------------------------------------------------------------------------
36
36
 
37
- CORTEXDB_URL = os.environ.get("CORTEXDB_URL", "http://localhost:3141")
37
+ CORTEXDB_URL = os.environ.get("CORTEXDB_URL", "https://api.cortexdb.ai")
38
38
  CORTEXDB_API_KEY = os.environ.get("CORTEXDB_API_KEY")
39
39
  CORTEXDB_TENANT_ID = os.environ.get("CORTEXDB_TENANT_ID")
40
40
  INSIGHTS_CACHE_TTL = int(os.environ.get("INSIGHTS_CACHE_TTL", "300"))
@@ -19,7 +19,7 @@ class CortexMCPConfig:
19
19
  timeout: HTTP request timeout in seconds.
20
20
  """
21
21
 
22
- url: str = "http://localhost:3141"
22
+ url: str = "https://api.cortexdb.ai"
23
23
  api_key: str | None = None
24
24
  timeout: float = 30.0
25
25
 
@@ -29,7 +29,7 @@ class CortexMCPConfig:
29
29
 
30
30
  Environment variables
31
31
  ---------------------
32
- CORTEXDB_URL -- CortexDB base URL (default ``http://localhost:3141``)
32
+ CORTEXDB_URL -- CortexDB base URL (default ``https://api.cortexdb.ai``)
33
33
  CORTEXDB_API_KEY -- API key (default ``None``)
34
34
  CORTEXDB_TIMEOUT -- Request timeout in seconds (default ``30.0``)
35
35
  """
@@ -131,7 +131,7 @@ class InsightsEngine:
131
131
 
132
132
  def __init__(
133
133
  self,
134
- cortex_url: str = "http://localhost:3141",
134
+ cortex_url: str = "https://api.cortexdb.ai",
135
135
  api_key: str | None = None,
136
136
  tenant_id: str | None = None,
137
137
  ) -> None:
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "cortexdb-mcp"
7
- version = "0.2.0"
7
+ version = "0.2.1"
8
8
  description = "MCP Server for CortexDB — expose memory operations to AI agents"
9
9
  requires-python = ">=3.10"
10
10
  license = "MIT"
@@ -41,7 +41,7 @@ class TestConfig:
41
41
 
42
42
  def test_defaults(self):
43
43
  cfg = CortexMCPConfig()
44
- assert cfg.url == "http://localhost:3141"
44
+ assert cfg.url == "https://api.cortexdb.ai"
45
45
  assert cfg.api_key is None
46
46
  assert cfg.timeout == 30.0
47
47
 
@@ -59,7 +59,7 @@ class TestConfig:
59
59
  monkeypatch.delenv("CORTEXDB_API_KEY", raising=False)
60
60
  monkeypatch.delenv("CORTEXDB_TIMEOUT", raising=False)
61
61
  cfg = CortexMCPConfig.from_env()
62
- assert cfg.url == "http://localhost:3141"
62
+ assert cfg.url == "https://api.cortexdb.ai"
63
63
  assert cfg.api_key is None
64
64
 
65
65
 
File without changes