MT Newswires MCP connector
OAuth 2.1/DCRFinanceSearchConnect to the MT Newswires MCP server on viaNexus to search and retrieve real-time, low-latency financial news across equities, fixed income...
MT Newswires MCP connector
-
Install the SDK
Section titled “Install the SDK”Terminal window npm install @scalekit-sdk/nodeTerminal window pip install scalekit -
Set your credentials
Section titled “Set 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> -
Authorize and make your first call
Section titled “Authorize and make your first call”quickstart.ts import { ScalekitClient } from '@scalekit-sdk/node'import 'dotenv/config'const scalekit = new ScalekitClient(process.env.SCALEKIT_ENV_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)process.stdout.write('Press Enter after authorizing...')await new Promise(r => process.stdin.once('data', r))// Make your first callconst result = await actions.executeTool({connector,identifier,toolName: 'mtnewswiresmcp_get_rules',toolInput: {},})console.log(result)quickstart.py import osfrom scalekit.client import ScalekitClientfrom dotenv import load_dotenvload_dotenv()scalekit_client = ScalekitClient(env_url=os.getenv("SCALEKIT_ENV_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_get_rules",connection_name=connection_name,identifier=identifier,)print(result)
What you can do
Section titled “What you can do”Connect this agent connector to let your agent:
- Search records — Search the available viaNexus / MT Newswires datasets
- Get rules — Get all alert rules associated with the user
- Fetch records — Retrieve rows of data from a viaNexus / MT Newswires dataset
- Delete rule — Delete an alert rule by its id
- Date current — Provides the current date
- Create rule — Create an alert rule for one or more datasets that sends an email when the conditions are met
Tool list
Section titled “Tool list”Use the exact tool names from the Tool list below when you call execute_tool. If you’re not sure which name to use, list the tools available for the current user first.
mtnewswiresmcp_create_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).2 params
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).
conditionsarrayrequiredList of structured condition objects evaluated by the rule.condition_typestringoptionalWhether all or any of the conditions must be met for the rule to trigger.mtnewswiresmcp_current_date#Provides the current date. Use this to ground relative date references (for example "today" or "this week") before searching datasets or fetching data.0 params
Provides the current date. Use this to ground relative date references (for example "today" or "this week") before searching datasets or fetching data.
mtnewswiresmcp_delete_rule#Delete an alert rule by its id. Use the Get Rules tool to find the id of the rule to delete.1 param
Delete an alert rule by its id. Use the Get Rules tool to find the id of the rule to delete.
idstringrequiredIdentifier of the rule to delete, as returned by the Get Rules tool.mtnewswiresmcp_fetch#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.13 params
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.
dataset_namestringrequiredThe dataset name to retrieve data from, as returned by the Search tool.countrystringoptionalCountry code for country-keyed datasets that include a {country} path parameter (e.g. "US", "CA", "GB").endpointstringoptionalThe dataset endpoint. Only "data" is supported.filterstringoptionalOptional filter expression applied to the dataset query.from_datestringoptionalStart date of a date range (YYYY-MM-DD).lastintegeroptionalLookback limit passed to the viaNexus API as the `last` query parameter. Interpretation is dataset-specific (days, bars, records, etc.).limitintegeroptionalHard 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_datestringoptionalRetrieve data as of a single date (YYYY-MM-DD).productstringoptionalThe product (workspace) the dataset belongs to.regionstringoptionalRegion code for region-keyed datasets that include a {region} path parameter.subkeystringoptionalOptional sub-key path parameter for datasets that require one.symbolsstringoptionalComma-delimited financial instrument identifiers. Supports symbol, FIGI, ISIN, and LEI (e.g. "MSFT", "AAPL,NVDA", "BBG000BPHFS9", "US5949181045").to_datestringoptionalEnd date of a date range (YYYY-MM-DD).mtnewswiresmcp_get_rules#Get all alert rules associated with the user. Each rule includes its id, name, dateCreated, isActive, passed, failed, and conditions.0 params
Get all alert rules associated with the user. Each rule includes its id, name, dateCreated, isActive, passed, failed, and conditions.
mtnewswiresmcp_search#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.1 param
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.
querystringoptionalDataset name to search for. Use an empty string or omit to return all datasets.