Skip to content

Commit d16d6b3

Browse files
authored
Merge pull request #21 from nearai/general_fixes
General fixes
2 parents ecfe17f + 9bfbfda commit d16d6b3

4 files changed

Lines changed: 16 additions & 26 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @nearai/near-mcp
22

3+
## 0.0.33
4+
5+
### Patch Changes
6+
7+
- General fixes
8+
39
## 0.0.32
410

511
### Patch Changes

TOOLS.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,17 @@
9191
}
9292
},
9393
{
94-
"name": "system_search_popular_fungible_token_contracts",
95-
"description": "\nSearch for popular fungible token contract information on the NEAR blockchain, with a grep-like search.\nUse this tool to search for popular fungible token contract information. This tool works by 'grepping'\nthrough a list of contract information JSON objects. Useful for getting contract information about popular\ntokens like USDC native, USDT, WNEAR, and more.",
94+
"name": "system_search_fungible_token_contracts_info",
95+
"description": "\nSearch for fungible token contract information on the NEAR blockchain, with a grep-like search.\nUse this tool to search for fungible token contract information. This tool works by 'grepping'\nthrough a list of contract information JSON objects. Be careful with this tool, it can return a lot of results.\nIf used too much, it could overwhelm the API and cause issues.",
9696
"args": {
97-
"searchPattern": {
97+
"searchTerm": {
9898
"type": "string",
99-
"description": "The grep search pattern to use for filtering popular fungible token contract information."
99+
"description": "The search term to use for finding fungible token contract information."
100+
},
101+
"maxNumberOfResults": {
102+
"type": "number",
103+
"default": 3,
104+
"description": "The maximum number of results to return. This is a limit to the number of results returned by the API. Keep this number low to avoid overwhelming the API."
100105
}
101106
}
102107
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nearai/near-mcp",
3-
"version": "0.0.32",
3+
"version": "0.0.33",
44
"description": "MCP server for interacting with Near Blockchain",
55
"homepage": "https://github.com/near-ai/near-mcp",
66
"repository": {

src/services.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1806,27 +1806,6 @@ export const createMcpServer = async (keyDir: string) => {
18061806
args: z
18071807
.record(z.string(), z.any())
18081808
.describe('The arguments to pass to the method.'),
1809-
jsonQuery: z
1810-
.string()
1811-
.optional()
1812-
.describe('The json query to post process.'),
1813-
outputFile: z
1814-
.string()
1815-
.optional()
1816-
.describe('The file to write the output to.'),
1817-
chainingCall: z
1818-
.object({
1819-
nextMCPServer: z
1820-
.string()
1821-
.optional()
1822-
.describe('The next MCP server to call.'),
1823-
args: z
1824-
.any()
1825-
.optional()
1826-
.describe('The arguments to pass to the next MCP server.'),
1827-
})
1828-
.optional()
1829-
.describe('The contract to call after the current contract.'),
18301809
},
18311810
async (args, _) => {
18321811
const connection = await connect({

0 commit comments

Comments
 (0)