---
title: "Reddit Integration"
description: "Browse subreddits, search posts, submit content, and vote on Reddit"
---
The Reddit integration provides access to browse subreddits, search posts, submit content, and vote on Reddit through the Integrate MCP server.

## Installation

The Reddit integration is included with the SDK:

```typescript
import { redditIntegration } from "integrate-sdk/server";
```

## Setup

### 1. Create a Reddit OAuth App

1. Create an OAuth application for Reddit
2. Configure your redirect URI
3. Note your Client ID and Client Secret

### 2. Configure the Integration on Your Server

Add the Reddit integration to your server configuration. The integration automatically reads `REDDIT_CLIENT_ID` and `REDDIT_CLIENT_SECRET` from your environment variables:

```typescript
import { createMCPServer, redditIntegration } from "integrate-sdk/server";

export const { client: serverClient } = createMCPServer({
  apiKey: process.env.INTEGRATE_API_KEY,
  integrations: [
    redditIntegration({
    }),
  ],
});
```

You can override the environment variables by passing explicit values:

```typescript
redditIntegration({
  clientId: process.env.CUSTOM_REDDIT_ID,
  clientSecret: process.env.CUSTOM_REDDIT_SECRET,
});
```

### 3. Client-Side Usage

The default client automatically includes all integrations. You can use it directly:

```typescript
import { client } from "integrate-sdk";

await client.authorize("reddit");
// Use client.reddit methods after connecting
```

If you're using a custom client, add the integration to the integrations array:

```typescript
import { createMCPClient, redditIntegration } from "integrate-sdk";

const customClient = createMCPClient({
  integrations: [redditIntegration()],
});
```

## Configuration Options

<AutoTypeTable
  path="../src/integrations/reddit.ts"
  name="RedditIntegrationConfig"
/>


## Tools

### `reddit_get_me`

Get me

_No parameters._

### `reddit_get_subreddit_about`

Get subreddit about

_No parameters._

### `reddit_list_subreddit_posts`

List subreddit posts

_No parameters._

### `reddit_get_post_thread`

Get post thread

_No parameters._

### `reddit_search`

Search

_No parameters._

### `reddit_submit_post`

Submit post

_No parameters._

### `reddit_comment`

Comment

_No parameters._

### `reddit_vote`

Vote

_No parameters._

### `reddit_list_my_subreddits`

List my subreddits

_No parameters._

### `reddit_list_popular_subreddits`

List popular subreddits

_No parameters._

## Notes

- Category: Social Media
- Authentication mode: OAuth
