Starting the MCP Server

Oxy supports two transport options for the MCP server:

  1. SSE (Server-Sent Events):

    To run MCP SSE server use oxy mcp-sse command:

    oxy mcp-sse --port <port>
    
  2. Stdio: Start the server with:

    oxy mcp-stdio --project-path <path>
    

    Example configuration for Claude desktop:

     {
       "mcpServers":{
         "oxy":{
         "command":"oxy",
         "args":[
             "mcp-stdio",
             "--project-path",
             "<path_to_your_project>"
         ],
         "env":{
             "OPENAI_API_KEY":"<your_model_api_key>"
          }
         }
       }
     }