Skip to content

Commit 75e9c09

Browse files
committed
Bump version to 0.4.5 and update package version handling and schema URL in workflow and server.json.
1 parent d0b908a commit 75e9c09

File tree

3 files changed

+11
-16
lines changed

3 files changed

+11
-16
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -81,21 +81,15 @@ jobs:
8181
for package in data['packages']:
8282
registry_type = package.get('registryType')
8383
84-
# Per 2025-10-11 schema: version is optional for OCI/MCPB (embedded in identifier)
84+
# Per 2025-09-29 schema: version is required for ALL packages
85+
package['version'] = version
86+
87+
# For OCI packages: also update version in identifier
8588
if registry_type == 'oci':
86-
# Update version in identifier
8789
identifier = package.get('identifier', '')
8890
if ':' in identifier:
8991
base = identifier.rsplit(':', 1)[0]
9092
package['identifier'] = f'{base}:v{version}'
91-
# Remove separate version field (optional for OCI)
92-
package.pop('version', None)
93-
elif registry_type == 'mcpb':
94-
# MCPB uses direct download URLs, no version field needed
95-
package.pop('version', None)
96-
else:
97-
# For npm, pypi, nuget: version field is required
98-
package['version'] = version
9993
10094
# Update Docker args with new version
10195
transport = package.get('transport', {})
@@ -122,7 +116,7 @@ jobs:
122116
import urllib.request
123117
from jsonschema import ValidationError, validate
124118
125-
schema_url = "https://static.modelcontextprotocol.io/schemas/2025-10-11/server.schema.json"
119+
schema_url = "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json"
126120
127121
try:
128122
with urllib.request.urlopen(schema_url, timeout=30) as response:

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.4"
3+
version = "0.4.5"
44
description = "MCP server for the CodeAlive API"
55
readme = "README.md"
66
requires-python = ">=3.11"

server.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-11/server.schema.json",
2+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json",
33
"name": "io.github.CodeAlive-AI/codealive-mcp",
4-
"version": "0.4.3",
4+
"version": "0.4.5",
55
"description": "Semantic code search and analysis from CodeAlive for AI assistants and agents.",
66
"keywords": [
77
"context-engineering",
@@ -33,7 +33,8 @@
3333
"packages": [
3434
{
3535
"registryType": "oci",
36-
"identifier": "ghcr.io/codealive-ai/codealive-mcp:v0.4.3",
36+
"identifier": "ghcr.io/codealive-ai/codealive-mcp:v0.4.5",
37+
"version": "0.4.5",
3738
"transport": {
3839
"type": "stdio",
3940
"command": "docker",
@@ -43,7 +44,7 @@
4344
"-i",
4445
"-e",
4546
"CODEALIVE_API_KEY=YOUR_API_KEY_HERE",
46-
"ghcr.io/codealive-ai/codealive-mcp:v0.4.3"
47+
"ghcr.io/codealive-ai/codealive-mcp:v0.4.5"
4748
]
4849
}
4950
}

0 commit comments

Comments
 (0)