Disable Scalar MCP prompt
This commit is contained in:
@@ -112,6 +112,13 @@ return [
|
||||
*/
|
||||
'hideTestRequestButton' => true,
|
||||
|
||||
/**
|
||||
* MCP will be introduced as a first-party KanbanGit feature later.
|
||||
*/
|
||||
'mcp' => [
|
||||
'disabled' => true,
|
||||
],
|
||||
|
||||
/**
|
||||
* Whether to show the sidebar search bar
|
||||
*/
|
||||
|
||||
@@ -9,7 +9,8 @@ class PublicApiDocumentationTest extends TestCase
|
||||
public function test_scalar_api_docs_are_public(): void
|
||||
{
|
||||
$this->get('/api/docs')
|
||||
->assertOk();
|
||||
->assertOk()
|
||||
->assertSee('"mcp":{"disabled":true}', false);
|
||||
}
|
||||
|
||||
public function test_openapi_document_is_publicly_served(): void
|
||||
|
||||
Reference in New Issue
Block a user