fitbro-mcp-server
Executes the automation suite's Cucumber tests on demand via the test-runner container.
Retrieves logs from Docker containers (app, WireMock, Postgres) via the Docker socket.
Runs Gradle tasks (e.g., the 'test' task) in the test-runner container to trigger the automation suite.
Filters application logs to show Liquibase migration activity.
Provides logs from the Spring application.
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., "@fitbro-mcp-serverrun the cucumber tests"
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.
fitbro-mcp-server
A Model Context Protocol server giving Claude (and other MCP clients) read-only access to a running FitBro local environment: Postgres, the app's logs, WireMock's logs, the automation suite's logs — plus an on-demand Cucumber run.
Runs as a sidecar in the FitBroLocal stack on port 8418, serving
http://localhost:8418/mcp.
What it exposes
Tool | Purpose |
| List non-system schemas |
| List tables in a schema |
| Columns, types, constraints |
| Read-only SELECT (auto-LIMIT, |
| Spring app logs (Docker socket, host-file fallback for IDE runs) |
| WireMock verbose logs — every request, match and response |
| Postgres container logs |
| Automation suite logs (host file only) |
|
|
| Run the automation suite in the test-runner container |
All log tools accept tail, since (ISO 8601), until and grep (case-insensitive substring).
Rotated archives (*.YYYY-MM-DD.log.gz) are decompressed and included when since reaches back.
Related MCP server: postgres-mcp-server
Running it
It is a service of the FitBroLocal stack, which builds this repo by path — the repos must sit side by side:
cd ../FitBroLocal/docker && ./run.sh upThen register it once with Claude Code:
claude mcp add --transport http fitbro-mcp-local http://localhost:8418/mcpConfiguration
Everything is environment variables, set by FitBroLocal's compose file. The defaults assume that stack.
Variable | Default | Notes |
|
| Reached over the Compose network, so the service name |
|
| Container name, resolved through the Docker socket |
|
| |
|
| |
|
| |
|
| Gradle task run in the test runner |
The container names are Compose-generated (<project>-<service>-<n>) rather than pinned, because a
bare container_name: postgres collides with every other stack on the machine. If you rename the
Compose project, these have to move with it.
How logs reach it
The app and the suite write to ~/fitbro-logs/<app>/<app>.log through their logback configs;
WireMock writes there too via the config FitBroLocal bind-mounts. This container gets ~/fitbro-logs
mounted read-only at /host-logs, so each tool has two routes:
Service | In Docker | On the host (IDE run) |
Spring app | Docker socket |
|
WireMock | Docker socket |
|
Automation suite | n/a — it runs on the host |
|
Postgres | Docker socket | n/a |
Implementation note
Built on the MCP Python SDK 2.x (MCPServer). Tool schemas are derived from the function
signatures, and the SDK serves streamable HTTP itself — there is no Starlette or uvicorn wiring here.
Scope
Local development only. It is read-only by construction — fitbro_pg_query opens a read-only
transaction and rolls back — but it exposes a database and a Docker socket, so it has no business
anywhere but a developer's machine. There is no auth on the endpoint.
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.
Related MCP Servers
- AlicenseAqualityBmaintenanceRead-only MCP server for on-prem Linux VMs and PostgreSQL over SSH. Check service health, retrieve bounded logs, inspect DB state, and explore table schemas — without terminal access.101MIT
- AlicenseAqualityCmaintenanceLocal MCP server for safe querying and inspecting PostgreSQL databases, with write and maintenance operations disabled by default.8421ISC
- Alicense-qualityCmaintenanceEnables inspecting database schemas and executing read-only SQL queries on a PostgreSQL database via MCP tools.11MIT
- FlicenseCqualityBmaintenanceEnables querying a local PostgreSQL database via MCP tools, such as testing connection and listing clients.2
Related MCP Connectors
MCP server for managing Prisma Postgres.
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
Read-only access to Auralogs production logs: search logs, inspect errors, review AI analyses.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/simo21-ss/fitbro-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server