Direct add
One command against the hosted server. Best for an individual analyst or a developer trying it today.
cortex mcp add trendsagi https://api.trendsagi.com/mcp --type httpSnowflake Cortex Code
TrendsAGI is a hosted, read-only MCP server you can add to Snowflake Cortex Code — the CoCo CLI, Cortex Code Desktop and CoCo in Snowsight — with one command. Your agent gets measured trend volume, velocity, growth, AI insights and evidence-backed recommendations instead of guessing at demand.
Add it to CoCo
cortex mcp add trendsagi https://api.trendsagi.com/mcp --type httpOr install the plugin
cortex plugin install github:TrendsAGI/TrendsAGI/plugins/trendsagiCortex Code has no public MCP directory to submit to. You configure the server yourself, or you install a plugin that declares it. Neither path needs Snowflake to review anything.
One command against the hosted server. Best for an individual analyst or a developer trying it today.
cortex mcp add trendsagi https://api.trendsagi.com/mcp --type httpShips the MCP server plus a skill that teaches Cortex Code when trend data is the right answer.
cortex plugin install github:TrendsAGI/TrendsAGI/plugins/trendsagiThe whole path is a command, one browser approval and a check in the session. Nothing to deploy, nothing to host, no API key to paste.
cortex mcp list # trendsagi is listed as http
cortex mcp start # connects and reports the tool count
# inside a session
/mcp # shows trendsagi, connected, 13 toolsRun cortex --version, then confirm a Snowflake connection exists in ~/.snowflake/connections.toml (snow connection add creates one). Cortex Code needs the connection even though the TrendsAGI tools are remote.
One command adds TrendsAGI to ~/.snowflake/cortex/mcp.json. Use --type http; the endpoint is Streamable HTTP, not stdio and not legacy SSE.
cortex mcp start connects every configured server and reports connected and failed counts. A healthy entry shows trendsagi with 13 tools.
The first tool call returns 401 with a resource-metadata pointer. Cortex Code registers itself through dynamic client registration, opens your browser, and you approve the connection on the TrendsAGI consent page.
Run /mcp inside a session. You should see trendsagi, its transport, its connection state and its tool count. Toggle it off there without editing any file.
Each connection becomes its own key under Profile > API Keys. Deleting the key disconnects that Cortex Code install immediately.
Put the same entry in ~/.snowflake/cortex/mcp.json to skip the command, or ship it in a connection profile so every user of that profile gets it.
{
"mcpServers": {
"trendsagi": {
"type": "http",
"url": "https://api.trendsagi.com/mcp"
}
}
}Cortex Code expands ${VAR} in every field, and migrates credentials out of the file into the OS keychain on first connection. Never commit a token here.
Add the OAuth block explicitly. Cortex Code reads the authorization server from the server's metadata; the redirect stays on loopback, which TrendsAGI allows.
{
"mcpServers": {
"trendsagi": {
"type": "http",
"url": "https://api.trendsagi.com/mcp",
"oauth": {
"client_name": "Cortex Code",
"redirect_port": 8585,
"scope": "trends:read"
}
}
}
}To reset the credential, run cortex mcp remove trendsagi and add the server again.
Tools are namespaced as mcp__trendsagi__<tool>, so they never collide with a Snowflake tool of the same name.
Plan gating applies inside tools/list: a tool your plan does not include is not advertised, so the agent does not waste a turn on a call that would fail.
Cortex Code has no public MCP marketplace, but it does have administrator controls. These are the five that decide whether TrendsAGI can reach your users.
For the procurement path — pilot, security review, AI Gateway registration and enterprise agreement — see the contact page or email [email protected].
A ranked list with measured volume, velocity and growth.
The trend's 7-day and 30-day series and its direction.
Stored audience segments, sentiment, themes and marketing angles.
Crisis events on plans that include them, before spend scales.
Connect it to paid media
MCP is the read path. Campaign changes stay in the separate ads connectors, behind preview and approval. See the MCP server guide for the full tool list and plan limits.
Direct answers about the Cortex Code connection. The same answers are published as FAQPage structured data so assistants can quote them accurately.
Cortex Code, also called CoCo, is Snowflake's AI coding agent. It runs as a CLI, a desktop app, in Snowsight and inside editors such as VS Code, JetBrains and Neovim. It implements the Model Context Protocol, so any MCP server you add becomes available to the agent in every session.
Run cortex mcp add trendsagi https://api.trendsagi.com/mcp --type http, or add the same entry under mcpServers in ~/.snowflake/cortex/mcp.json. Then run cortex mcp start to connect, and /mcp inside a session to confirm the server and its tool count. Cortex Code stores the configuration in ~/.snowflake/cortex/mcp.json.
Yes. Cortex Code supports stdio, Streamable HTTP and SSE transports. TrendsAGI uses Streamable HTTP at https://api.trendsagi.com/mcp, which is the transport to choose for a hosted service. Use --type http when you add it.
No. Cortex Code supports OAuth for HTTP MCP servers and performs dynamic client registration when no client_id is configured, so the first tool call opens a browser and you approve the connection on the TrendsAGI consent page. If your organisation blocks the browser flow, create a TrendsAGI API key and send it as a Bearer header instead.
Cortex Code Desktop reads the same MCP configuration and discovers administrator-enabled servers automatically. CoCo in Snowsight supports skills but does not browse plugin catalogs, so use the desktop app or the CLI when you want the full TrendsAGI tool surface.
Yes. An administrator can set areUserMcpServersAllowed to false, which disables user and plugin MCP servers entirely, and can restrict allowed endpoint URLs. In those accounts an administrator must add TrendsAGI as a custom MCP server under AI & ML > AI Gateway > MCP & Tools before anyone can connect.
Yes. cortex plugin install github:TrendsAGI/TrendsAGI/plugins/trendsagi installs a plugin that declares the hosted MCP server and a skill describing when to reach for trend data. Plugin-declared servers never overwrite a server you configured yourself, so the direct add always wins.
Yes. Every TrendsAGI MCP tool reads. The agent can list trends, read trajectories, fetch AI insights, review recommendations, inspect a watchlist and run read-only SQL. It cannot change your account, edit a campaign or spend money.
An MCP connection uses the same plan as the rest of the API. Starter is $190 a year after a 7-day free trial and includes 100 API calls a day and one API key. Advantage includes 10,000 calls a day and adds insight search; Scale includes 100,000 and adds crisis events; Enterprise includes 500,000 with custom pricing. Every tool call counts as one request.
One command, one browser approval, read-only trend data for every CoCo session.