summarylogtreecommitdiffstats
path: root/agentgateway.yaml
blob: f2b07528f24f409daade87a167cbd674e0207337 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Default agentgateway configuration
# This configuration sets up a basic gateway that listens on port 3000
# and connects to an example MCP server using stdio

binds:
  - port: 3000
    listeners:
      - routes:
          - policies:
              cors:
                allowOrigins:
                  - "*"
                allowHeaders:
                  - mcp-protocol-version
                  - content-type
                  - cache-control
            backends:
              - mcp:
                  targets:
                    - name: everything
                      stdio:
                        cmd: npx
                        args: ["@modelcontextprotocol/server-everything"]