Skip to content

Commit d0b908a

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

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,22 @@ jobs:
8080
if 'packages' in data:
8181
for package in data['packages']:
8282
registry_type = package.get('registryType')
83-
# Update version field for all package types
84-
package['version'] = version
8583
86-
# For OCI packages: also update version in identifier
84+
# Per 2025-10-11 schema: version is optional for OCI/MCPB (embedded in identifier)
8785
if registry_type == 'oci':
86+
# Update version in identifier
8887
identifier = package.get('identifier', '')
8988
if ':' in identifier:
9089
base = identifier.rsplit(':', 1)[0]
9190
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
9299
93100
# Update Docker args with new version
94101
transport = package.get('transport', {})
@@ -115,7 +122,7 @@ jobs:
115122
import urllib.request
116123
from jsonschema import ValidationError, validate
117124
118-
schema_url = "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json"
125+
schema_url = "https://static.modelcontextprotocol.io/schemas/2025-10-11/server.schema.json"
119126
120127
try:
121128
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.3"
3+
version = "0.4.4"
44
description = "MCP server for the CodeAlive API"
55
readme = "README.md"
66
requires-python = ">=3.11"

server.json

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

0 commit comments

Comments
 (0)