Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
echo "DOTNET_hostBuilder:reloadConfigOnChange=false" >> $GITHUB_ENV
- name: Clean
run: |
dotnet clean ./EtradeMcpNet.sln --configuration Release
dotnet clean ./TradeMcpNet.sln --configuration Release
dotnet nuget locals all --clear
- name: Build
run: dotnet build -c Release
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PropertyGroup>
<Authors>Kerry Jiang</Authors>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RepositoryUrl>https://github.com/kerryjiang/EtradeMcpNet.git</RepositoryUrl>
<RepositoryUrl>https://github.com/kerryjiang/TradeMcpNet.git</RepositoryUrl>
<PackageReadmeFilePath>../../releaseNotes/v$(PackageVersion).md</PackageReadmeFilePath>
</PropertyGroup>
<PropertyGroup Condition="Exists('$(PackageReadmeFilePath)')">
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# EtradeMcpNet
# TradeMcpNet

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
[![.NET](https://img.shields.io/badge/.NET-8.0%20%7C%209.0-purple.svg)](https://dotnet.microsoft.com/)
Expand All @@ -23,14 +23,14 @@ An MCP (Model Context Protocol) server that exposes E*TRADE API operations as to
### As a .NET Global Tool

```bash
dotnet tool install --global EtradeMcpNet.Server
dotnet tool install --global TradeMcpNet.Server
```

### From Source

```bash
git clone https://github.com/kerryjiang/EtradeMcpNet.git
cd EtradeMcpNet
git clone https://github.com/kerryjiang/TradeMcpNet.git
cd TradeMcpNet
dotnet build
```

Expand Down Expand Up @@ -61,7 +61,7 @@ etrade-mcp
### From Source

```bash
cd src/EtradeMcpNet.Server
cd src/TradeMcpNet.Server
dotnet run
```

Expand Down Expand Up @@ -165,14 +165,14 @@ Tools are auto-generated from the E*TRADE OpenAPI specification and include:
## Project Structure

```
EtradeMcpNet/
TradeMcpNet/
├── src/
│ ├── EtradeMcpNet/ # Core library with E*TRADE API definitions
│ ├── TradeMcpNet/ # Core library with E*TRADE API definitions
│ │ └── etrade-api.yaml # E*TRADE OpenAPI specification
│ └── EtradeMcpNet.Server/ # MCP server executable
│ └── TradeMcpNet.Server/ # MCP server executable
├── Directory.Build.props # Shared build properties
├── Directory.Packages.props # Centralized package management
└── EtradeMcpNet.sln # Solution file
└── TradeMcpNet.sln # Solution file
```

## Security Notes
Expand Down
4 changes: 2 additions & 2 deletions EtradeMcpNet.sln → TradeMcpNet.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ VisualStudioVersion = 17.5.2.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{827E0CD3-B72D-47B6-A68D-7590B98EB39B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EtradeMcpNet", "src\EtradeMcpNet\EtradeMcpNet.csproj", "{4DEB3957-B7CB-752C-FFD3-4DCAEAA6FE57}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TradeMcpNet", "src\TradeMcpNet\TradeMcpNet.csproj", "{4DEB3957-B7CB-752C-FFD3-4DCAEAA6FE57}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EtradeMcpNet.Server", "src\EtradeMcpNet.Server\EtradeMcpNet.Server.csproj", "{4DFA73F2-4757-4BE4-B34E-048FF911571B}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TradeMcpNet.Server", "src\TradeMcpNet.Server\TradeMcpNet.Server.csproj", "{4DFA73F2-4757-4BE4-B34E-048FF911571B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
8 changes: 4 additions & 4 deletions releaseNotes/v1.0.0.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# EtradeMcpNet v1.0.0
# TradeMcpNet v1.0.0

Initial release of EtradeMcpNet - an MCP (Model Context Protocol) server for E*TRADE API integration with AI agents.
Initial release of TradeMcpNet - an MCP (Model Context Protocol) server for E*TRADE API integration with AI agents.

## Features

Expand Down Expand Up @@ -36,7 +36,7 @@ Initial release of EtradeMcpNet - an MCP (Model Context Protocol) server for E*T
## Installation

```bash
dotnet tool install --global EtradeMcpNet.Server
dotnet tool install --global TradeMcpNet.Server
```

## Getting Started
Expand All @@ -46,4 +46,4 @@ dotnet tool install --global EtradeMcpNet.Server
3. Use the OAuth tools to authenticate
4. Start interacting with E*TRADE through your AI assistant

For detailed usage instructions, see the [README](https://github.com/kerryjiang/EtradeMcpNet).
For detailed usage instructions, see the [README](https://github.com/kerryjiang/TradeMcpNet).
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using EtradeMcpNet;
using TradeMcpNet;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Add to your Claude Desktop config (`~/Library/Application Support/Claude/claude_
"mcpServers": {
"etrade": {
"command": "dotnet",
"args": ["run", "--project", "/path/to/OpenMcpApi.EtradeMcpServer"],
"args": ["run", "--project", "/path/to/TradeMcpNet.Server"],
"env": {
"ETRADE_CONSUMER_KEY": "your-consumer-key",
"ETRADE_CONSUMER_SECRET": "your-consumer-secret",
Expand Down Expand Up @@ -127,7 +127,7 @@ Tools are auto-generated from the E*TRADE OpenAPI specification (`etrade-api.yam
## Troubleshooting

### "OpenAPI spec file not found"
Ensure the `etrade-api.yaml` file is in the output directory. Check that the OpenMcpApi.Etrade project copies it to the output.
Ensure the `etrade-api.yaml` file is in the output directory. Check that the TradeMcpNet project copies it to the output.

### "E*TRADE API credentials not provided"
Set the `ETRADE_CONSUMER_KEY` and `ETRADE_CONSUMER_SECRET` environment variables.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<!-- Global Tool Configuration -->
<PackAsTool>true</PackAsTool>
<ToolCommandName>etrade-mcp</ToolCommandName>
<PackageId>EtradeMcpNet.Server</PackageId>
<PackageId>TradeMcpNet.Server</PackageId>
</PropertyGroup>

<ItemGroup>
Expand All @@ -19,7 +19,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\EtradeMcpNet\EtradeMcpNet.csproj" />
<ProjectReference Include="..\..\src\TradeMcpNet\TradeMcpNet.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace EtradeMcpNet;
namespace TradeMcpNet;

/// <summary>
/// Configuration settings for the E*TRADE API client
Expand Down Expand Up @@ -40,8 +40,6 @@ public class ETradeConfig
/// </summary>
public string SignatureMethod { get; set; } = "HMAC-SHA1";

/// <summary>
/// Gets the production base URL
/// <summary>
/// Gets the production base URL
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Net.Http.Headers;
using OpenApiMcpNet;

namespace EtradeMcpNet;
namespace TradeMcpNet;

/// <summary>
/// E*TRADE OAuth 1.0a authentication handler.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Text.Json;
using ModelContextProtocol.Server;

namespace EtradeMcpNet;
namespace TradeMcpNet;

/// <summary>
/// Holds the OAuth session state during the authentication flow.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<PackageId>EtradeMcpNet</PackageId>
<PackageId>TradeMcpNet</PackageId>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
File renamed without changes.