
supercorp-ai/superargs
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
런타임 동안 AI MCP 서버 args를 제공합니다.
개요
실행 중에 MCP 서버를 설정할 수 있습니다. 초기 설정에서 대신 조수와 상호 작용하는 동안 인수를 제공합니다. 인증 토큰, 환경 변수, 또는 기타 CLI 인수이든, Superargs는 실행 중에 쉽게 제공 할 수 있습니다. - : 양식 {{argName}}에서 runtime 동안 대체될 args를 가진 stdio MCP 서버를 실행하는 포탄 명령. -: (선택) 갱신/restart args에 사용된 공구를 위한 주문 이름. update args에 기본값. --stdio 명령의 Args는 {{argName}}에 의해 정의됩니다. 예를 들면: 이 명령에서: - {{githubToken}}는 update args 도구 (또는 지정된 경우 사용자 정의 도구 이름)를 사용하여 실행시에 설정할 수있는 arg입니다. - : 시작시, MCP 서버는 어떤 args 세트가 없습니다. - MCP stdio 서버가 args없이 시작할 수 있다면 도구 목록 및 기타 MCP 서버 기능을 제공하지 않고 시작할 수 있습니다.
개요(AI 번역)
Superargs는 실행 중에 MCP 서버 args를 설정할 수 있습니다. 어떤 MCP 서버에 대한 인수를 초기 설정에서 대신 조수와 상호 작용합니다. 인증 토큰, 환경 변수, 또는 기타 CLI 인수이든, Superargs는 실행 중에 쉽게 제공 할 수 있습니다.
superinterface.ai, supermachine.ai 및 supercorp.ai에 의해 지원되는.
임명 & 사용법
npx을 통해 Superargs 실행:
---stdio: 쉘 명령은 args를 사용하여 stdio MCP 서버를 실행하여 양식 {{argName}}에서 runtime 동안 교체합니다.
--update-args-tool-name: (선택 사항) 갱신/restart args에 사용된 공구를 위한 주문 이름. 기본값update_args.
# # # Args를
--stdio] 명령은 {{argName}}]에 의해 정의됩니다. 예를 들면:
이 명령에서:
{{githubToken}}]는update_args]] 도구 (또는 지정된 경우 사용자 정의 도구 이름)를 사용하여 실행 시간에 설정할 수있는 arg입니다.
한번 시작
-
Initial 상태: 시작시, MCP 서버는 어떤 args 세트가 없습니다.
-
MCP stdio 서버가 args없이 시작할 수 있다면 도구 목록 및 기타 MCP 서버 기능을 제공하지 않고 시작할 수 있습니다.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.

Superargs allows setting up MCP server args during runtime. Provide arguments to any MCP server during interaction with assistant instead of during initial setup. Whether it’s authentication tokens, environment variables, or other CLI arguments, Superargs makes it easy to provide it during runtime.
Supported by superinterface.ai, supermachine.ai and supercorp.ai.
Installation & Usage
Run Superargs via npx:
npx -y superargs --stdio "npx -y @modelcontextprotocol/server-postgres {{databaseUrl}}"
--stdio: Shell command that runs a stdio MCP server with args to be replaced during runtime in the form{{argName}}.--update-args-tool-name: (Optional) Custom name for the tool used to update/restart args. Defaults toupdate_args.
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 theupdate_argstool (or a custom tool name if specified).
Once Started
-
Initial state: At the start, the MCP server will not have any args set.
-
If underlying MCP stdio server can start without args, it will try to start without them to provide tools lists and other MCP server functions. If it can work without args, the only difference will be that it will have an additional update_args tool to update args.
-
If the server requires args to start, it will not start until the args are set and it will only have the update_args tool. All other MCP server functions will either return an empty list or an error message.
-
When update_args is used: The server will restart with the new args and all MCP server functions will be available.
-
Tool to Update Args: By default, named
update_args, allows updating args and restarting the child MCP server.
Examples
Another example with GitHub MCP server:
npx -y superargs --stdio "GITHUB_PERSONAL_ACCESS_TOKEN={{githubToken}} npx -y @modelcontextprotocol/server-github"
And with SQLite MCP server:
npx -y superargs --stdio "uv mcp-server-sqlite --db-path={{dbPath}}"
Example with MCP Inspector
-
Run MCP Inspector with Superargs:
npx @modelcontextprotocol/inspector npx -y superargs --stdio "npx -y @modelcontextprotocol/server-postgres {{databaseUrl}}"This command starts Superargs and connects it to MCP Inspector, enabling you to manage your PostgreSQL MCP server through the inspector interface.
-
Manage MCP Server:
With MCP Inspector, you can list tools, run prompts, access resources, or perform other MCP actions through Superargs.
설치
npx -y superargs --stdio "npx -y @modelcontextprotocol/server-postgres {{databaseUrl}}"