dlp-invest-mcp
Servidor MCP (Model Context Protocol) que expõe a sua carteira da DLPInvest como ferramentas para assistentes de IA — Claude Desktop, Cursor, Claude Code, Windsurf e qualquer cliente compatível com MCP.
⚠️ Pré-requisito
Antes de configurar o MCP, certifique-se de ter o **uv** instalado.
📖 Veja como instalar: https://docs.astral.sh/uv/getting-started/installation/
⚡ Como usar
Instalação
uvx dlp-invest-mcp
No Windows/OneDrive, defina a variável de ambiente UV_LINK_MODE=copy para evitar erros de hardlink (código 396). Isso é suportado nativamente pelo uv e não requer scripts auxiliares.
Via ambiente:
PowerShell:
$env:UV_LINK_MODE="copy"
uvx dlp-invest-mcp
Linux/macOS:
export UV_LINK_MODE="copy"
uvx dlp-invest-mcp
Via configuração do cliente (Cursor, Claude, OpenCode)
Adicione UV_LINK_MODE: "copy" ao bloco de ambiente do seu cliente:
Cursor (~/.cursor/mcp.json ou .cursor/mcp.json):
{
"mcpServers": {
"dlp-invest": {
"command": "uvx",
"args": ["dlp-invest-mcp"],
"env": {
"DLP_INVEST_API_TOKEN": "DLP-seu-token-aqui",
"UV_LINK_MODE": "copy"
}
}
}
}
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"dlp-invest": {
"command": "uvx",
"args": ["dlp-invest-mcp"],
"env": {
"DLP_INVEST_API_TOKEN": "DLP-seu-token-aqui",
"UV_LINK_MODE": "copy"
}
}
}
}
OpenCode: Adapte conforme o formato do seu configuração de ambiente.
Configurar o MCP
Copie o exemplo abaixo para o arquivo de configuração do seu IDE e substitua DLP-seu-token-aqui.
Cursor (.cursor/mcp.json)
{
"mcpServers": {
"dlp-invest": {
"command": "uvx",
"args": ["dlp-invest-mcp"],
"env": {
"DLP_INVEST_API_TOKEN": "DLP-seu-token-aqui"
}
}
}
}
Gemini / OpenCode
Adapte o exemplo do Cursor para o arquivo de configuração do seu IDE. O comando permanece uvx dlp-invest-mcp e a variável DLP_INVEST_API_TOKEN deve estar definida.
Ferramentas Disponíveis
O assistente de IA terá acesso automático a 11 ferramentas financeiras:
obter_operacoesobter_carteiraobter_posicaoobter_rentabilidadeobter_extratoobter_proventosobter_ativosobter_ativos_detalhesobter_corretorasobter_estrategiasobter_subestrategias
Licença
MIT — veja LICENSE.
Metadata
Release files for dlp-invest-mcp 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dlp_invest_mcp-0.1.9.tar.gz | 99.4 kB | Without provenance | Details for dlp_invest_mcp-0.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dlp_invest_mcp-0.1.9-py3-none-any.whl | Python 3 | none | any | Details for dlp_invest_mcp-0.1.9-py3-none-any.whl |
Total release size: 113.4 kB
Release files / dlp_invest_mcp-0.1.9.tar.gz
| Download URL | dlp_invest_mcp-0.1.9.tar.gz |
|---|---|
| Size | 99.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc485e7dbad9a3d2a4dfdecbb248c5f710b994dd98f1a19d300d6e6865a769a5
|
|
BLAKE2b-256 checksum How to use checksums |
f14e9343de7e25a8172b7ab506fd97eb6d2b3115276ce1cbfca2bd710c79e6b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / dlp_invest_mcp-0.1.9-py3-none-any.whl
| Download URL | dlp_invest_mcp-0.1.9-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3dc6ca951f8952ff96af3126a64eba252b801400e28535546dd8e21657aabab4
|
|
BLAKE2b-256 checksum How to use checksums |
5c0fcc7bcab59d48392bfc747d872dc2a9b5e13733fc1d92c85c61ad03b22b44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for dlp-invest-mcp 0.1.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.