diff --git a/agent/connections/linear.ts b/agent/connections/linear.ts new file mode 100644 index 0000000..6c737a0 --- /dev/null +++ b/agent/connections/linear.ts @@ -0,0 +1,17 @@ +import { connect } from "@vercel/connect/eve"; +import { defineMcpClientConnection } from "eve/connections"; +import { always } from "eve/tools/approval"; + +export default defineMcpClientConnection({ + url: "https://mcp.linear.app/mcp", + description: + "V1's Linear workspace. Use for searching and creating issues for the Platform team.", + // Linear issue creation changes external data, so require approval for every call. + approval: always(), + auth: connect({ + connector: "linear/vee", + principalType: "app", + instructions: + "Install the shared V1 Linear connector for Vee and grant access to the V1 workspace.", + }), +});