Superargs

by supercorp-ai

72 stars
179 downloads
Not rated
GitHub

About

Superargs is a middleware wrapper for MCP servers that allows setting up MCP server arguments during runtime instead of during initial setup. It acts as a proxy that forwards all MCP requests (tools, prompts, resources, messages, roots) to a child server and introduces an…

Details

Author
supercorp-ai
GitHub stars
72
Downloads
179
Categories
Other

- Dynamic arg injection: replace placeholders with runtime values
- Customizable tool name via --update-args-tool-name
- Forwards all MCP requests to the child server
- Sends change notifications when args are updated

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Superargs
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Run Superargs via npx with the --stdio flag and a shell command containing placeholders in the form {{argName}}. For example: npx -y superargs --stdio "npx -y @modelcontextprotocol/server-postgres {{databaseUrl}}". Optionally set a custom tool name with --update-args-tool-name. At start, if the underlying server can run without arguments, it will provide its tools plus an update_args tool; if it requires arguments to start, only the update_args tool is available until arguments are provided.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "superargs": {
            "superargs": {
                "command": "npx",
                "args": [
                    "-y",
                    "superargs",
                    "--stdio",
                    "npx -y @modelcontextprotocol/server-postgres {{databaseUrl}}"
                ]
            }
        }
    }
}

McpServers

{
    "superargs": {
        "command": "npx",
        "args": [
            "-y",
            "superargs",
            "--stdio",
            "npx -y @modelcontextprotocol/server-postgres {{databaseUrl}}"
        ]
    }
}

Args

Args in the --stdio command are denoted by {{argName}}. For example:

npx -y superargs --stdio "GITHUB_PERSONAL_ACCESS_TOKEN={{githubToken}} npx -y @modelcontextprotocol/server-github"

In this command:
- {{githubToken}} is an arg that can be set at runtime using the update_args tool (or a custom tool name if specified).

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.