MCP.so
Sign In
Servers

Devvit Mcp

@reddit

MCP server for writing Devvit applications

Overview

What is Devvit Mcp?

Devvit Mcp is an MCP (Model Context Protocol) server that serves as a companion for writing applications on Reddit’s developer platform. It is intended for developers building Reddit apps using the Devvit framework.

How to use Devvit Mcp?

Add the Devvit Mcp server to your mcp.json configuration with the command npx -y @devvit/mcp. To opt out of telemetry, set the environment variable DEVVIT_DISABLE_METRICS to true. For local development, clone the repository, run npm install and npm run dev.

Key features of Devvit Mcp

  • Companion MCP server for Reddit developer platform.
  • Easy installation via npx in any MCP client.
  • Supports opt-out of telemetry data collection.
  • Works with Claude Desktop and other MCP-compatible editors.
  • Provides a logger shim to avoid JSON parsing errors.
  • Automated versioning via CI/CD (no manual version bumps).

Use cases of Devvit Mcp

  • Building and testing Reddit applications with an AI-powered coding assistant.
  • Debugging Devvit apps by interacting with them through MCP tools.
  • Automating common Reddit development tasks via MCP‑enabled LLMs.

FAQ from Devvit Mcp

How do I opt out of telemetry?

Set the DEVVIT_DISABLE_METRICS environment variable to "true" in the MCP server configuration. Example: "env": { "DEVVIT_DISABLE_METRICS": "true" }.

Why do I see “Unexpected token” errors when using console.log?

Avoid using console.log in the hot path of your app. The MCP protocol expects strict JSON output; console.log breaks that. Use the provided logger shim instead, which handles conversion automatically.

How can I debug the Devvit Mcp server during development?

Run npm run dev and list/trigger tools directly in your editor. For live testing with logs, use the Claude Desktop app; it writes error logs to your machine that you can view with tail or open in VSCode.

What does the error “Server does not support logging” mean?

The server lacks the logging capability required by some MCP clients. You must add the logging capability when initializing the MCP server. See the typescript-sdk reference for the exact key to include.

How is versioning handled?

Versioning is fully automated through CI/CD. The version in package.json is a placeholder; actual released versions are tracked via git tags only.

More from Other