- Extract core MCP logic into a new `mcpcore` module - Remove logging that interferes with JSON-RPC over STDIO - Improve server loop to parse requests before handling - Add stub for `logging/setLevel` JSON-RPC method - Refactor vcode server into a dedicated logic submodule
16 lines
497 B
V
16 lines
497 B
V
module vcode
|
|
|
|
// Placeholder VCode struct for the MCP vcode server
|
|
@[heap]
|
|
pub struct VCode {
|
|
v_version string = '0.1.0'
|
|
}
|
|
|
|
// Placeholder function that will be implemented once mcpcore compilation issues are resolved
|
|
pub fn new_mcp_server(v &VCode) !string {
|
|
// Note: Removed logger.info() as it interferes with STDIO transport JSON-RPC communication
|
|
|
|
// TODO: Implement actual MCP server creation once mcpcore module is fixed
|
|
return 'VCode MCP server placeholder - version ${v.v_version}'
|
|
}
|