- AI and MCP
- Connect your agent
AI and MCP
Connect your agent
Set up the Enterprise MCP in Claude, Cursor, VS Code, Codex, Gemini CLI and other clients.
In every client, the address is the same:
https://mcp.enterprise.treeunfe.com.br/mcp
On the first connection, the client opens the Enterprise account sign-in. Name the integration, select the permissions and choose HOMOLOGACAO or PRODUCAO. See Sign-in.
Claude (web and desktop)
Claude Code
Cursor
VS Code
Codex
Gemini CLI
- Open Settings → Connectors.
- Click Add custom connector.
- Give it a name (for example,
Treeunfe Enterprise) and paste the server address. - Click Connect and finish sign-in.
The Treeunfe tools show up in the conversation’s tools menu.
Other clients
Any client that supports remote MCP and OAuth sign-in works:
| Field | Value |
|---|---|
| URL | https://mcp.enterprise.treeunfe.com.br/mcp |
| Transport | HTTP (Streamable HTTP) |
| Authentication | OAuth 2.1 with PKCE and dynamic client registration |
The client discovers sign-in on its own, from the server’s 401 response.
Test the connection
Start with read-only requests:
List the Treeunfe tools you have available.
List the companies in the Enterprise account.
If the agent says it has no access, check:
- that sign-in finished (in Claude Code, see
/mcp); - that the authorization included read permission;
- that the organization for the operation is active.