Skip to content

Commit 8f82351

Browse files
committed
Bump version to 0.4.6 and update package version handling, schema URL, and environment variable schema in workflow and server.json.
1 parent 75e9c09 commit 8f82351

File tree

3 files changed

+23
-26
lines changed

3 files changed

+23
-26
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -76,28 +76,25 @@ jobs:
7676
with open('server.json', 'r') as f:
7777
data = json.load(f)
7878
version = '${{ steps.version-check.outputs.current_version }}'
79+
80+
# Update top-level version
7981
data['version'] = version
82+
83+
# Update all packages
8084
if 'packages' in data:
8185
for package in data['packages']:
8286
registry_type = package.get('registryType')
8387
84-
# Per 2025-09-29 schema: version is required for ALL packages
88+
# Update version field (required for all packages in 2025-09-29)
8589
package['version'] = version
8690
87-
# For OCI packages: also update version in identifier
91+
# Update identifier with new version tag
8892
if registry_type == 'oci':
8993
identifier = package.get('identifier', '')
9094
if ':' in identifier:
9195
base = identifier.rsplit(':', 1)[0]
92-
package['identifier'] = f'{base}:v{version}'
93-
94-
# Update Docker args with new version
95-
transport = package.get('transport', {})
96-
args = transport.get('args') if isinstance(transport, dict) else None
97-
if isinstance(args, list):
98-
for idx, arg in enumerate(args):
99-
if isinstance(arg, str) and 'ghcr.io/codealive-ai/codealive-mcp:' in arg:
100-
args[idx] = f'ghcr.io/codealive-ai/codealive-mcp:v{version}'
96+
package['identifier'] = f'{base}:{version}'
97+
10198
with open('server.json', 'w') as f:
10299
json.dump(data, f, indent=2)
103100
"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "codealive-mcp"
3-
version = "0.4.5"
3+
version = "0.4.6"
44
description = "MCP server for the CodeAlive API"
55
readme = "README.md"
66
requires-python = ">=3.11"

server.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json",
33
"name": "io.github.CodeAlive-AI/codealive-mcp",
4-
"version": "0.4.5",
4+
"version": "0.4.6",
55
"description": "Semantic code search and analysis from CodeAlive for AI assistants and agents.",
66
"keywords": [
77
"context-engineering",
@@ -33,20 +33,20 @@
3333
"packages": [
3434
{
3535
"registryType": "oci",
36-
"identifier": "ghcr.io/codealive-ai/codealive-mcp:v0.4.5",
37-
"version": "0.4.5",
36+
"identifier": "ghcr.io/codealive-ai/codealive-mcp:0.4.6",
37+
"version": "0.4.6",
38+
"runtimeHint": "docker",
3839
"transport": {
39-
"type": "stdio",
40-
"command": "docker",
41-
"args": [
42-
"run",
43-
"--rm",
44-
"-i",
45-
"-e",
46-
"CODEALIVE_API_KEY=YOUR_API_KEY_HERE",
47-
"ghcr.io/codealive-ai/codealive-mcp:v0.4.5"
48-
]
49-
}
40+
"type": "stdio"
41+
},
42+
"environmentVariables": [
43+
{
44+
"name": "CODEALIVE_API_KEY",
45+
"description": "Your CodeAlive API key. Get one at https://app.codealive.ai/ under MCP & API.",
46+
"isRequired": true,
47+
"isSecret": true
48+
}
49+
]
5050
}
5151
],
5252
"capabilities": {

0 commit comments

Comments
 (0)