Class MCPServer
java.lang.Object
io.github.apexdevtools.apexls.mcp.MCPServer
Main entry point for the Apex Language Server MCP (Model Context Protocol) server.
This server runs on Java 17 and uses the official MCP Java SDK to provide MCP protocol support. It communicates with the main apex-ls core (Java 8) through a bridge interface.
Usage: java -jar apex-ls-mcp.jar
The server communicates via stdin/stdout using the MCP protocol.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MCPServer
-
-
Method Details
-
run
Initialize and run the MCP server.- Throws:
Exception- if server startup fails
-
main
Main entry point for the MCP server.- Parameters:
args- command line arguments
-