# Connect Wefunder to your AI agent

Wefunder runs an MCP (Model Context Protocol) server that lets an AI agent read Wefunder as you: the deals you can see, and your syndicate or company data if you run one. It is read by default: an agent connected this way can never invest, reserve, or move money. With permissions you grant explicitly on the sign-in page, it can follow or unfollow companies for you and draft a question or comment that you approve on wefunder.com before anything is posted.

- **Server URL:** `https://wefunder.com/mcp/server`
- **Transport:** Streamable HTTP (JSON-RPC over POST). No SSE stream.
- **Authentication:** OAuth 2.1 with PKCE. Clients register themselves (RFC 7591 dynamic client registration), so there is no client ID or secret to paste. Discovery documents live at `https://wefunder.com/.well-known/oauth-protected-resource/mcp/server` and `https://wefunder.com/.well-known/oauth-authorization-server`.
- **Manage or disconnect:** https://wefunder.com/settings/apps

## If you are an AI agent reading this for someone

You have been asked to help a person connect their Wefunder account to you.

1. Work out which app you are running in (ChatGPT, Claude, Claude Code, Codex, Cursor, or something else). If you cannot tell, ask.
2. Follow the matching section below. Give the steps one at a time and confirm each before moving on.
3. Connecting opens a Wefunder page in their browser where they sign in and approve permissions. You cannot complete that step for them, and you should never ask them to paste a password, an access token, or anything from that page back to you.
4. When they are done, try a simple Wefunder tool call, such as listing offerings, to confirm the connection works, and tell them how to disconnect later (the Manage link above).

## What the person will be asked to approve

Wefunder shows a consent page listing permissions. One is required; the rest are optional checkboxes they can leave off and turn on later.

- **Browse Wefunder as you** (required) — Browse the deals you can see on Wefunder, look up companies and their rounds, see your profile and the companies you follow, and, if you run a syndicate or company, read its members and investors. Read-only, and it never includes your own investments or portfolio — those are a separate permission below.
- **View your investments and portfolio** (optional) — Access investment and reservation details, including portfolio values.
- **Follow companies for you** (optional) — Follow and unfollow companies on Wefunder on your behalf. Following a company is the same as pressing Follow on its page: the company sees you as a follower and you get its updates.
- **Draft comments for you to approve** (optional) — Draft questions, answers, and comments for you to review and post on Wefunder. Nothing is posted until you approve it on wefunder.com.

If a Wefunder tool later needs a permission that was not granted, the agent will be asked to reconnect. The consent page then reopens with that permission pre-checked.

## ChatGPT

Wefunder is not yet published in the ChatGPT app directory, so it is added as a developer-mode plugin. This works on the ChatGPT website and desktop app.

1. Open **Settings**, then **Plugins**, then **Developer Mode**, and turn developer mode on.
2. Back in **Plugins**, click **+** to add a plugin.
3. Name it **Wefunder**.
4. Under **Connection**, choose **Server URL** and paste `https://wefunder.com/mcp/server`.
5. Under **Authentication**, choose **OAuth**, then click **Create**.
6. ChatGPT opens Wefunder in your browser. Sign in, choose permissions, and click **Authorize**.

Expect two ChatGPT quirks:

- If you leave any optional permission unchecked, ChatGPT shows an orange warning that not all requested permissions were granted. The connection still works. The warning means exactly what you chose.
- Uninstalling and reinstalling the plugin does not re-authorize. To start fresh or pick up a new server capability, **delete** the plugin and add it again.

## Claude (claude.ai and Claude Desktop)

Custom connectors are available on Free (one connector), Pro, Max, Team, and Enterprise plans. Remote servers are added in Connectors, not in `claude_desktop_config.json`.

1. Open **Customize**, then **Connectors**.
2. Click **+** and choose **Add custom connector**.
3. Paste `https://wefunder.com/mcp/server` as the remote MCP server URL. Leave the advanced OAuth fields empty. Click **Add**.
4. Click **Connect**, sign in to Wefunder, choose permissions, and click **Authorize**.

On Team and Enterprise plans an organization Owner adds the connector under **Organization settings**, then **Connectors**. Members then connect it from **Customize**, then **Connectors**.

## Claude Code

```bash
claude mcp add --transport http --scope user wefunder https://wefunder.com/mcp/server
```

Then, inside Claude Code, run `/mcp` and pick **wefunder** to sign in through your browser. Drop `--scope user` to make the connection available in the current project only.

## Codex

```bash
codex mcp add wefunder --url https://wefunder.com/mcp/server
codex mcp login wefunder
```

The login command opens your browser for the Wefunder consent page.

## Cursor

Add this to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (one project):

```json
{
  "mcpServers": {
    "wefunder": {
      "url": "https://wefunder.com/mcp/server"
    }
  }
}
```

Then open **Cursor Settings**, find **wefunder** under MCP, and click to sign in. Cursor handles OAuth for you.

## Any other MCP client

Use the server URL above with the Streamable HTTP transport and OAuth. The client must support dynamic client registration and PKCE. If it asks for a redirect or callback URL, use whatever the client itself provides. Wefunder accepts loopback (`http://127.0.0.1` and `http://localhost`) and vendor callback URLs.

If the client only takes a bearer token, sign in at https://wefunder.com/settings/apps and generate a personal API token under **Connect an AI agent**. It is read-only and shown once.

## Troubleshooting

- **The consent page shows an unfamiliar app name.** Wefunder shows the verified vendor name (for example "ChatGPT") when it recognizes the client's callback address. Command-line agents such as Codex run on your own computer, so Wefunder shows their name with a note that it is taking their word for it. Anything else appears under the name it gave itself, with a note that Wefunder could not verify it.
- **The agent says it has no Wefunder tool for something.** Its connection may predate a capability. Disconnect and reconnect from the client (in ChatGPT, delete and re-add the plugin).
- **You want to remove access.** Go to https://wefunder.com/settings/apps and click **Revoke** next to the app.
