fichapao-mcp-server
Manages recipe technical sheets for bakeries, providing tools for creating, updating, approving, comparing versions, and storing data in a PostgreSQL database.
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., "@fichapao-mcp-serversearch for baguette recipe"
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.
FichaPao MCP Server
Servidor MCP HTTP para o agente FichaPao AI controlar fichas tecnicas de panificadora com Postgres.
O objetivo deste app e oferecer ferramentas seguras para o agente, sem expor SQL livre.
Arquitetura
OpenWebUI
-> Agente FichaPao AI
-> MCP HTTP /mcp
-> fichapao-mcp-server
-> PostgresFerramentas MCP
search_recipe: busca ficha por nome.get_recipe: consulta ficha porrecipe_id,version_idou nome.create_recipe_draft: cria ficha em rascunho0.1.update_draft: atualiza versao em rascunho ou revisao.create_new_version: cria nova versao em rascunho.approve_version: aprova versao se nao houver pendencias bloqueantes.list_pending_items: lista pendencias.register_production_test: registra teste de producao.compare_versions: compara duas versoes.archive_recipe: arquiva ficha.get_database_stats: resumo da base.
Regras Implementadas
Ficha nova sempre entra como
rascunho.Versao inicial e
0.1.Ficha aprovada nao pode ser editada diretamente.
Alteracao em ficha aprovada deve virar nova versao em rascunho.
Aprovacao bloqueia quando existem pendencias criticas.
Primeira aprovacao de versao
0.xvira1.0.O banco separa:
current_version_id: versao mais recente/em trabalho.active_version_id: versao aprovada em producao.
Rodar Local
cp .env.example .env
docker compose up --buildHealth check:
curl http://localhost:3001/healthEndpoint MCP:
http://localhost:3001/mcpNo docker-compose.yml, a porta local esta mapeada como 3001:3000 para evitar conflito com apps comuns que ja usam 3000.
Se MCP_API_KEY estiver preenchida, envie:
Authorization: Bearer sua-chaveDeploy No EasyPanel
Crie dois serviços:
Postgres
App Docker apontando para este repositório
Variáveis do App:
NODE_ENV=production
PORT=3000
DATABASE_URL=postgresql://usuario:senha@host:5432/fichapao
AUTO_MIGRATE=true
MCP_API_KEY=troque-por-uma-chave-forte
CORS_ORIGIN=*Depois de publicar, valide:
https://seu-dominio/healthNo OpenWebUI:
Admin Settings -> External Tools -> Add MCP Server
URL: https://seu-dominio/mcp
Auth: Bearer token com o valor de MCP_API_KEYBanco De Dados
Migration principal:
migrations/001_init.sqlTabelas:
recipesrecipe_versionspending_itemsproduction_testschange_history
Desenvolvimento
npm install
npm run typecheck
npm run build
npm run devThis server cannot be installed
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
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/kratos4ai/fichapao-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server