MCP.so
ログイン

Superargs MCP Server

@supercorp-ai

基本情報

カテゴリ

その他

ライセンス

MIT

トランスポート

stdio

作者

supercorp-ai

Superargs MCP Server について

Provide AI MCP server args during runtime.

Superargs MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

Superargs MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is Superargs?

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 additional tool to manage those arguments. It is supported by Superinterface, Supermachine, and Supercorp.

How to use Superargs?

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.

Key features of Superargs

  • 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

Use cases of Superargs

  • Provide authentication tokens to a GitHub MCP server on the fly
  • Supply database connection strings to a PostgreSQL MCP server during a chat session
  • Let end users configure a SQLite database path without admin pre‑configuration
  • Securely pass CLI arguments to any stdio MCP server at runtime

よくある質問

1

What does Superargs do?

Superargs lets you provide arguments (like tokens or file paths) to any MCP server during your interaction with an AI assistant, instead of during initial server setup.

2

How do I run Superargs?

Use the command `npx -y superargs --stdio "your_mcp_command_with_{{args}}"`. The `{{argName}}` placeholders are replaced at runtime using the `update_args` tool.

3

What happens if the MCP server requires arguments to start?

If the server requires arguments to start, it will not start until the arguments are set. Until then, only the `update_args` tool is available; all other MCP functions return empty results or error messages.

4

How are sensitive arguments handled?

Arguments are passed to the child MCP server in the command string; nothing is stored by Superargs. To prevent the LLM from seeing the arguments, make a direct call to the MCP server through your own code rather than letting the assistant call the tool.

5

Can I rename the update_args tool?

Yes, use the optional flag `--update-args-tool-name` to set a custom name. The default name is `update_args`.

コメント

「その他」の他のコンテンツ