# Using

### MCP Server Address

The Wayfound MCP server can be accessed at:

```
https://app.wayfound.ai/mcp
```

### Authentication

You can authenticate into Wayfound using either OAuth or an API key.  Both methods can be done on the Wayfound Settings/Connections screen

You can create an MCP API key in the Wayfound Settings/API screen

<figure><img src="/files/S9Xme0BOb1NF8ll3OHcW" alt=""><figcaption></figcaption></figure>

#### OAuth

An organization admin can enable OAuth for their organization by toggling the "Wayfound MCP Server OAuth" switch in the blue banner.

#### API Key

The MCP API key must be passed as an Authorization bearer token. Be sure to use Key Type: MCP

<figure><img src="/files/DTu8W3OHlwvrPMuS56CT" alt=""><figcaption></figcaption></figure>

### Cursor Example

Add the following to your mcp.json file.  Choose the example that matches your authentication method:

#### API Key

```
{
  "mcpServers": {
    "wayfound": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://app.wayfound.ai/mcp",
        "--header",
        "Authorization:${AUTH_HEADER}"
      ],
      "env": {
        "AUTH_HEADER": "Bearer <YOUR_MCP_API_KEY>"
      }
    }
  }
}
```

#### OAuth

```
{
  "mcpServers": {
    "Wayfound": {
      "url": "https://app.wayfound.ai/mcp",
      "transport": "http"
    }
  }
}
```

### Claude Code Example

Run the following command line to add Wayfound MCP server to Claude Code:

#### API Key

```
claude mcp add --transport http wayfound https://app.wayfound.ai/mcp --header "Authorization: Bearer <YOUR_MCP_API_KEY>"
```

#### OAuth

```
claude mcp add --transport http wayfound https://app.wayfound.ai/mcp
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wayfound.ai/mcp-server/using.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
