Skip to content

Commit 5f5e09c

Browse files
committed
added claude code suppport
added claude code client
1 parent 601ee25 commit 5f5e09c

File tree

15 files changed

+189
-6
lines changed

15 files changed

+189
-6
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/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@
88
from mcpm.clients.client_config import ClientConfigManager
99
from mcpm.clients.client_registry import ClientRegistry
1010
from mcpm.clients.managers.claude_desktop import ClaudeDesktopManager
11+
from mcpm.clients.managers.claude_code import ClaudeCodeManager
1112
from mcpm.clients.managers.cursor import CursorManager
1213
from mcpm.clients.managers.trae import TraeManager
1314
from mcpm.clients.managers.windsurf import WindsurfManager
1415

1516
__all__ = [
1617
"BaseClientManager",
1718
"ClaudeDesktopManager",
19+
"ClaudeCodeManager",
1820
"WindsurfManager",
1921
"CursorManager",
2022
"TraeManager",

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/clients/client_registry.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from mcpm.clients.client_config import ClientConfigManager
1111

1212
# Import all client managers
13+
from mcpm.clients.managers.claude_code import ClaudeCodeManager
1314
from mcpm.clients.managers.claude_desktop import ClaudeDesktopManager
1415
from mcpm.clients.managers.cline import ClineManager, RooCodeManager
1516
from mcpm.clients.managers.continue_extension import ContinueManager
@@ -34,6 +35,7 @@ class ClientRegistry:
3435

3536
# Dictionary mapping client keys to manager instances
3637
_CLIENT_MANAGERS = {
38+
"claude-code": ClaudeCodeManager(),
3739
"claude-desktop": ClaudeDesktopManager(),
3840
"windsurf": WindsurfManager(),
3941
"cursor": CursorManager(),

0 commit comments

Comments
 (0)