devvit-mcp logo

devvit-mcp

by reddit

devvit-mcp is a companion MCP server for writing applications on Reddit's developer platform. It is currently under active development and APIs are experimental.

View on GitHub

Last updated: N/A

What is devvit-mcp?

devvit-mcp is a companion server designed to facilitate the development of applications for Reddit's developer platform using the Model Context Protocol (MCP). It provides a local environment for testing and debugging applications before deployment.

How to use devvit-mcp?

To use devvit-mcp, add the provided configuration to your mcp.json file. Clone the repository, navigate to the directory, use nvm use, install dependencies with npm install, and start the server with npm run dev.

Key features of devvit-mcp

  • Local development environment

  • MCP server

  • Integration with Reddit's developer platform

  • Debugging support

Use cases of devvit-mcp

  • Developing Reddit applications

  • Testing Reddit application features locally

  • Debugging Reddit application code

  • Integrating with LLMs and other tools via MCP

FAQ from devvit-mcp

How do I install devvit-mcp?

Add the provided configuration to your mcp.json file, clone the repository, navigate to the directory, use nvm use, install dependencies with npm install.

How do I start the devvit-mcp server?

After installation, navigate to the directory and run npm run dev.

What should I avoid when debugging?

Avoid using console.log in the hot path of your app. Use console.error only when running through MCP.

What's the best way to debug?

Using Claude desktop and connecting the MCP there provides a good debugging experience with log files.

What does 'Server does not support logging' error mean?

It means you need to add the logging capability to your new MCPServer. Refer to the provided permalink for the correct key to add.