MCP Builder

John Doe
Admin

Create New MCP Server

AI-Assisted configuration
3
4
Step 3 of 4: Configure Components

Available Tools

API Fetcher
GET/POST requests
Active
Data Transformer
JSON manipulation
Active
Validator
Input validation
Draft
Add New Tool

AI Assistant

Describe what you need and our AI will help configure your components.

Tool Configuration

// JavaScript function that will be invoked by the AI
async
function
fetchAPI
(
url
,
method
=
'GET'
,
body
=
null
) {
const
options
= {
method
,
headers
: {
'Content-Type'
:
'application/json'
},
};
if
(
body
) {
options
.
body
=
JSON
.
stringify
(
body
);
}
const
response
=
await
fetch
(
url
,
options
);
return
await
response
.
json
();
}
url: string
The API endpoint URL
method?: 'GET' | 'POST' | 'PUT' | 'DELETE'
HTTP method (default: GET)
body?: any
Request payload

AI Assistant

MCP Assistant

I see you're configuring an API Fetcher tool. Would you like me to help optimize this function or suggest additional features?

Can you add error handling to this function?

Made with DeepSite LogoDeepSite - 🧬 Remix