spring_beans
MCP tools › HTTP and web
The project's beans read from Java sources for Spring, Jakarta EE/CDI, Quarkus and Micronaut: beans (name, type, kind, file, 0-based line, primary/alternative, qualifiers, conditions; test-source beans marked test), injection points with the beans that fit, configuration keys from application*.properties/yml (never their values), keys used in code, frameworks, and problems (missing or ambiguous beans, undefined keys as warning; field injection as weak). With path: that file's gutter marks and resolved ${…} values (secret-looking keys masked). With bean: its dependencies and dependents. For one configuration key use config_key.
Its results carry text from files: the client is told to treat that as data, never as instructions.
| Capability | web.spring_beans |
|---|---|
| Area | HTTP and web |
| Access | reads only |
| Reaches | — |
| Rights | none |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
path | string | Workspace-relative Java file: also return its gutter marks (marks) and the resolved
configuration values shown in place of its ${…} placeholders (values). |
bean | string | Name of a bean: also return what it needs (dependencies) and what needs it
(dependents). |
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 spring_beansInput schema as JSON
{ "type": "object", "properties": { "path": { "description": "Workspace-relative Java file: also return its gutter marks (`marks`) and the resolved\nconfiguration values shown in place of its `${…}` placeholders (`values`).", "type": [ "string", "null" ] }, "bean": { "description": "Name of a bean: also return what it needs (`dependencies`) and what needs it\n(`dependents`).", "type": [ "string", "null" ] } }}