# Getting errors for authentication when trying to install MCP

**URL:** <https://community.directus.com/t/getting-errors-for-authentication-when-trying-to-install-mcp/538>\
**Category:** Help\
**Tags:** authentication, api\
**Created:** [June 11, 2025, 6:32pm UTC](https://community.directus.com/t/getting-errors-for-authentication-when-trying-to-install-mcp/538 "2025-06-11T18:32:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DonGriffinJr](https://sea2.discourse-cdn.com/flex002/user_avatar/community.directus.com/dongriffinjr/32/470_2.png) [@DonGriffinJr](https://community.directus.com/u/DonGriffinJr)\
**Post date:** [June 11, 2025, 6:32pm UTC](https://community.directus.com/t/getting-errors-for-authentication-when-trying-to-install-mcp/538/1 "2025-06-11T18:32:48Z")

</div>

I have recently tried to connect my first API, I got the token from my administration settings and when i installed the MCP it failed due to authentication permission failing. Am I going to the wrong section? What is the best way to connect.

---

<div class="post-metadata">

**Author:** ![bryantgillespie](https://sea2.discourse-cdn.com/flex002/user_avatar/community.directus.com/bryantgillespie/32/33_2.png) [@bryantgillespie](https://community.directus.com/u/bryantgillespie)\
**Post date:** [June 12, 2025, 6:00pm UTC](https://community.directus.com/t/getting-errors-for-authentication-when-trying-to-install-mcp/538/2 "2025-06-12T18:00:23Z")

</div>

In what tool are you trying to connect with? Cursor? Claude? Raycast? Something else?

[Have you followed the guides here?](https://directus.io/docs/guides/ai/mcp)
