UniFuncs MCP Server provides a Model Context Protocol (MCP) interface for accessing the UniFuncs API, allowing you to easily integrate UniFuncs capabilities into applications that support the MCP standard.
The UniFuncs MCP Server can be run directly using NPX without requiring a permanent installation. You'll need an API key from UniFuncs to authenticate your requests.
Before using the server, you'll need to obtain an API key from UniFuncs:
The UniFuncs MCP Server can be configured in your MCP client's configuration file. Add the following configuration to your MCP client's JSON configuration:
{
"mcpServers": {
"unifuncs": {
"command": "npx",
"args": [
"-y",
"@unifuncs/ufn-mcp-server"
],
"env": {
"UNIFUNCS_API_KEY": "sk-**********"
}
}
}
}
Make sure to replace "sk-**********"
with your actual UniFuncs API key.
Once configured, your MCP client will be able to communicate with UniFuncs API through the MCP server. The server handles all the communication between your MCP client and the UniFuncs API.
The server will be automatically started by your MCP client when needed, based on the configuration you've provided.
The UniFuncs MCP Server provides access to all models and functions available on the UniFuncs platform. Your MCP client will be able to discover these capabilities through the MCP protocol.
If you encounter issues with the MCP server:
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.