different-ai/openwork · error
Plugin MCP setup response was incomplete.
Error message
Plugin MCP setup response was incomplete.
What it means
Error "Plugin MCP setup response was incomplete." thrown in different-ai/openwork.
Source
Thrown at ee/apps/den-web/app/(den)/dashboard/_components/marketplace-data.tsx:360
apiKey?: string;
oauthClient?: {
clientId: string;
clientSecret?: string;
};
};
export type ConfiguredPluginMcpConnection = {
connectionId: string;
yourConnectionsUrl: string | null;
};
function parseConfiguredPluginMcpConnection(payload: unknown): ConfiguredPluginMcpConnection {
const item = isRecord(payload) && isRecord(payload.item) ? payload.item : null;
const connection = item && isRecord(item.connection) ? item.connection : null;
const links = item && isRecord(item.links) ? item.links : null;
const connectionId = connection ? asString(connection.id) : null;
if (!connectionId) {
throw new Error("Plugin MCP setup response was incomplete.");
}
return {
connectionId,
yourConnectionsUrl: links ? asString(links.yourConnections) : null,
};
}
export function useConfigurePluginMcpConnection() {
const queryClient = useQueryClient();
const { runReauthableAction } = useOrgDashboard();
return useMutation({
mutationFn: async (input: ConfigurePluginMcpConnectionInput): Promise<ConfiguredPluginMcpConnection> => {
let configured: ConfiguredPluginMcpConnection | null = null;
await runReauthableAction("configure-plugin-mcp-connection", async () => {
const { response, payload } = await requestJson(
`/v1/plugins/${encodeURIComponent(input.pluginId)}/mcp-connections`,
{View on GitHub (pinned to 2b7df46e8a)
When it happens
Trigger: Thrown at ee/apps/den-web/app/(den)/dashboard/_components/marketplace-data.tsx:360 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of different-ai/openwork@2b7df46e8a (2026-09-01).
Data as JSON: /api/errors/3a79a3c09764de97.
Report an issue: GitHub.