@moonbanking/mcp-server 1.2.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/vscode.md ADDED
@@ -0,0 +1,79 @@
1
+ # Moon Banking MCP for VS Code
2
+
3
+ > Connect VS Code (with GitHub Copilot Chat MCP support) to the Moon Banking MCP server.
4
+
5
+ GitHub Copilot's MCP support turns VS Code into a coding agent that can talk to live external data — not just whatever was in its training set. With the Moon Banking MCP plugged in, Copilot can answer questions about specific banks while you code: names, hostnames, country rank, community-rated scores across 14 categories (customer service, fees & pricing, digital experience, crypto friendliness, lending, …), and the user stories behind those scores.
6
+
7
+ Useful when you're integrating with a bank's API, validating hostnames in code, shipping a feature that displays real bank ratings, or just asking *"which banks in Mexico score highest on digital experience?"* in the middle of a session — Copilot will route the question through the MCP server and reply with citable data.
8
+
9
+ Recent versions of VS Code expose MCP servers to GitHub Copilot Chat via an `mcp.json` configuration. Both remote HTTP and stdio transports are supported.
10
+
11
+ ## Recommended: hosted (OAuth)
12
+
13
+ Create `.vscode/mcp.json` in your workspace (or the user-level equivalent) and add:
14
+
15
+ ```json
16
+ {
17
+ "servers": {
18
+ "moonbanking": {
19
+ "type": "http",
20
+ "url": "https://mcp.moonbanking.com/mcp"
21
+ }
22
+ }
23
+ }
24
+ ```
25
+
26
+ Reload the window. The first time Copilot Chat invokes a Moon Banking tool, VS Code will pop a notification asking you to authenticate in your browser. After approval, the connection is reused for the rest of the session.
27
+
28
+ ## Alternative: self-hosted (API key)
29
+
30
+ ```json
31
+ {
32
+ "servers": {
33
+ "moonbanking-mcp": {
34
+ "type": "stdio",
35
+ "command": "npx",
36
+ "args": ["-y", "@moonbanking/mcp-server"],
37
+ "env": {
38
+ "MOON_BANKING_API_KEY": "Bearer mb_sk_..."
39
+ }
40
+ }
41
+ }
42
+ }
43
+ ```
44
+
45
+ ## Verify the connection
46
+
47
+ Open Copilot Chat and ask:
48
+
49
+ > @workspace Using the Moon Banking MCP, find me three banks in France that score highly on digital experience.
50
+
51
+ If the tools are connected, Copilot will reply with tool-call traces visible in the chat view.
52
+
53
+ ## Troubleshooting
54
+
55
+ - **VS Code doesn't see the config.** Confirm you are on a recent version of VS Code (MCP support shipped in late 2025 / 2026). Older versions don't honor `mcp.json`.
56
+ - **Auth never completes.** Make sure VS Code is allowed to open external URLs (`window.openUrl` setting). Corporate proxies may block the OAuth callback.
57
+
58
+
59
+ ## Available tools
60
+
61
+ The Moon Banking MCP server exposes the following tools (identical across every client):
62
+
63
+ - `bank_getByHostname`
64
+ - `bank_get`
65
+ - `bank_getById`
66
+ - `bank_semanticSearch`
67
+ - `bankVote_get`
68
+ - `country_get`
69
+ - `country_getByCountryCode`
70
+ - `story_get`
71
+ - `story_getById`
72
+ - `world_getOverview`
73
+ - `market_get`
74
+ - `market_getById`
75
+ - `stock_get`
76
+ - `stock_getById`
77
+ - `search_get`
78
+
79
+ Full descriptions live on the [main MCP page](./README.md).
package/zed.md ADDED
@@ -0,0 +1,76 @@
1
+ # Moon Banking MCP for Zed
2
+
3
+ > Connect the Zed editor to the Moon Banking MCP server via Context Servers.
4
+
5
+ Zed's AI assistant is fast and stays out of your way — exactly what you want when you're moving through code. Connecting the Moon Banking MCP gives that assistant live access to the Moon Banking dataset: every bank, country, community-rated score across 14 categories (customer service, fees & pricing, digital experience, crypto friendliness, lending, …), vote, and user story. Questions about real banks come back with real data, with no perceptible latency hit on the rest of your workflow.
6
+
7
+ Useful for scaffolding fintech projects, generating realistic test data, or just pulling up *"the five highest-rated business banks in Canada"* or *"which European banks have the best digital experience scores?"* without leaving the editor.
8
+
9
+ Zed exposes MCP servers to its built-in AI assistant as **Context Servers**. Configure them in `~/.config/zed/settings.json` (or **Zed → Settings → Open settings**).
10
+
11
+ ## Recommended: hosted (OAuth)
12
+
13
+ ```json
14
+ {
15
+ "context_servers": {
16
+ "moonbanking": {
17
+ "command": "npx",
18
+ "args": ["-y", "mcp-remote", "https://mcp.moonbanking.com/mcp"]
19
+ }
20
+ }
21
+ }
22
+ ```
23
+
24
+ Zed's Context Servers currently expect a stdio command, so we wrap the hosted endpoint with [`mcp-remote`](https://www.npmjs.com/package/mcp-remote) — a tiny bridge that proxies stdio to remote Streamable HTTP and handles the OAuth flow in a browser tab.
25
+
26
+ After saving, restart Zed. The first request to a Moon Banking tool opens a browser window for sign-in.
27
+
28
+ ## Alternative: self-hosted (API key)
29
+
30
+ ```json
31
+ {
32
+ "context_servers": {
33
+ "moonbanking-mcp": {
34
+ "command": "npx",
35
+ "args": ["-y", "@moonbanking/mcp-server"],
36
+ "env": {
37
+ "MOON_BANKING_API_KEY": "Bearer mb_sk_..."
38
+ }
39
+ }
40
+ }
41
+ }
42
+ ```
43
+
44
+ ## Verify the connection
45
+
46
+ Open the Zed AI panel. The **Context Servers** section in the side panel should list `moonbanking` along with its tool count. Then ask:
47
+
48
+ > Using Moon Banking, what are the most highly-rated banks in Brazil?
49
+
50
+ ## Troubleshooting
51
+
52
+ - **`mcp-remote` is slow on first run.** It downloads on first invocation. Subsequent runs are cached.
53
+ - **Auth never completes.** Confirm that `localhost` is reachable from your browser — `mcp-remote` uses a local callback port (`http://127.0.0.1:6274` by default).
54
+
55
+
56
+ ## Available tools
57
+
58
+ The Moon Banking MCP server exposes the following tools (identical across every client):
59
+
60
+ - `bank_getByHostname`
61
+ - `bank_get`
62
+ - `bank_getById`
63
+ - `bank_semanticSearch`
64
+ - `bankVote_get`
65
+ - `country_get`
66
+ - `country_getByCountryCode`
67
+ - `story_get`
68
+ - `story_getById`
69
+ - `world_getOverview`
70
+ - `market_get`
71
+ - `market_getById`
72
+ - `stock_get`
73
+ - `stock_getById`
74
+ - `search_get`
75
+
76
+ Full descriptions live on the [main MCP page](./README.md).