Skip to main content
This guide walks you through creating an MCP server, writing a tool, testing it in the dashboard, and connecting it to an AI client.

Prerequisites

  • An MCPCore account, sign up free, no credit card required
  • That’s it. No local installs needed.

Step 1: Create a server

1

Open the dashboard

Go to app.mcpcore.io and navigate to My Servers.
2

Click Create Server

Click Create Server in the top-right corner. A short wizard walks you through five steps:
  • Basics: a title (e.g. GitHub Tools)
  • Category: what the server does
  • Domain: your server’s URL prefix (e.g. github-tools)
  • Security: start with Public for now, you can change it later
  • Review: check everything and click Create
3

Continue to your first tool

The success screen shows your endpoint URL. Click Create your first tool and choose Write code to follow this guide, or Build a workflow to build the tool without code.

Step 2: Write a tool

1

Open the code editor

If you skipped the success screen, open the server detail page, click Create New Tool in the Tools section and choose Write code.
2

Name your tool

Give your tool a name. Tool names become part of the MCP schema the AI sees, so use lowercase snake_case (e.g. fetch_repo_stats).
3

Add a parameter

Click Add parameter and add:
  • Name: repo
  • Type: string
  • Description: GitHub repository in owner/repo format
  • Required: yes
4

Write the code

Paste the following into the code editor:
5

Save the tool

Click Save. The tool is now part of your server.

Step 3: Test it

1

Open the Run panel

With the tool selected, click the Run tab (or the play button in the editor toolbar).
2

Enter a parameter value

In the repo field, enter a real repository name, e.g. mcpcoreio/docs.
3

Click Run

Click Run tool. The response panel shows the JSON output within a second or two.

Step 4: Connect to an AI client

Copy the Endpoint URL from the server detail page and add it to your AI client:

Claude Desktop

Add MCPCore to your claude_desktop_config.json.

Cursor

Add MCPCore via Cursor’s MCP settings panel.

Windsurf

Configure MCPCore in Windsurf’s MCP config file.

Any MCP client

Any client that supports the MCP spec works out of the box.

What’s next?

Add secrets

Store API keys and reference them as env.MY_KEY, never hardcode credentials.

Change security mode

Lock your server behind API Key or OAuth 2.0 before going to production.

Query a database

Use sdk.db() to connect to PostgreSQL, MySQL, or SQL Server.

Monitor traffic

See every request your server receives and how fast it responded.