OpenCode MCP Server
by marlondivino
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port for remote SSE mode. Default is 3000. | 3000 |
| MCP_MODE | No | Set to 'sse' to enable remote mode via SSE. Default is stdio mode. | stdio |
| MCP_MEMORY_PATH | No | Optional path for per-project memory storage. Default is not set (global memory). |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| refine_promptB | Refines a prompt using semantic memory to make it more contextual and efficient. |
| learn_contextB | Memorizes important information (preference, technical rule, context) for future use. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/marlondivino/open-code-as-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server