Making MCP Simple: One-click service integration should be possible for everyone

by Poster Apr 17, 2025 2
! [Image] (https://preview.redd.it/making-mcp-easy-one-click-service-integration-for-everyone-v0-i7dm6n8y6loe1. jpg? width = 2400 & format = pjpg & auto = webp&s = 40831ba819b6523159becaa2e995fa5eea1b1030) [Original address] (https://www.reddit.com/r/ClaudeAI/comments/1jawfai/making _ mcp _ easy _ oneclick _ service _ integration _ for/) The emergence of MCP is an exciting thing, which indicates that everyone can develop and integrate the services they need under the same standard. At present, it is developing very rapidly, with a total of 43 commonly used services included in OpenTools, and an astonishing 1,946 services in Smithery. They all provide a command line to install MCP services, but it is not so simple for ordinary users to use MCP services on Claude Desktop. Because: 1. OpenTools and Smithery provide npx commands. To use them, you need to install npx (a package launch tool for the NodeJS programming language) first. 2. When encountering an MCP service written in Python language, you also need to be able to set up a Python running environment. Some MCP services require Python 3.11 or above, which may not be provided in the default operating system. Yes, when you try to install NPX and Python environments, you may find in the documentation that you may need to install another uv. Well, that doesn't sound like a simple thing. If we don't use OpenTools and Smithery, we need to be able to find the ` claude _ desktop _ config.json ` file to configure the MCP service. Then you need to set environment variables and parameters to get the MCP service running. So is there a way we can make installation and setup of MCP services simpler? The answer is yes. To be simple, we need to do the following: 1. The running environment of MCP (for example: NodeJS, Python) is installed automatically, and we should not spend time here. 2. The running environment of MCP needs to be isolated, because this can prevent them from affecting each other. As we mentioned above, some MCP services require Python 3.10, and some require Python 3.11. 3. There should be a GUI so that we can select the required MCP service and then install it with one click of the mouse. 4. Then we can set parameters and environment variables on the GUI. 5. Finally, we can connect the installed and set MCP service to any client just by clicking, such as: Claude Desktop Next, let's explore how these points can be achieved technically. # # Phase 1: Installing the running environment The NPX command is included in the NodJS installation package, so we only need to download the NodeJS installation package according to the platform and CPU architecture, and unzip it. For example: ` ` ` shell wget https://nodejs.org/dist/v22.14. 0/node-v22.14. 0-darwin-arm64. tar.gz Tar-xzvf node-v22.14. 0-darwin-arm64. tar.gz ``` In the same way, we can get a Python running environment. We need to manage these operating environments separately and keep them isolated so as not to affect other parts of the system. > PS: There is a default Python program in macOS, but its version is lower, so we still need to install it. # # Phase 2: Collate MCP service data MCP's official Github (https://github.com/modelcontextprotocol/servers/tree/main/src) has released some services. We can extract runtime setting parameters from the service's installation documentation, such as brave-search requires BRAVE _ API _ KEY. We need to collect and organize this data so that we can set the necessary parameters for MCP service running on the GUI. We can convert to a JSON-SCHEMA data structure like this: ` ` ` json { "config": { "apiKey": { "name": "Brave api key", "type": string }, "required": ["apiKey"] } } ``` This process, we need to program it, otherwise it will take a lot of time to sort out so many MCP services manually, but we can only focus on a small number of MCP services in the verification stage. > PS: There are args and env in the configuration file of Claude Desktop. I don't think we should care about how the MCP service uses args and env, we just need to care about what parameters the MCP service needs. # # Phase 3: Visualize the installer This process is very complicated, and we need to develop an application to implement one-click installation and setting of MCP services. For example like this: ! [Image] (https://preview.redd.it/making-mcp-easy-one-click-service-integration-for-everyone-v0-i7dm6n8y6loe1. jpg? width = 2400 & format = pjpg & auto = webp&s = 40831ba819b6523159becaa2e995fa5eea1b1030) Users can choose the MCP service they need, then install it with one click, and configure it through visual program configuration. Fortunately, there are many desktop application development frameworks that can simplify this process. Examples: Electron and Tauri. # # Phase 4: Managing and connecting MCP services Claude Desktop needs to modify the ` claude _ desktop _ config.json ` file to connect to the MCP service. Every time we install the MCP service, we need to modify it once. Is it possible that we only modify the ` claude _ desktop _ config.json ` file once to achieve dynamic connection to the MCP service? The answer is yes. For this reason, we can learn from the design of Nginx to implement a dynamic proxy for MCP services. The design is as follows: ! [] (https://preview.redd.it/making-mcp-easy-one-click-service-integration-for-everyone-v0-6ga9bsk77loe1. png? width = 1590 & format = png & auto = webp & s = 58b65a3239bc547b96087186af6a9ce367824869) In this way, we not only eliminate the need to modify the ` claude _ desktop _ config.json ` file every time we install an MCP service, we can also record and audit which MCP services the AI model has accessed, what operations it has done, which resources it has accessed, etc. We open source the implementation of ` mcp-proxy `, the source code is here https://github.com/getmcp/mcp-proxy ! [] (https://preview.redd.it/making-mcp-easy-one-click-service-integration-for-everyone-v0-jhycii2l7loe1. jpg? width = 2400 & format = pjpg & auto = webp&s = f9361f06993489bc9ece3c71f318292885a38187) ! [] (https://preview.redd.it/making-mcp-easy-one-click-service-integration-for-everyone-v0-ek962h1g8loe1. jpg? width = 2400 & format = pjpg & auto = webp&s = eeec85b9e3a28829db308689c9b5ae7a716598b9) # # Conclusion I am very excited about the development of MCP. I believe that in the future, the threshold for using MCP services will be lower and lower, and it will become as simple as installing an application in a mobile phone. Here is an attempt by me, hopefully it will help with the installation of the MCP service. I hope you enjoy GetMCP (https://getmcp.cc).

Replies

  • Anonymous1763 Apr 17, 2025
    Haha, I'm doing a similar product too
  • Poster Apr 17, 2025
    @ Anonymous1763 Good luck