Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| REPLIT_TOKEN | Yes | Your Replit connect.sid cookie token. Log into Replit in your browser, open Developer Tools (F12), go to Application > Cookies > replit.com, and copy the value of connect.sid |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_current_user | Get information about the currently authenticated Replit user |
| list_repls | List repls owned by the current user |
| get_repl_by_url | Get information about a repl by its URL |
| set_active_repl | Set the active repl ID for subsequent file operations |
| read_file | Read the contents of a file in a Replit workspace |
| write_file | Write content to a file in a Replit workspace |
| list_files | List files and directories in a Replit workspace |
| create_file | Create a new file in a Replit workspace |
| delete_file | Delete a file from a Replit workspace |
| create_directory | Create a new directory in a Replit workspace |
| run_repl | Start/run a Replit workspace |
| stop_repl | Stop a running Replit workspace |
| search_files | Search for content within files in a Replit workspace |
| get_user_by_id | Fetch user information by their numeric ID |
| get_user_by_username | Fetch user information by their username |
| create_repl | Create a new repl |
| fork_repl | Fork an existing repl by URL |
| delete_repl | Delete a repl by ID (requires confirmation) |
| get_secrets | List all environment variables/secrets for a repl |
| set_secret | Set an environment variable/secret for a repl |
| delete_secret | Delete an environment variable/secret from a repl |
| get_deployment | Get deployment information for a repl |
| create_deployment | Deploy/publish a repl |
| get_repl_details | Get detailed repl information including comments, multiplayers, tags, run count, like count, and fork count |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |