Remote MCP gives your AI assistant the ability to validate, generate, and refine Aexol code.
Endpoint: https://api.aexol.ai/mcp Auth:
Authorization: Bearer sk-aexol-team-... Methods: initialize, ping,
tools/list, tools/call
| Tool | Purpose |
|---|---|
remote_start_inference | Generate artifacts (GraphQL, Prisma, routes, frontend) |
remote_get_inference_task | Check on running generation tasks |
remote_refine_aexol_content | Refine raw Aexol content |
remote_start_from | Generate Aexol from natural language |
remote_ingest_cloud_document | Upload docs to knowledge base |
remote_cloud_search | Search team knowledge base |
remote_set_context | Set default team/project scope |
Full tool catalog: Remote MCP Configuration
# Health check
curl -s -X POST "https://api.aexol.ai/mcp" \
-H "Authorization: Bearer sk-aexol-team-..." \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"ping"}'
# Show capabilities
aexol lsp --info
# Start LSP server
aexol lsp --stdio
Neovim:
require('lspconfig').aexol.setup{
cmd = { 'aexol', 'lsp', '--stdio' },
filetypes = { 'aexol' },
}
VS Code: Install from marketplace; already integrated in
vscode-extension/.
Emacs, Sublime: See Working with AI & IDEs.
| Command | What it does |
|---|---|
aexol parse <file> | Parse and display AST |
aexol validate <file> | Validate syntax and semantics |
aexol analyze <file> | Detailed analysis report |
aexol docs <file> [-o out.md] | Generate Markdown docs |
aexol auth login | Authenticate |
aexol lsp --stdio | Start LSP server |
aexol update | Install/update CLI |
Full CLI guide: CLI Commands
import { Parser, Validator } from "@aexol/parser";
const parser = new Parser(source);
const ast = parser.parse();
const result = new Validator(ast).validate();
if (!result.isValid) {
console.error(result.errors);
}
Full API reference: API Reference
// Success
{
"content": [{ "type": "json", "json": {...} }],
"isError": false
}
// Error
{
"content": [{ "type": "text", "text": "Error message" }],
"isError": true
}
| Problem | Fix |
|---|---|
| MCP tool not found | Run tools/list to verify available tools |
| LSP not working | Run aexol lsp --info to verify |
| Invalid JSON-RPC | Include jsonrpc/method/id fields |
| 401 Unauthorized | Use a team API key (sk-aexol-team-...) |
| Topic | Link |
|---|---|
| Language Reference | /docs/aexol/language-reference |
| Workflows & Recipes | /docs/aexol/workflows |
| Advanced Types | /docs/aexol/advanced-types |
| CLI & Tooling | /docs/aexol/cli |
| API Reference | /docs/aexol/api |
| AI & IDE Integration | /working-with-ai-ides |
| Remote MCP | /remote-mcp |
| Models & Providers | /model-providers |