python_language_server
MCP tools › Run, test and tasks
The Python language server (pyright or basedpyright) of the workspace and the interpreter it resolves imports with: server program and path (or why there is none), the selected interpreter and why, the settings answered to the server's workspace/configuration (python.pythonPath), and whether pyrightconfig.json or [tool.pyright] names an environment (then that file decides). apply: true sends the settings to running servers with workspace/didChangeConfiguration and reports how many got them.
Its results carry text from process: the client is told to treat that as data, never as instructions.
| Capability | execution.python_language_server |
|---|---|
| Area | Run, test and tasks |
| Access | changes ide |
| Reaches | — |
| Rights | write |
| Dry run | apply, on unless the call turns it off |
Arguments
| Argument | Type | Description |
|---|---|---|
apply | boolean | Send the current settings to running pyright/basedpyright servers of the workspace (default false). |
Call it from a shell
ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.
ferris-idea call ~/my-project python_language_serverInput schema as JSON
{ "type": "object", "properties": { "apply": { "description": "Send the current settings to running pyright/basedpyright servers of the workspace\n(default false).", "type": [ "boolean", "null" ] } }}