MCPFinanceiro
Enables configuration management through environment variables loaded from a .env file, allowing customization of database connections and JWT settings
Supported as an optional database backend for storing financial accounting entries, configurable through the DB_URL environment variable
Used for database access and ORM capabilities, allowing the server to manage financial accounting entries through a standardized database interface
Used as the default database backend for storing financial accounting entries in a local file
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., "@MCPFinanceirolist all people in the database"
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.
MCP API
API de CRUD de Pessoas protegida por JWT, construída com FastAPI, SQLAlchemy e Alembic.
🚀 Visão Geral
Linguagem: Python 3.11
Framework: FastAPI
Banco de Dados: SQLite (
mcp.db)ORM: SQLAlchemy + Alembic
Documentação: Swagger UI (OpenAPI)
Autenticação: JWT (Bearer)
Servidor MCP: compatível com o MCP Client Tool do n8n, permitindo que fluxos de IA registrem clientes automaticamente no banco de dados via n8n
Related MCP server: Ledger CLI MCP Server
📂 Estrutura do Projeto
meu_projeto/
├── .env # Variáveis de ambiente
├── requirements.txt # Dependências Python
├── Dockerfile # Imagem Docker
├── docker-compose.yml # Orquestração com Traefik
├── run.py # Entry-point do FastAPI
└── app/
├── config.py # Pydantic Settings
├── database.py # Engine, Session e Base
├── models/ # Modelos SQLAlchemy
├── schemas/ # Schemas Pydantic
├── crud/ # Funções de acesso ao BD
└── api/ # Rotas e dependências de segurança⚙️ Pré-requisitos
Python 3.11+
pip
Docker & Docker Compose (opcional para container)
🔧 Instalação Local
Clone o repositório:
git clone <SEU_REPO_URL> cd meu_projetoCrie e ative um virtualenv:
python3 -m venv .venv source .venv/bin/activate # Linux/macOS .venv\Scripts\activate.bat # WindowsInstale dependências:
pip install --upgrade pip pip install -r requirements.txtConfigure seu
.env(exemplo em.env.example):SECRET_KEY=uma_senha_supersecreta ALGORITHM=HS256 ACCESS_TOKEN_EXPIRE_MINUTES=60 DATABASE_URL=sqlite:///./mcp.dbGere o banco e suba o servidor:
uvicorn run:app --reload
🌐 Uso com Docker Compose
Build e up:
docker-compose build docker-compose up -dAcesse em
https://mcpfinanceiro.adjunto.com.brouhttp://localhost:8000.
📑 Documentação & Swagger UI
OpenAPI JSON:
/openapi.jsonSwagger UI:
/docsClique em Authorize, cole apenas o JWT.
Depois faça chamadas às rotas de
/pessoas.
🔐 Autenticação JWT
Esquema: Bearer JWT
Components/securitySchemes:
bearerAuthAs operações usam
Security(get_current_user)eglobal securityno OpenAPI.
Geração de Token (externa)
Exemplo de geração manual:
python3 - << 'PYCODE'
import jwt, datetime
SECRET_KEY = "uma_senha_supersecreta"
ALGORITHM = "HS256"
payload = {"sub":"usuario", "exp": datetime.datetime.utcnow() + datetime.timedelta(hours=1)}
print(jwt.encode(payload, SECRET_KEY, algorithm=ALGORITHM))
PYCODE📝 Endpoints Principais
Método | Rota | Operation ID | Descrição |
POST |
|
| Cria nova pessoa |
GET |
|
| Lista pessoas |
GET |
|
| Busca pessoa por ID |
PATCH |
|
| Atualiza campos da pessoa |
DELETE |
|
| Remove pessoa |
📂 Migrações com Alembic
Inicializar repo:
alembic init migrationsCriar migration:
alembic revision --autogenerate -m "Descrição"Aplicar:
alembic upgrade head
⚖️ Licença
MIT License © Adjunto Sistemas
This 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.
Related MCP Servers
- AlicenseCqualityDmaintenanceA server that provides advanced mathematical and financial calculation capabilities for AI code assistants, enabling them to perform complex calculations like symbolic calculus, numerical methods, and financial analysis without implementing algorithms directly.18148Inno Setup
- AlicenseCqualityDmaintenanceA Model Context Protocol server that allows AI assistants to query and analyze financial data through Ledger CLI, enabling tasks like financial reporting, budget analysis, and accounting.951MIT
- AlicenseNot gradedqualityDmaintenanceA powerful server that provides administrative control over Supabase PostgreSQL databases through Cursor's Composer and Codeium's Cascade, enabling database management with features for tables, records, schema modifications, and more.912BSD 2-Clause "Simplified"
- AlicenseNot gradedqualityDmaintenanceAn experimental server implementing the Model Context Protocol to allow AI assistants to query and analyze financial data stored in Beancount ledger files using the Beancount Query Language.51MIT
Related MCP Connectors
Personal, family and business books over fiat and crypto. Reads and records; it cannot pay.
Hosted MCP server for Mini Accountant: invoices, expenses, customers, analytics, tax estimates.
MCP server for managing Prisma Postgres.
Appeared in Searches
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/j4mesmorais/MCPFinanceiro'
If you have feedback or need assistance with the MCP directory API, please join our Discord server