Skip to main content
Glama
daedalus

mcp-z3-prover

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
create_bool_varB

Create a Boolean variable with the given name.

create_int_varB

Create an Integer variable with the given name.

create_real_varB

Create a Real (floating-point) variable with the given name.

create_int_constantB

Create an integer constant with the given value.

create_real_constantB

Create a real constant with the given value.

add_constraintA

Add a constraint to the solver.

Use variable references like 'bool:x', 'int:y', 'real:z' in expressions. Supports standard Z3 Python API syntax.

solveB

Solve the current problem and return the result.

Checks all added constraints for satisfiability and returns a model if the problem is SAT.

get_model_valueA

Get the value of a variable from the model after solving.

optimizeA

Solve with an optimization objective (maximize or minimize).

Finds the optimal value for the given objective function subject to all added constraints.

reset_solverA

Reset the solver state.

Clears all variables, constants, constraints, and model data. Useful when starting a new problem.

Returns: A dictionary with status and a success message.

Example: >>> create_int_var("x") 'int:x' >>> add_constraint("int:x > 5") {'status': 'success', 'constraint': 'int:x > 5'} >>> reset_solver() {'status': 'success', 'message': 'Solver reset successfully'} >>> list_variables() {'variables': []}

list_variablesA

List all created variables.

Returns: A dictionary containing a list of all variable references.

Example: >>> create_int_var("x") 'int:x' >>> create_bool_var("flag") 'bool:flag' >>> list_variables() {'variables': ['int:x', 'bool:flag']}

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/daedalus/mcp-z3-prover'

If you have feedback or need assistance with the MCP directory API, please join our Discord server