foreman-mcp-py
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@foreman-mcp-pyshow me all hosts with status 'error' in the production environment"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
foreman-mcp-py
How to run
Using uv locally
# uv run foreman-mcp \
--foreman-url https://my-foreman-instance.something.somewhere \
--foreman-username $FOREMAN_USERNAME \
--foreman-password $FOREMAN_PASSWORD \
--log-level debug \
--host localhost \
--port 8080Related MCP server: Foreman MCP Server
Using vscode
Example vscode config
# settings.json
{
"mcp": {
"servers": {
"foreman-mcp-py": {
"type": "sse",
"url": "http://localhost:8080/mcp/sse",
}
}
},
}Using container
First, build the container:
podman build -t foreman-mcp .Now run the container:
podman run -it -p 8080:8080 foreman-mcp --foreman-url https://my-foreman-instance.something.somewhere --foreman-username $FOREMAN_USERNAME --foreman-password $FOREMAN_PASSWORD --log-level debug --port 8080 --host localhostUsing MCP Inspector
For use with mcp inspector
Start the inspector with
npx @modelcontextprotocol/inspectorOpen
http://localhost:6274in your browserSet
TypetoStreamable HTTPandURLtohttp://localhost:8080/mcp
or set
TypetoSSEandURLtohttp://localhost:8080/sse
Click connect
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/adamruzicka/foreman-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server