Developer Page: MCP Connector

Manage MCP gateway settings from Developer page and connect scoped Taskyy tools to ChatGPT-compatible agents.

Developer Page - MCP Connector

The Taskyy MCP Connector lets you connect Taskyy to ChatGPT and other MCP-compatible agents so your team can use AI to perform real CRM actions with contractor software guardrails.

Development Notice (as of 2026-10-10): MCP management from Developer page is available now and independent from the AI Assistant plugin toggle. This flow is still in active development, with full release expected by the end of 2026.

What This Feature Does

  • Exposes Taskyy tools through MCP endpoints.
  • Lets users bring their own ChatGPT subscription and connect with an Agent API key.
  • Supports read and write operations with account-level policy controls.
  • Logs every MCP tool execution for audit and troubleshooting.

Why It Matters

  • Turns Taskyy into agent-ready contractor management software without forcing users onto one AI model.
  • Gives field teams faster workflows for invoices, tasks, schedules, and client follow-ups.
  • Keeps security and permissions tied to Taskyy account scopes.

Prerequisites

  • Developer mode enabled in Profile settings.
  • At least one Agent API key created in Developer page.
  • Required scopes depending on tool usage:
    • agent:receptionist
    • agent:project_manager
    • agent:invoice_manager

Setup Checklist

  1. Open Developer page.
  2. Enable MCP gateway.
  3. Save write policy settings:
    • Allow write tools: optional (recommended off for first setup)
    • Require confirmation for writes: recommended on
  4. Create an Agent API key with required scopes.
  5. In ChatGPT or another MCP client, configure:
    • Manifest URL from MCP page
    • Auth token: your Agent API key
  6. Call /tools and verify tool discovery.
  7. Run a read tool first, then test a write tool with confirm=true.

Connection Modes

Mode 2 (Shipped Now): Manual MCP

  • Uses Manifest URL + auth token (your Agent API key).
  • Works today and is the recommended launch mode.

Mode 1 (Coming Soon): ChatGPT OAuth Connect

  • One-click connect from Developer page MCP section.
  • Will be enabled when partner OAuth credentials are configured.

OAuth Endpoints (Taskyy)

  • GET /api/ai-assistant/mcp/oauth/status
  • POST /api/ai-assistant/mcp/oauth/connect/start
  • POST /api/ai-assistant/mcp/oauth/revoke
  • GET /api/public/ai-assistant/mcp/chatgpt/callback

MCP Endpoints

  • POST /api/mcp (Streamable HTTP JSON-RPC)
  • GET /api/mcp/manifest
  • GET /api/mcp/tools
  • POST /api/mcp/execute
  • POST /api/mcp/tools/:toolName/execute

MCP JSON-RPC Methods

  • initialize
  • notifications/initialized
  • tools/list
  • tools/call
  • openai/settings/read
  • openai/settings/update

OAuth Discovery Endpoints

  • GET /api/mcp/.well-known/oauth-protected-resource
  • GET /api/mcp/.well-known/oauth-authorization-server
  • GET /api/mcp/oauth/.well-known/oauth-authorization-server
  • GET /api/mcp/oauth/authorize
  • POST /api/mcp/oauth/token
  • POST /api/mcp/oauth/revoke
  • POST /api/mcp/oauth/register

Authentication for MCP Calls

  • ChatGPT OAuth mode: use OAuth access token from Taskyy MCP OAuth flow.
  • Manual mode (compatible clients): use your MCP client's auth token field with <your_agent_api_key>.
  • Compatibility fallback (non-ChatGPT clients): X-Taskyy-Api-Key: <your_agent_api_key>.

Current V1 Tool Set

  • client.search
  • lead.create
  • task.create
  • task.list
  • task.add_note posts progress updates to Activity & Notes
  • task.update
  • task.delete
  • calendar.create_event
  • invoice.list
  • invoice.create_draft
  • invoice.update edits dates, job PO, job address, notes, terms, or line items using agent:invoice_manager. Include the full replacement list when editing items.
  • calendar.link_invoice links an installation event by eventId and invoiceId using both agent:project_manager and agent:invoice_manager. The event must belong to the invoice client or have no assigned client.

Write Safety Model

  • MCP can be enabled or disabled per account.
  • Write tools can be globally disabled per account.
  • Write calls can require confirm=true.
  • Scope checks are enforced on every tool execution.
  • Rate limits apply to execution endpoints.

Activity Logs

The MCP page displays recent tool activity, including:

  • Tool name
  • Success/failure state
  • Status code
  • Duration
  • Timestamp

Use these logs to troubleshoot invalid arguments, missing scopes, and blocked write policies.

Common Issues

Missing scope error

Update the Agent API key scopes in Developer page and retry.

MCP disabled error

Enable MCP in Developer page -> MCP and save settings.

