MCP.so
登录

Devvit MCP Server

@reddit

基本信息

分类

其他

许可证

BSD-3-Clause

传输方式

stdio

作者

reddit

关于 Devvit MCP Server

MCP server for writing Devvit applications

Devvit MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "devvit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@devvit/mcp"
      ]
    }
  }
}

Devvit MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

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.

常见问题

1

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" }`.

2

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.

3

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.

4

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.

5

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.

评论

其他 分类下的更多 MCP 服务器