The MT Newswires MCP connector routes your AI agent's tool calls to MT Newswires's own MCP server through Scalekit. Each user signs in to MT Newswires once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 6 tools.
- Tools
- 6
- What they doRead · write · destructive
- 4 · 1 · 14 read1 write1 destructive
- Users sign in with
- OAuth
- OAuth app
- Scalekit's or your own
Setup
Install the SDK
Terminal window npm install @scalekit-sdk/node dotenvTerminal window pip install scalekit-sdk-python python-dotenvSet your credentials
Add your Scalekit credentials to your
.envfile. Find values in app.scalekit.com > Developers > API Credentials..env SCALEKIT_ENVIRONMENT_URL=<your-environment-url>SCALEKIT_CLIENT_ID=<your-client-id>SCALEKIT_CLIENT_SECRET=<your-client-secret>Create the MT Newswires MCP connection
In AgentKit > Connections, create a MT Newswires MCP connection. The name you give it is the
connection_nameyour code passes. See Configure connections.Scalekit credentials are available for MT Newswires MCP server, so you don't need to register an OAuth app.
Authorize a user and make your first call
quickstart.mts import { ScalekitClient } from '@scalekit-sdk/node'import 'dotenv/config'import { createInterface } from 'node:readline/promises'const scalekit = new ScalekitClient(process.env.SCALEKIT_ENVIRONMENT_URL,process.env.SCALEKIT_CLIENT_ID,process.env.SCALEKIT_CLIENT_SECRET,)const actions = scalekit.actionsconst connector = 'mtnewswiresmcp'const identifier = 'user_123'// Generate an authorization link for the userconst { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })console.log('Authorize MT Newswires MCP:', link)const rl = createInterface({ input: process.stdin, output: process.stdout })await rl.question('Press Enter after authorizing...')rl.close()// Make your first callconst result = await actions.executeTool({connector,identifier,toolName: 'mtnewswiresmcp_current_date',toolInput: {},})console.log(result)Terminal window npx tsx quickstart.mtsquickstart.py import osfrom scalekit import ScalekitClientfrom dotenv import load_dotenvload_dotenv()scalekit_client = ScalekitClient(env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),client_id=os.getenv("SCALEKIT_CLIENT_ID"),client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),)actions = scalekit_client.actionsconnection_name = "mtnewswiresmcp"identifier = "user_123"# Generate an authorization link for the userlink_response = actions.get_authorization_link(connection_name=connection_name,identifier=identifier,)print("Authorize MT Newswires MCP:", link_response.link)input("Press Enter after authorizing...")# Make your first callresult = actions.execute_tool(tool_input={},tool_name="mtnewswiresmcp_current_date",connection_name=connection_name,identifier=identifier,)print(result)Terminal window python quickstart.pyEach user signs in once. See Authorize a user for the full flow and statuses.
Tools
Pass the exact name toexecute_toolmtnewswiresmcp_current_dateProvides the current date.Read-onlyCurrent Date
Provides the current date. Use this to ground relative date references (for example "today" or "this week") before searching datasets or fetching data.
Inputs
This tool takes no inputs.
mtnewswiresmcp_fetchRetrieve rows of data from a viaNexus / MT Newswires dataset.Read-onlyFetch Dataset Data
Retrieve rows of data from a viaNexus / MT Newswires dataset. Use the Search tool first to discover the dataset name and its supported parameters, then pass them here. Returns the dataset fields and their values.
Inputs
dataset_namestringrequired- The dataset name to retrieve data from, as returned by the Search tool.
countrystring- Country code for country-keyed datasets that include a {country} path parameter (e.g. "US", "CA", "GB").
endpointstring- The dataset endpoint. Only "data" is supported.one of
datadefaultdata filterstring- Optional filter expression applied to the dataset query.
from_datestring- Start date of a date range (YYYY-MM-DD).
lastinteger- Lookback limit passed to the viaNexus API as the `last` query parameter. Interpretation is dataset-specific (days, bars, records, etc.).
limitinteger- Hard cap on the number of rows returned, applied client-side after the upstream fetch. Use for a deterministic row count (for example last=1, limit=3 on an intraday dataset returns 3 bars).
on_datestring- Retrieve data as of a single date (YYYY-MM-DD).
productstring- The product (workspace) the dataset belongs to.one of
COREEDGEdefaultCORE regionstring- Region code for region-keyed datasets that include a {region} path parameter.
subkeystring- Optional sub-key path parameter for datasets that require one.
symbolsstring- Comma-delimited financial instrument identifiers. Supports symbol, FIGI, ISIN, and LEI (e.g. "MSFT", "AAPL,NVDA", "BBG000BPHFS9", "US5949181045").
to_datestring- End date of a date range (YYYY-MM-DD).
mtnewswiresmcp_get_rulesGet all alert rules associated with the user.Read-onlyGet Rules
Get all alert rules associated with the user. Each rule includes its id, name, dateCreated, isActive, passed, failed, and conditions.
Inputs
This tool takes no inputs.
mtnewswiresmcp_searchSearch the available viaNexus / MT Newswires datasets.Read-onlySearch Datasets
Search the available viaNexus / MT Newswires datasets. Pass an empty query to list every dataset, or a dataset name to find a specific one. Returns each dataset's name, description, path parameters, query parameters, and fields — use these to build a Fetch call.
Inputs
querystring- Dataset name to search for. Use an empty string or omit to return all datasets.
mtnewswiresmcp_create_ruleCreate an alert rule for one or more datasets that sends an email when the conditions are met.WriteCreate Rule
Create an alert rule for one or more datasets that sends an email when the conditions are met. Supports single-dataset and cross-dataset rules, multiple conditions combined with AND/OR logic, and field-to-field comparisons (for example moving-average crossovers).
Inputs
conditionsarrayrequired- List of structured condition objects evaluated by the rule.
condition_typestring- Whether all or any of the conditions must be met for the rule to trigger.one of
allanydefaultall
mtnewswiresmcp_delete_ruleDelete an alert rule by its id.DestructiveDelete Rule
Delete an alert rule by its id. Use the Get Rules tool to find the id of the rule to delete.
- Idempotent
Inputs
idstringrequired- Identifier of the rule to delete, as returned by the Get Rules tool.
No tools match.