Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Feature Requests
  3. MCP server for apps?

MCP server for apps?

Scheduled Pinned Locked Moved Feature Requests
14 Posts 7 Posters 204 Views 7 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    ekevu123
    wrote last edited by
    #1

    How about integrating MCP for apps? This way, I could use AI help, like Claude Code, for debugging or any other terminal access to any of my apps. It would need to be secured via SSH, but then it should be reasonably secure? And since this is only about app access, and not about full server access, there is little chance to break stuff on a bigger scale?

    I suppose every app would need to have a separate MCP server, but I could just add the ones I really need.

    1 Reply Last reply
    2
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by
      #2

      Is this the same as

      • https://forum.cloudron.io/topic/13739/mcp-proxy-server

      ?

      E 1 Reply Last reply
      1
      • jamesJ james

        Is this the same as

        • https://forum.cloudron.io/topic/13739/mcp-proxy-server

        ?

        E Offline
        E Offline
        ekevu123
        wrote last edited by
        #3

        @james No, the cited discussion focuses on Openwebui.

        1 Reply Last reply
        1
        • jamesJ Offline
          jamesJ Offline
          james
          Staff
          wrote last edited by
          #4

          Hello @ekevu123
          I understand that the discussion is about OpenWebUI, but the technology discussed MCP and MCPO / MCP Proxy Server are the same, or not?

          @ekevu123 said in MCP server for apps?:

          I suppose every app would need to have a separate MCP server, but I could just add the ones I really need.

          If I understand it correctly MCP should be added as a https://docs.cloudron.io/packaging/addons/ like redis for certain apps.

          Correct?

          1 Reply Last reply
          0
          • fbartelsF Offline
            fbartelsF Offline
            fbartels
            App Dev
            wrote last edited by
            #5

            Isn't the better place for a mcp server in Cloudron directly at the Cloudron Api? Via mcp your ai could talk to the Cloudron Api, and through this access files, logs, execute commands, install/update.

            The api is described here: https://docs.cloudron.io/api.html

            I would think since there is an openapi spec there is probably already some mcp server that could import it.

            C 1 Reply Last reply
            0
            • J Offline
              J Offline
              joseph
              Staff
              wrote last edited by
              #6

              The openapi spec is here - https://git.cloudron.io/docs/docs/-/tree/master/api?ref_type=heads

              1 Reply Last reply
              0
              • fbartelsF Offline
                fbartelsF Offline
                fbartels
                App Dev
                wrote last edited by
                #7

                Here is a how-to https://earthkhan.medium.com/turn-your-openapi-in-mcp-server-in-5-minutes-e2859383d0dc

                1 Reply Last reply
                0
                • E Offline
                  E Offline
                  ekevu123
                  wrote last edited by
                  #8

                  Using the Cloudron API is a good idea to solve this! That would enable MCP capabilities, I suppose. But I think the feature request still stands here, I understand I could code a workaround right now, but it could be convenient to activate the MCP where needed, perhaps by copy-pasting a snippet, which should be fine.

                  C 1 Reply Last reply
                  0
                  • fbartelsF fbartels

                    Isn't the better place for a mcp server in Cloudron directly at the Cloudron Api? Via mcp your ai could talk to the Cloudron Api, and through this access files, logs, execute commands, install/update.

                    The api is described here: https://docs.cloudron.io/api.html

                    I would think since there is an openapi spec there is probably already some mcp server that could import it.

                    C Offline
                    C Offline
                    charlesnw
                    wrote last edited by
                    #9

                    @fbartels An MCP server for Cloudron would be useful. I would like to be able to use Claude for orchestration and not (necessarily) need to rely on the cloudron npm cli tool.

                    However it would only be for Cloudron itself. Each app would still need to have an MCP written for it.

                    I am about to be spending all day every day in Claude and I am living the MCP life (currently Redmine/Joplin). And working on packaging (via Claude) about 50 apps for Cloudron.

                    1 Reply Last reply
                    0
                    • E ekevu123

                      Using the Cloudron API is a good idea to solve this! That would enable MCP capabilities, I suppose. But I think the feature request still stands here, I understand I could code a workaround right now, but it could be convenient to activate the MCP where needed, perhaps by copy-pasting a snippet, which should be fine.

                      C Offline
                      C Offline
                      charlesnw
                      wrote last edited by
                      #10

                      @ekevu123 MCP is highly application specific. It is out of scope for Cloudron to have an "MCP server" (except, as discussed in the thread, perhaps for Cloudron itself).

                      Each app has it's own functionality to be exposed/consumed/orchestrated by an MCP client.

                      What use cases do you have in mind ? Can you describe how you would use MCP with Cloudron apps?

                      1 Reply Last reply
                      0
                      • girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote last edited by girish
                        #11

                        I wrote a toy MCP for Cloudron CLI , mostly to understand what the hell MCP is. https://git.cloudron.io/playground/toy-mcp-server/ . This already is able to list/start/stop/restart/show logs of apps! It's quite insanely powerful.

                        Here's a screencast if anyone cares

                        Download video

                        My code configuration is:

                            "mcp": {
                                "servers": {
                                    "cloudron-cli": {
                                        "type": "stdio",
                                        "command": "node",
                                        "args": [
                                            "mcp-server.js"
                                        ],
                                        "cwd": "/home/girish/yellowtent/tmp/toy-mcp-server"
                                    }
                                }
                            }
                        
                        robiR C 2 Replies Last reply
                        4
                        • girishG girish

                          I wrote a toy MCP for Cloudron CLI , mostly to understand what the hell MCP is. https://git.cloudron.io/playground/toy-mcp-server/ . This already is able to list/start/stop/restart/show logs of apps! It's quite insanely powerful.

                          Here's a screencast if anyone cares

                          Download video

                          My code configuration is:

                              "mcp": {
                                  "servers": {
                                      "cloudron-cli": {
                                          "type": "stdio",
                                          "command": "node",
                                          "args": [
                                              "mcp-server.js"
                                          ],
                                          "cwd": "/home/girish/yellowtent/tmp/toy-mcp-server"
                                      }
                                  }
                              }
                          
                          robiR Offline
                          robiR Offline
                          robi
                          wrote last edited by
                          #12

                          That is awesome Girish!

                          Definitely not a toy.

                          Glad you're able to use AI tools now.

                          For another level of code analysis, check out the newly released https://github.com/google-gemini/gemini-cli/

                          It let's you examine the entire code base with a huge context window, and look for say ... obvious bugs, or add whole new features. Can use Cursor as the editor.

                          It's also free to use if you auth with a personal gmail account; has daily limits.

                          Edu accounts can get a year free, and API has full access.

                          Conscious tech

                          1 Reply Last reply
                          1
                          • girishG girish

                            I wrote a toy MCP for Cloudron CLI , mostly to understand what the hell MCP is. https://git.cloudron.io/playground/toy-mcp-server/ . This already is able to list/start/stop/restart/show logs of apps! It's quite insanely powerful.

                            Here's a screencast if anyone cares

                            Download video

                            My code configuration is:

                                "mcp": {
                                    "servers": {
                                        "cloudron-cli": {
                                            "type": "stdio",
                                            "command": "node",
                                            "args": [
                                                "mcp-server.js"
                                            ],
                                            "cwd": "/home/girish/yellowtent/tmp/toy-mcp-server"
                                        }
                                    }
                                }
                            
                            C Offline
                            C Offline
                            charlesnw
                            wrote last edited by
                            #13

                            @girish This is incredible. Thank you so much for sharing this.

                            I’m in the process of adding it to Claude Desktop.

                            1 Reply Last reply
                            1
                            • E Offline
                              E Offline
                              ekevu123
                              wrote last edited by
                              #14

                              I am not so sure if every app would need a specific MCP server written for it, because as I see it, the MCP server should expose only the cloudron-specific functionality of any app, not allow with the app itself.

                              What that means specifically: Using Claude Code, Cursor etc. I could prompt "check the production logs of my app to investigate why the hell this doesn't work".
                              Ideally, via MCP, the AI could execute test scripts that have been uploaded before via terminal, or do similar basic things such as go through files of the app.

                              I would be more interested in app-based interactions rather than the whole cloudron itself, but that use case might differ between people.

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Bookmarks
                              • Search