1. Conduid
  2. IoT
  3. Eudsl
MCP server · IoT

Eudsl

Embedded Universal DSL: a good DSL for us, by us

Unclaimed iot
54Fair

Scored 8 hours ago · breakdown

About Eudsl

Eudsl is an MCP server published by llvm in the IoT category: embedded Universal DSL: a good DSL for us, by us. Conduid read 29 tools from its source: chain_pipeline, clone_module, create_func, delete_session, erase_op, execute_python and 23 more. No package is published for it, so it installs from a source checkout.

The repository has 88 stars and 23 forks, and its last commit was on 2 Dec 2026. Conduid has no tagged release on record for it. Its topics include iot.

Install

From source
git clone https://github.com/llvm/eudsl

Tools (29)

chain_pipelineApply additional passes to the current IR state (incremental lowering). Must have active IR from run_pipeline first.
ParameterTypeDescription
pipeline *stringPass pipeline string
sessionstring
clone_moduleDeep-copy a module for safe experimentation.
ParameterTypeDescription
dest_varstringDestination variable name
sessionstring
src_varstringSource module variable
create_funcCreate a func.FuncOp with the given name and type signature, add an entry block, and store it in the session. Uses the generated func.FuncOp builder.
ParameterTypeDescription
input_types *arrayInput type strings (e.g. ['i32', 'f32']). Uses Type.parse for convenience.
module_varstringModule to insert into (must exist in session)
name *stringFunction name
result_types *arrayResult type strings (e.g. ['i64']). Uses Type.parse for convenience.
sessionstring
var_namestringVariable to store the FuncOp
delete_sessionDestroy a named session. Cannot delete 'default'.
ParameterTypeDescription
name *stringSession to delete
erase_opDetach and erase an operation from its parent.
ParameterTypeDescription
sessionstring
var_name *stringVariable holding the operation to erase
execute_pythonExecute arbitrary Python code in a persistent MLIR session. The namespace is pre-loaded with: ir (mlir.ir), dialects (mlir.dialects), passmanager (mlir.passmanager), rewrite (mlir.rewrite), execution_engine (mlir.execution_engine), ctx (the session's ir.Context), Pipeline (pass pipeline builder), and helper functions (new_module, run_pipeline, find_ops, find_ops_by_name, print_op_tree, get_module_asm, list_op_names). Access types via ir.IntegerType, ir.F32Type, ir.RankedTensorType, etc. Dialect submodules are not pre-imported, so import the ones you need first, e.g. 'from mlir.dialects import arith, func, scf, linalg'. Until that import runs, attribute access such as dialects.arith raises AttributeError. Pipeline is a fluent pass pipeline builder with methods for every registered MLIR pass (e.g. Pipeline().canonicalize().cse().convert_func_to_llvm()). Use run_pipeline(module, Pipeline().<passes>) to apply. Discovery: use help(<class>) for docs/signatures (e.g. help(arith.AddIOp), help(Pipeline.canonicalize), help(ir.IntegerType)), dir(arith) to list available ops, and dir(Pipeline) to list all passes. Variables persist between calls. Use generated builders for types/attrs/ops (e.g. ir.IntegerType.get_signless(32), arith.AddIOp(lhs, rhs)). Note: PascalCase op classes (arith.AddIOp) return OpView objects — use .result to get the Value. snake_case helpers (arith.addi) return Values directly. Type.parse/Attribute.parse are only for unregistered dialects.
ParameterTypeDescription
code *stringPython code to execute
resetbooleanReset user variables before executing
sessionstringSession name
get_current_irReturn the current IR text from the pipeline workflow.
ParameterTypeDescription
sessionstring
get_module_asmGet the MLIR assembly text of a named module/operation variable.
ParameterTypeDescription
debug_infobooleanInclude debug location info
sessionstring
var_namestring
get_op_infoGet detailed info about a specific operation variable: name, attributes, operand types, result types, region count.
ParameterTypeDescription
sessionstring
var_name *stringVariable name holding the operation
historyShow the transformation history with optional diffs.
ParameterTypeDescription
sessionstring
show_diffbooleanShow unified diff between consecutive states
show_irbooleanInclude full IR text in each entry
inspect_opPrint a hierarchical tree of operations (op names and block args).
ParameterTypeDescription
sessionstring
var_name *stringVariable to inspect
list_dialectsList all available dialect modules in mlir.dialects. Use execute_python with help(<dialect>.<OpName>) to get full docs for any op.
ParameterTypeDescription
filterstringSubstring to filter dialect names
list_ir_apisList all public classes and functions in mlir.ir (Context, Module, Operation, Type, etc.). Use execute_python with help(ir.<ClassName>) for full docs and method signatures.
ParameterTypeDescription
filterstringSubstring to filter names
list_opsList all operation classes in a given dialect module (e.g. 'arith', 'func', 'linalg'). Use execute_python with help(<dialect>.<OpName>) for full docs, signature, and examples.
ParameterTypeDescription
dialect *stringDialect name (e.g. 'arith', 'func', 'scf', 'linalg')
filterstringSubstring to filter op names
list_passesList available MLIR passes with descriptions. Optionally filter by substring. Each pass corresponds to a Pipeline() method (e.g. Pipeline().canonicalize()). Use execute_python with help(Pipeline.<name>) for full docs on a specific pass.
ParameterTypeDescription
filterstringSubstring to filter pass names or descriptions
list_rewrite_apisList all public classes and functions in mlir.rewrite (PatternRewriter, TypeConverter, etc.). Use execute_python with help(rewrite.<ClassName>) for full docs and method signatures.
ParameterTypeDescription
filterstringSubstring to filter names
list_sessionsList all active MLIR sessions.
list_variablesList user-defined variables in a session namespace.
ParameterTypeDescription
sessionstring
load_mlir_fileLoad a .mlir file from disk into the session as an ir.Module.
ParameterTypeDescription
path *stringPath to .mlir file
sessionstring
var_namestring
new_sessionCreate a new named MLIR session with its own ir.Context.
ParameterTypeDescription
name *stringName for the new session
parse_mlirParse MLIR text into an ir.Module and store as a session variable.
ParameterTypeDescription
sessionstring
src *stringMLIR source text
var_namestringVariable name to store the module
replace_all_usesReplace all uses of one value with another (SSA use-def chain).
ParameterTypeDescription
new_value_expr *stringPython expression evaluating to the new Value
old_value_expr *stringPython expression evaluating to the old Value (e.g. 'op.results[0]')
sessionstring
resetClear current IR state and transformation history.
ParameterTypeDescription
sessionstring
rewindUndo the last N pass applications, rewinding IR state.
ParameterTypeDescription
sessionstring
stepsintegerNumber of steps to rewind
run_pipelineSet initial MLIR IR and apply a pass pipeline. Initializes transformation history. Pipeline can be just pass names (e.g. 'canonicalize,cse') — it will be auto-wrapped with 'builtin.module(...)' if needed. Note: history/rewind only tracks this tool and chain_pipeline, not execute_python mutations.
ParameterTypeDescription
mlir *stringMLIR source text
pipeline *stringPass pipeline string
sessionstring
save_mlir_fileWrite a module variable to a .mlir file.
ParameterTypeDescription
path *stringDestination file path
sessionstring
var_namestring
symbol_lookupLook up an operation by symbol name (e.g. function name) in a module.
ParameterTypeDescription
result_varstringVariable to store the found operation
sessionstring
symbol_name *stringSymbol name to look up
var_namestringModule variable to search in
verify_moduleVerify a module and return diagnostics.
ParameterTypeDescription
sessionstring
var_namestring
walk_operationsWalk the operation tree and return a structured list of operations. Optionally filter by op name pattern (substring match).
ParameterTypeDescription
filterstringOp name substring filter (e.g. 'arith' or 'func.func')
sessionstring
var_namestring

Security checks

6 checks have not been run yet.

Questions

About Eudsl

How do I install Eudsl?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Eudsl safe to use with an AI agent?

Its trust score is 54 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Eudsl still maintained?

Yes — the last commit was 14 hours ago. The repository has 88 stars and 23 forks.

What tools does Eudsl provide?

Conduid read 29 tools from the source: chain_pipeline, clone_module, create_func, delete_session, erase_op, execute_python, get_current_ir, get_module_asm and 21 more. 28 of them publish their parameters, listed under Tools above.