For the complete documentation index, see llms.txt. This page is also available as Markdown.

Using MCP servers

You can create mock MCP servers that can call your mock API endpoints. You can then test an AI agent against the mock MCP server.

To interact with simulation results, Fabricate also provides a set of built-in MCP servers for the simulation content platforms. You publish the built-in MCP servers that you want to use. For example, if your simulation results include Slack messages, then you can publish and use the Slack MCP server.

Creating a mock MCP server

To create a mock MCP server, prompt the Data Agent to create the server. In the prompt, you specify the endpoints that you want to include.

For example, to create an MCP server that supports all of your mock API endpoints:

Create a custom MCP server that can call all of the endpoints.

The agent creates the MCP server and generates the corresponding tools for the supported requests.

Viewing MCP server details

Under API, to display your MCP servers, click MCPs. The link displays the number of MCP servers.

API menu with the MCPs link that displays the number of MCP servers

For each MCP server, the MCPs page includes:

  • A summary description of the MCP server.

  • A list of URLS to connect to the MCP server. Includes:

    • Direct URLs for each version of the project.

    • Sandbox URLs for each version of the project.

  • The list of tools in the MCP server.

MCPs page with the mock MCP servers

Connecting an AI agent to an MCP server

To connect to an MCP server, you point the agent to an MCP server URL, either a project version or a project version sandbox.

The request must include a Fabricate API key as a bearer token in the Authorization header. Make sure that the API key has sufficient permission to perform the tasks that the MCP server supports.

To display the text to copy into your MCP client configuration, click How to authenticate.

Deleting MCP servers and server tools

To delete a specific mock MCP server tool, on the MCPs page, click the Delete option for the tool. Note that for built-in mock MCP servers for simulation results, you cannot delete individual tools.

To delete an entire mock MCP server, click the Delete option for the MCP server.

Last updated

Was this helpful?