# Connect VS Code to PineBill

> Add PineBill to VS Code with one click and manage time, tasks and invoices from Copilot agent mode.

Visual Studio Code is Microsoft's code editor, with MCP support in Copilot agent mode. PineBill's MCP server lets VS Code work with your PineBill invoices, estimates, customers, products, expenses, projects, tasks, timers, calendar and reports.

Server URL: https://www.pinebill.app/api/mcp (remote MCP over Streamable HTTP, OAuth 2.1 sign-in, no API key).

## Setup

1. Click Add to VS Code, or run MCP: Add Server, choose HTTP and enter the server URL.
2. Run MCP: List Servers, pick PineBill and choose Start Server.
3. Allow the sign-in, then sign in to PineBill and choose your access.

.vscode/mcp.json:

```
{
  "servers": {
    "pinebill": {
      "type": "http",
      "url": "https://www.pinebill.app/api/mcp"
    }
  }
}
```

## Try asking

- “List my open tasks in the Acme project.”
- “Log 90 minutes on the code review task.”
- “What did we invoice this quarter?”

## Access and cost

- You choose view only or view and edit on the PineBill consent screen when you sign in.
- VS Code acts as you: your PineBill role and plan limits still apply, and Guests are always view only.
- Disconnect VS Code at any time in Settings → Connect MCPs; it loses access on its next request.
- Working through MCP doesn't use PineBill AI credits.

## Other apps

- [Claude](https://www.pinebill.app/features/mcp/claude) — Markdown at https://www.pinebill.app/features/mcp/claude.md
- [ChatGPT](https://www.pinebill.app/features/mcp/chatgpt) — Markdown at https://www.pinebill.app/features/mcp/chatgpt.md
- [Cursor](https://www.pinebill.app/features/mcp/cursor) — Markdown at https://www.pinebill.app/features/mcp/cursor.md
- [Claude Code](https://www.pinebill.app/features/mcp/claude-code) — Markdown at https://www.pinebill.app/features/mcp/claude-code.md
- [Codex](https://www.pinebill.app/features/mcp/codex) — Markdown at https://www.pinebill.app/features/mcp/codex.md

## Links

- [VS Code setup page](https://www.pinebill.app/features/mcp/vs-code): this page.
- [Full VS Code guide](https://www.pinebill.app/docs/mcp/developer-tools#vs-code): step-by-step documentation.
- [MCP Server](https://www.pinebill.app/features/mcp): what the MCP server does. Markdown at https://www.pinebill.app/features/mcp.md.
- [Available tools](https://www.pinebill.app/docs/mcp/available-tools): every tool and its access level.
- [Sign up](https://www.pinebill.app/auth/signup): start a 7-day free trial, no credit card required.
