Skip to content
VS Code

agentify for VS Code

io.github.sani-savaliya/agentify

Turn any OpenAPI/Swagger spec into an MCP server - every API operation becomes an agent tool.

client:VS Code transport:stdio runtime:npm

Install agentify in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "agentify-bearer-token",
      "description": "AGENTIFY_BEARER_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentify-api-key",
      "description": "AGENTIFY_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentify-api-key-header",
      "description": "AGENTIFY_API_KEY_HEADER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentify-api-key-query",
      "description": "AGENTIFY_API_KEY_QUERY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentify-basic-user",
      "description": "AGENTIFY_BASIC_USER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentify-basic-pass",
      "description": "AGENTIFY_BASIC_PASS",
      "password": true
    }
  ],
  "servers": {
    "agentify": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agentify-openapi"
      ],
      "env": {
        "AGENTIFY_BEARER_TOKEN": "${input:agentify-bearer-token}",
        "AGENTIFY_API_KEY": "${input:agentify-api-key}",
        "AGENTIFY_API_KEY_HEADER": "${input:agentify-api-key-header}",
        "AGENTIFY_API_KEY_QUERY": "${input:agentify-api-key-query}",
        "AGENTIFY_BASIC_USER": "${input:agentify-basic-user}",
        "AGENTIFY_BASIC_PASS": "${input:agentify-basic-pass}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

agentify in other clients