Write tools blocked

Turn on Allow write tools in MCP settings and keep confirm=true in write requests.

Confirmation required

Include confirm=true in the request args for write tools when confirmation is enabled.

ChatGPT OAuth not configured

If your deployment is missing OAuth client/redirect configuration, use Manual MCP mode with auth token (Agent API key) now.

Recommended Launch Policy

  • Start with read tools only.
  • Enable invoice draft creation first.
  • Roll out task and calendar writes after one week of clean logs.
  • Keep confirmation required for all writes in production.

Related Docs

  • AI Assistant Email Module: /docs/plugin-ai-assistant-email
  • AI Assistant SMS Module: /docs/plugin-ai-assistant-sms
  • AI Assistant Voice Module: /docs/plugin-ai-assistant-voice

Last updated: 2026-10-10

Website Manager MCP

Website access is opt-in on the Developer page. Existing API keys retain their scopes.

  • agent:website_read: read the site, template guides, image inventory, project-map addresses and visitor counts.
  • agent:website_manage: includes website read access and enables public-site editing, template switching, image uploads/deletion and map-pin visibility changes.

For OAuth, both the connected API key and the OAuth token must explicitly grant website access. For clients requesting the general mcp.tools permission, a fresh connection snapshots the website permissions currently enabled on the API key after the connection screen explains that delegation. Older OAuth connections must reconnect after the backend update. Explicit website-only grants remain limited to the requested scope. OAuth discovery advertises these scopes; consent cannot exceed the key's permissions. Existing account-level write/confirmation policies and execution audit logs apply to website tools.

Tools and naming

Canonical names are shown below. MCP clients see underscore names, for example website_templates_describe and website_assets_upload_prepare.

| Tool | Use | | --- | --- | | website.get | Current content, public URL and version | | website.templates.list | Template choices | | website.templates.describe | Defaults, schemas, rendering limitations and authoring guidance | | website.template.apply | Switch template using preserve or reset mode | | website.update | Save partial changes immediately to the public website | | website.validate | Validate proposed content without saving | | website.assets.list | Paginated owned images, including legacy website uploads | | website.assets.upload.prepare | Signed PUT destination, using a stable requestId | | website.assets.upload.complete | Verify bytes and promote the image to its final URL | | website.assets.delete | Delete an unused owned image | | website.map.locations.list | Job addresses and website pin visibility only | | website.map.locations.update | Set pin visibility explicitly, without toggling blindly | | website.stats.get | Visitor counts for 1–90 days |

Agent workflow

  1. Read website.get and retain its version.
  2. List templates and call website.templates.describe before choosing one. Read ignoredContentFields: Professional does not render testimonials/profile pictures/social links; Verdant does not render the biography, about image, testimonials or social links. Some light templates override background/text colors.
  3. Switch with website.template.apply, passing templateId, expectedVersion, and mode: "preserve". This keeps existing content and applies template colors. Reset mode replaces template content but retains business identity, contacts and public-listing choice. Template defaults are demonstration content: replace unverified claims and reviews before using them.
  4. For an image, call upload.prepare with requestId, contentType, and byte size. PUT the actual file bytes to the returned URL using its headers, then call upload.complete with the assetId. Supported formats: JPEG, PNG, WebP, GIF; maximum 10 MB. Completion verifies actual image format and dimensions. The final public image cannot be overwritten with the temporary upload URL.
  5. Call website.validate with proposed changes. Use website.update with the latest expectedVersion. For example: { "expectedVersion": 3, "changes": { "tagline": "Beautiful windows. Expert installation.", "contactInfo": { "phone": "647-555-0100" } }, "confirm": true }.
  6. Open the returned publicUrl to inspect the real rendered website. The builder has no live rendering preview.

Omitted fields remain unchanged. Empty strings clear text/images. Nested objects merge; arrays replace the full collection, so read before adding, editing, removing or reordering items. Custom-section HTML permits basic formatting tags without attributes. HTTP(S) URLs and six-digit hex colors are required for agent changes.

Save results return the next version. A VERSION_CONFLICT means the user or another agent changed the site: reread and reapply your intended changes rather than overwriting blindly. A lost successful response can produce this conflict on retry; reread to determine whether the change already applied. Upload preparation/completion are retry-safe using requestId/assetId.

Domain registration, purchases, renewals, DNS, reassignment and customDomain writes are unavailable. A public handle must already exist; automatic setup of the existing Taskyy subdomain is preserved. Custom-domain metadata is read-only.

Verification

Run node --test vercel-api/tests/websiteManager.test.js and npm run build. Service tests use isolated database/storage doubles, including real image-byte verification. Production OAuth, database and R2 behavior should be smoke-tested on a staging account before release; do not use a customer's public site as a test fixture.