> For the complete documentation index, see [llms.txt](https://docs.wayfound.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wayfound.ai/mcp-server/using.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
