Skip to content

Commit 231e955

Browse files
committed
docs: move MCP integration section above HMAC security in README
1 parent c3ce23d commit 231e955

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,22 @@ const data = await response.json();
109109
console.log(data.result.text); // "Hello, Sarah! 👋"
110110
```
111111

112+
## 🔗 MCP Integration
113+
114+
Connect automatically to MCP servers:
115+
116+
```javascript
117+
const tools = await tool.build(
118+
[
119+
{
120+
type: 'remote',
121+
serverUrl: 'http://localhost:3000', // MCP Server
122+
},
123+
],
124+
{ logger }
125+
);
126+
```
127+
112128
## 🔐 HMAC Security
113129

114130
Secure your agent endpoints with enterprise-grade HMAC authentication. Perfect for production APIs that need to verify client identity and request integrity.
@@ -238,22 +254,6 @@ export OPENROUTER_API_KEY="your-key-here"
238254
node examples/hello.js
239255
```
240256

241-
## 🔗 MCP Integration
242-
243-
Connect automatically to MCP servers:
244-
245-
```javascript
246-
const tools = await tool.build(
247-
[
248-
{
249-
type: 'remote',
250-
serverUrl: 'http://localhost:3000', // MCP Server
251-
},
252-
],
253-
{ logger }
254-
);
255-
```
256-
257257
## 🔗 Resources
258258

259259
- **[OpenRouter](https://openrouter.ai/docs/quickstart)** - Unified API for multiple LLM providers

0 commit comments

Comments
 (0)