diff --git a/packages/gitbook/tests/mcp.test.ts b/packages/gitbook/tests/mcp.test.ts index 3f6cfcfa6..b233a60d3 100644 --- a/packages/gitbook/tests/mcp.test.ts +++ b/packages/gitbook/tests/mcp.test.ts @@ -55,35 +55,6 @@ it( { timeout: 10_000 } ); -it( - 'should record agent feedback through MCP', - async () => { - const client = new Client({ - name: 'test', - version: '1.0.0', - }); - - await client.connect( - new StreamableHTTPClientTransport( - new URL(getContentTestURL('https://gitbook.com/docs/~gitbook/mcp/auth')) - ) - ); - - const response = await client.callTool({ - name: 'sendFeedback', - arguments: { - category: 'content-gap', - content: 'The authentication section does not explain how to rotate API tokens.', - }, - }); - - expect(response.isError).toBeFalsy(); - // @ts-expect-error - response.content is of type unknown - expect(response.content[0]?.text).toContain('Feedback recorded'); - }, - { timeout: 10_000 } -); - it( 'should get a page from another site space through MCP', async () => {