- Home
- MCP servers
- Pylpex
Pylpex
- python
1
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"golto-pylpex-mcp": {
"command": "uv",
"args": [
"--directory",
"$ABSOLUTE/PATH/TO/THE/PROJECT/pylpex-mcp",
"run",
"mcp",
"run",
"main.py"
]
}
}
}The Pylpex MCP Server lets Claude Desktop run Pylpex code inside a dedicated, isolated process and expose essential tools for interactive work. It enables you to execute code, tokenize, inspect variables, and reset the interpreter state directly from the MCP-enabled client, streamlining development and experimentation without leaving your editor.
How to use
You connect to the Pylpex MCP Server from your MCP-enabled client to run Pylpex code, tokenize source, inspect variables, and reset the interpreter. Use the run tool to execute snippets and obtain results, the tokenize tool to convert code into tokens for analysis, get_variables to inspect the current state, and reset to clear the interpreter state and start fresh.
How to install
Prerequisites: ensure you have a runtime available for MCP commands (uv) installed on your system.
Step 1: Clone the Pylpex MCP repository and enter the project directory.
Available tools
run
Execute Pylpex code and return the result.
tokenize
Convert Pylpex code into tokens for analysis using the Lexer component.
get_variables
Retrieve all variables in the current interpreter state.
reset
Reset the interpreter state.
get_documentation
Access documentation for the Pylpex language to learn syntax and available functions.
get_examples
Retrieve example Pylpex code snippets.