MCPcopy Index your code
hub / github.com/coder/coder / updateMCPServerConfig

Function updateMCPServerConfig

site/src/api/queries/chats.ts:2025–2031  ·  view source on GitHub ↗
(queryClient: QueryClient)

Source from the content-addressed store, hash-verified

2023};
2024
2025export const updateMCPServerConfig = (queryClient: QueryClient) => ({
2026 mutationFn: ({ id, req }: UpdateMCPServerConfigMutationArgs) =>
2027 API.experimental.updateMCPServerConfig(id, req),
2028 onSuccess: async () => {
2029 await invalidateMCPServerConfigQueries(queryClient);
2030 },
2031});
2032
2033export const deleteMCPServerConfig = (queryClient: QueryClient) => ({
2034 mutationFn: (id: string) => API.experimental.deleteMCPServerConfig(id),

Callers 1

Calls 2

updateMCPServerConfigMethod · 0.80

Tested by

no test coverage detected