Skip to content

Commit 29af95b

Browse files
committed
Merge branch 'support-claude-code' of github.com:dima-m711/mcpm.sh into support-claude-code
2 parents 51fb5e7 + d52d57e commit 29af95b

File tree

10 files changed

+123
-5
lines changed

10 files changed

+123
-5
lines changed

.github/codex/home/config.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
model = "o3"
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Attempt to solve the reported issue.
2+
3+
If a code change is required, create a new branch, commit the fix, and open a pull request that resolves the problem.
4+
5+
Here is the original GitHub issue that triggered this run:
6+
7+
### {CODEX_ACTION_ISSUE_TITLE}
8+
9+
{CODEX_ACTION_ISSUE_BODY}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Review this PR and respond with a very concise final message, formatted in Markdown.
2+
3+
There should be a summary of the changes (1-2 sentences) and a few bullet points if necessary.
4+
5+
Then provide the **review** (1-2 sentences plus bullet points, friendly tone).
6+
7+
{CODEX_ACTION_GITHUB_EVENT_PATH} contains the JSON that triggered this GitHub workflow. It contains the `base` and `head` refs that define this PR. Both refs are available locally.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Troubleshoot whether the reported issue is valid.
2+
3+
Provide a concise and respectful comment summarizing the findings.
4+
5+
### {CODEX_ACTION_ISSUE_TITLE}
6+
7+
{CODEX_ACTION_ISSUE_BODY}

.github/workflows/codex.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Codex
2+
3+
on:
4+
issues:
5+
types: [opened, labeled]
6+
pull_request:
7+
branches: [main]
8+
types: [labeled]
9+
10+
jobs:
11+
codex:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: write
15+
issues: write
16+
pull-requests: write
17+
steps:
18+
# By default, Codex runs network disabled using --full-auto, so perform
19+
# any setup that requires network (such as installing dependencies)
20+
# before openai/codex-action.
21+
- name: Checkout repository
22+
uses: actions/checkout@v4
23+
24+
- name: Run Codex
25+
uses: openai/codex/.github/actions/codex@main
26+
with:
27+
openai_api_key: ${{ secrets.CODEX_OPENAI_API_KEY }}
28+
codex_args: --full-auto
29+
github_token: ${{ secrets.GITHUB_TOKEN }}
30+
codex_home: ./.github/codex/home

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [1.13.5](https://github.com/pathintegral-institute/mcpm.sh/compare/v1.13.4...v1.13.5) (2025-06-16)
2+
3+
4+
### Bug Fixes
5+
6+
* automated fix for [#171](https://github.com/pathintegral-institute/mcpm.sh/issues/171) via Codex ([#173](https://github.com/pathintegral-institute/mcpm.sh/issues/173)) ([88b554b](https://github.com/pathintegral-institute/mcpm.sh/commit/88b554b1d057a470cb44efc0cf26a98941291f35))
7+
18
## [1.13.4](https://github.com/pathintegral-institute/mcpm.sh/compare/v1.13.3...v1.13.4) (2025-06-07)
29

310

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"display_name": "4EVERLAND Hosting MCP Server",
3+
"license": "MIT",
4+
"tags": [
5+
"4everland",
6+
"hosting",
7+
"cloud",
8+
"mcp"
9+
],
10+
"installations": {
11+
"4ever-mcpserver": {
12+
"type": "npm",
13+
"command": "npx",
14+
"args": [
15+
"-y",
16+
"@4everland/hosting-mcp@latest",
17+
"serve"
18+
],
19+
"description": "Run the 4EVERLAND MCP server directly with node",
20+
"env": {
21+
"TOKEN": "${4EVERLAND_HOSTING_AUTH_TOKEN}"
22+
}
23+
}
24+
},
25+
"arguments": {
26+
"TOKEN": {
27+
"description": "4everland Hosting auth key",
28+
"required": true,
29+
"example": "your_auth_key"
30+
}
31+
},
32+
"examples": [
33+
{
34+
"title": "deploy simple webapp",
35+
"description": "",
36+
"prompt": "generate a simple counter using html, then deploy it to 4ever and tell me how to view it"
37+
}
38+
],
39+
"name": "4everland-hosting-mcp",
40+
"repository": {
41+
"type": "git",
42+
"url": "https://github.com/4everland/4everland-hosting-mcp"
43+
},
44+
"homepage": "https://github.com/4everland/4everland-hosting-mcp#readme",
45+
"author": {
46+
"name": "4EVERLAND"
47+
},
48+
"description": "A Model Context Protocol (MCP) server implementation for 4EVERLAND Hosting enabling instant deployment of AI-generated code to decentralized storage networks like Greenfield, IPFS, and Arweave.",
49+
"categories": [
50+
"Dev Tools"
51+
],
52+
"is_official": true
53+
}

src/mcpm/clients/base.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,9 @@ def activate_profile(self, profile_name: str, router_config: Dict[str, Any], ali
418418
"""
419419
host = router_config["host"]
420420
port = router_config["port"]
421-
default_base_url = f"http://{host}:{port}/sse"
421+
422+
# Use streamable HTTP endpoint instead of the deprecated SSE one.
423+
default_base_url = f"http://{host}:{port}/mcp/"
422424

423425
server_config = self._format_router_server(profile_name, default_base_url, alias_name)
424426
return self.add_server(server_config)
@@ -688,7 +690,8 @@ def activate_profile(self, profile_name: str, router_config: Dict[str, Any], ali
688690
"""
689691
host = router_config["host"]
690692
port = router_config["port"]
691-
default_base_url = f"http://{host}:{port}/sse"
693+
# Use streamable HTTP endpoint.
694+
default_base_url = f"http://{host}:{port}/mcp/"
692695

693696
server_config = self._format_router_server(profile_name, default_base_url, alias_name)
694697
return self.add_server(server_config)

src/mcpm/utils/router_server.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
def format_server_url(client: str, profile: str, router_url: str, server_name: str | None = None) -> ServerConfig:
55
return RemoteServerConfig(
66
name=server_name if server_name else profile,
7-
url=f"{router_url}?/client={client}&profile={profile}",
7+
# Correct query parameters.
8+
url=f"{router_url}?client={client}&profile={profile}",
89
)
910

1011

@@ -14,7 +15,7 @@ def format_server_url_with_proxy_param(
1415
result = STDIOServerConfig(
1516
name=server_name if server_name else profile,
1617
command="uvx",
17-
args=["mcp-proxy", f"{router_url}?/client={client}&profile={profile}"],
18+
args=["mcp-proxy", f"{router_url}?client={client}&profile={profile}"],
1819
)
1920
return result
2021

src/mcpm/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.13.4"
1+
__version__ = "1.13.5"

0 commit comments

Comments
 (0)